[PATCH 0/1] ubifs: support authentication without hmac
Torben Hohn
torben.hohn at linutronix.de
Thu Jun 25 11:59:26 EDT 2020
This patch adds support for ubifs authentication without HMAC,
which obviously only works for a read-only mount.
ubiblock and dm-verity are not supported by u-boot, and
the kernel on the target is loaded by u-boot out of the RFS.
This is a first try to implement this.
It boots fine, and the WARN_ON is not triggered.
I plan to update the docs also, but i would like to have
some positive comments on this before.
Torben Hohn (1):
ubifs: support authentication, for ro mount, when no key is given
fs/ubifs/auth.c | 69 ++++++++++++++++++++++++++++++++++++++++++----
fs/ubifs/gc.c | 2 +-
fs/ubifs/journal.c | 12 ++++----
fs/ubifs/lpt.c | 4 +--
fs/ubifs/master.c | 2 +-
fs/ubifs/replay.c | 2 +-
fs/ubifs/sb.c | 16 +++++++----
fs/ubifs/super.c | 21 ++++++++++----
fs/ubifs/ubifs.h | 48 +++++++++++++++++++++-----------
9 files changed, 133 insertions(+), 43 deletions(-)
--
2.20.1
More information about the linux-mtd
mailing list