aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@google.com>2015-05-12 11:22:10 -0400
committerMister Oyster <oysterized@gmail.com>2017-05-27 19:40:03 +0200
commita274d938a8d4d24880b2007ed816693916e16cdb (patch)
treeb13435b3c3ed96be779bde8f2d0c5b86aa587399
parent09e4a84d2ffc3270a5020e1d92d91aebd6d543d2 (diff)
downloadandroid_kernel_m2note-a274d938a8d4d24880b2007ed816693916e16cdb.tar.gz
ext4 crypto: require CONFIG_CRYPTO_CTR if ext4 encryption is enabled
On arm64 this is apparently needed for CTS mode to function correctly. Otherwise attempts to use CTS return ENOENT. Change-Id: I3f597f5f88e806dbeed75a7123c3d6bb7e608350 Signed-off-by: Theodore Ts'o <tytso@mit.edu> Signed-off-by: "Theodore Ts'o" <tytso@google.com>
-rw-r--r--fs/ext4/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index 18228c201..af1a90a8b 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -72,6 +72,7 @@ config EXT4_FS_ENCRYPTION
select CRYPTO_ECB
select CRYPTO_XTS
select CRYPTO_CTS
+ select CRYPTO_CTR
select CRYPTO_SHA256
select KEYS
select ENCRYPTED_KEYS