diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2015-04-12 23:50:45 -0400 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-05-27 19:39:55 +0200 |
| commit | 026d92fbad5834e87ef67473f79bc20632d932ba (patch) | |
| tree | eca56dbabf57f69a298d3d1aac8b0e9e2057ab8d | |
| parent | 9fa580514b818af2ca81560ef1b4c8e31bf57447 (diff) | |
ext4 crypto: add ext4 encryption Kconfig
Change-Id: I343b76ce9c2a2f5cd887db3f0ff2c9dee329c15f
Signed-off-by: Michael Halcrow <mhalcrow@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Theodore Ts'o <tytso@google.com>
| -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 efea5d5c4..18228c201 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 |
