summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-04-11 07:46:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-04-11 07:46:47 -0400
commitb17655fb7f4a1d27c1e50dcc28268612da944a54 (patch)
tree0ae6603898a97f7dc0e80fe43a2c3ba0858b3c0c /fs
parentf542fbe8d5e842ed4e9ad6ccc6c2913407451c51 (diff)
downloadop-kernel-dev-b17655fb7f4a1d27c1e50dcc28268612da944a54.zip
op-kernel-dev-b17655fb7f4a1d27c1e50dcc28268612da944a54.tar.gz
ext4 crypto: add ext4 encryption Kconfig
Signed-off-by: Michael Halcrow <mhalcrow@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext4/Kconfig17
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index efea5d5..18228c2 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -64,6 +64,23 @@ config EXT4_FS_SECURITY
If you are not using a security module that requires using
extended attributes for file security labels, say N.
+config EXT4_FS_ENCRYPTION
+ bool "Ext4 Encryption"
+ depends on EXT4_FS
+ select CRYPTO_AES
+ select CRYPTO_CBC
+ select CRYPTO_ECB
+ select CRYPTO_XTS
+ select CRYPTO_CTS
+ select CRYPTO_SHA256
+ select KEYS
+ select ENCRYPTED_KEYS
+ help
+ Enable encryption of ext4 files and directories. This
+ feature is similar to ecryptfs, but it is more memory
+ efficient since it avoids caching the encrypted and
+ decrypted pages in the page cache.
+
config EXT4_DEBUG
bool "EXT4 debugging support"
depends on EXT4_FS
OpenPOWER on IntegriCloud