Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e8b0597 authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Mohamad Ayyash
Browse files

ext4 crypto: add ext4 encryption Kconfig



Change-Id: I784c5f57f031981e5d28796921f5e587d4f72422
Signed-off-by: default avatarMichael Halcrow <mhalcrow@google.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@google.com>
parent 31fe70ea
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -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