aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-09-07 14:36:32 +0200
committerRichard Weinberger <richard@nod.at>2018-10-23 13:48:33 +0200
commit49525e5eecca5e1b4a83ac217868e8d8b843539f (patch)
treea1cee88ca08fdff9ef51362365e4b3185d3d7f59 /fs/ubifs/Makefile
parentubifs: Add separate functions to init/crc a node (diff)
downloadlinux-dev-49525e5eecca5e1b4a83ac217868e8d8b843539f.tar.xz
linux-dev-49525e5eecca5e1b4a83ac217868e8d8b843539f.zip
ubifs: Add helper functions for authentication support
This patch adds the various helper functions needed for authentication support. We need functions to hash nodes, to embed HMACs into a node and to compare hashes and HMACs. Most functions first check if this filesystem is authenticated and bail out early if not, which makes the functions safe to be called with disabled authentication. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/Makefile')
-rw-r--r--fs/ubifs/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile
index 6197d7e539e4..5f838319c8d5 100644
--- a/fs/ubifs/Makefile
+++ b/fs/ubifs/Makefile
@@ -8,3 +8,4 @@ ubifs-y += recovery.o ioctl.o lpt_commit.o tnc_misc.o debug.o
ubifs-y += misc.o
ubifs-$(CONFIG_UBIFS_FS_ENCRYPTION) += crypto.o
ubifs-$(CONFIG_UBIFS_FS_XATTR) += xattr.o
+ubifs-$(CONFIG_UBIFS_FS_AUTHENTICATION) += auth.o