summaryrefslogtreecommitdiffstats
path: root/fs/namei.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-09-07 14:36:33 +0200
committerRichard Weinberger <richard@nod.at>2018-10-23 13:48:37 +0200
commita384b47e4954a0f834749fcbe1c096c40ff5eb35 (patch)
tree512ccd678b77a62ad99a674e309204437fa5bf04 /fs/namei.c
parent49525e5eecca5e1b4a83ac217868e8d8b843539f (diff)
downloadlinux-a384b47e4954a0f834749fcbe1c096c40ff5eb35.tar.bz2
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>
Diffstat (limited to 'fs/namei.c')
0 files changed, 0 insertions, 0 deletions