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