diff options
| -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 |
