1 ext4 crypto: add ext4 encryption Kconfig
3 From: Theodore Ts'o <tytso@mit.edu>
5 Signed-off-by: Michael Halcrow <mhalcrow@google.com>
6 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
8 fs/ext4/Kconfig | 17 +++++++++++++++++
9 1 file changed, 17 insertions(+)
11 diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
12 index efea5d5..18228c2 100644
15 @@ -64,6 +64,23 @@ config EXT4_FS_SECURITY
16 If you are not using a security module that requires using
17 extended attributes for file security labels, say N.
19 +config EXT4_FS_ENCRYPTION
20 + bool "Ext4 Encryption"
27 + select CRYPTO_SHA256
29 + select ENCRYPTED_KEYS
31 + Enable encryption of ext4 files and directories. This
32 + feature is similar to ecryptfs, but it is more memory
33 + efficient since it avoids caching the encrypted and
34 + decrypted pages in the page cache.
37 bool "EXT4 debugging support"