summaryrefslogtreecommitdiffstats
path: root/fs/crypto/Makefile
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-08-04 19:35:45 -0700
committerEric Biggers <ebiggers@google.com>2019-08-12 19:06:00 -0700
commit0109ce76dd6e9e69559e56ea9f10d1e12ca4a50b (patch)
tree504055ee412377cd59284a1da771f7e085085bbe /fs/crypto/Makefile
parent3ec4f2a62927c72607db633f55b0489e3d5b8e48 (diff)
downloadlinux-0109ce76dd6e9e69559e56ea9f10d1e12ca4a50b.tar.bz2
fscrypt: move v1 policy key setup to keysetup_v1.c
In preparation for introducing v2 encryption policies which will find and derive encryption keys differently from the current v1 encryption policies, move the v1 policy-specific key setup code from keyinfo.c into keysetup_v1.c. Reviewed-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/crypto/Makefile')
-rw-r--r--fs/crypto/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/crypto/Makefile b/fs/crypto/Makefile
index 4f0df5e682e4..1fba255c34ca 100644
--- a/fs/crypto/Makefile
+++ b/fs/crypto/Makefile
@@ -1,5 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_FS_ENCRYPTION) += fscrypto.o
-fscrypto-y := crypto.o fname.o hooks.o keyinfo.o policy.o
+fscrypto-y := crypto.o \
+ fname.o \
+ hooks.o \
+ keyinfo.o \
+ keysetup_v1.o \
+ policy.o
+
fscrypto-$(CONFIG_BLOCK) += bio.o