diff options
author | Theodore Ts'o <tytso@mit.edu> | 2015-04-11 07:46:47 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2015-04-11 07:46:47 -0400 |
commit | b17655fb7f4a1d27c1e50dcc28268612da944a54 (patch) | |
tree | 0ae6603898a97f7dc0e80fe43a2c3ba0858b3c0c /fs/ext4 | |
parent | f542fbe8d5e842ed4e9ad6ccc6c2913407451c51 (diff) |
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/ext4')
-rw-r--r-- | fs/ext4/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig index efea5d5c44ce..18228c201f7f 100644 --- a/fs/ext4/Kconfig +++ b/fs/ext4/Kconfig | |||
@@ -64,6 +64,23 @@ config EXT4_FS_SECURITY | |||
64 | If you are not using a security module that requires using | 64 | If you are not using a security module that requires using |
65 | extended attributes for file security labels, say N. | 65 | extended attributes for file security labels, say N. |
66 | 66 | ||
67 | config EXT4_FS_ENCRYPTION | ||
68 | bool "Ext4 Encryption" | ||
69 | depends on EXT4_FS | ||
70 | select CRYPTO_AES | ||
71 | select CRYPTO_CBC | ||
72 | select CRYPTO_ECB | ||
73 | select CRYPTO_XTS | ||
74 | select CRYPTO_CTS | ||
75 | select CRYPTO_SHA256 | ||
76 | select KEYS | ||
77 | select ENCRYPTED_KEYS | ||
78 | help | ||
79 | Enable encryption of ext4 files and directories. This | ||
80 | feature is similar to ecryptfs, but it is more memory | ||
81 | efficient since it avoids caching the encrypted and | ||
82 | decrypted pages in the page cache. | ||
83 | |||
67 | config EXT4_DEBUG | 84 | config EXT4_DEBUG |
68 | bool "EXT4 debugging support" | 85 | bool "EXT4 debugging support" |
69 | depends on EXT4_FS | 86 | depends on EXT4_FS |