ubifs: Enable authentication support
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 7 Sep 2018 12:36:45 +0000 (14:36 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 23 Oct 2018 11:49:01 +0000 (13:49 +0200)
commitd8a22773a12c6d78ee758c9e530f3a488bb7cb29
tree0c294033e71684c115bd30677155c3c1533751e3
parent1e76592f2c3208ac635c2758aa8326d82fa64a72
ubifs: Enable authentication support

With the preparations all being done this patch now enables authentication
support for UBIFS. Authentication is enabled when the newly introduced
auth_key and auth_hash_name mount options are passed. auth_key provides
the key which is used for authentication whereas auth_hash_name provides
the hashing algorithm used for this FS. Passing these options make
authentication mandatory and only UBIFS images that can be authenticated
with the given key are allowed.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
Documentation/filesystems/ubifs.txt
fs/ubifs/Kconfig
fs/ubifs/super.c