linux/fs/ubifs
Sascha Hauer a384b47e49 ubifs: Create functions to embed a HMAC in a node
With authentication support some nodes (master node, super block node)
get a HMAC embedded into them. This patch adds functions to prepare and
write such a node.
The difficulty is that besides the HMAC the nodes also have a CRC which
must stay valid. This means we first have to initialize all fields in
the node, then calculate the HMAC (not covering the CRC) and finally
calculate the CRC.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Richard Weinberger <richard@nod.at>
2018-10-23 13:48:37 +02:00
..
auth.c ubifs: Add helper functions for authentication support 2018-10-23 13:48:33 +02:00
budget.c
commit.c
compress.c
crypto.c
debug.c
debug.h
dir.c
file.c
find.c
gc.c
io.c ubifs: Create functions to embed a HMAC in a node 2018-10-23 13:48:37 +02:00
ioctl.c
journal.c
Kconfig ubifs: Add helper functions for authentication support 2018-10-23 13:48:33 +02:00
key.h
log.c
lprops.c
lpt.c
lpt_commit.c
Makefile ubifs: Add helper functions for authentication support 2018-10-23 13:48:33 +02:00
master.c
misc.c
misc.h
orphan.c
recovery.c
replay.c
sb.c
scan.c
shrinker.c
super.c
tnc.c
tnc_commit.c
tnc_misc.c
ubifs-media.h
ubifs.h ubifs: Create functions to embed a HMAC in a node 2018-10-23 13:48:37 +02:00
xattr.c