ubifs: authentication: Authenticate super block node
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 7 Sep 2018 12:36:42 +0000 (14:36 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 23 Oct 2018 11:48:57 +0000 (13:48 +0200)
commite158e02ff70038936d374928a5484f16daa4c7d4
tree6beb5d3cf0a63ba26ec63f110bcb64cb5acbdfd5
parentb5b1f08369222394540fb4b3b947fe26a2557d1d
ubifs: authentication: Authenticate super block node

This adds a HMAC covering the super block node and adds the logic that
decides if a filesystem shall be mounted unauthenticated or
authenticated.

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