diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-09-07 14:36:32 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2018-10-23 13:48:33 +0200 |
commit | 49525e5eecca5e1b4a83ac217868e8d8b843539f (patch) | |
tree | a1cee88ca08fdff9ef51362365e4b3185d3d7f59 /fs/ubifs/Makefile | |
parent | dead97266f1034d1cabd9a50641163d909559816 (diff) | |
download | linux-stable-49525e5eecca5e1b4a83ac217868e8d8b843539f.tar.gz linux-stable-49525e5eecca5e1b4a83ac217868e8d8b843539f.tar.bz2 linux-stable-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/Makefile | 1 |
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 |