summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2015-05-31 13:31:37 -0400
committerTheodore Ts'o <tytso@mit.edu>2015-05-31 13:31:37 -0400
commit71dea01ea2edb73f3c5d9a0cd7ba028bb9313287 (patch)
tree43a8c11424bd513e332f5f73fd89594e989c8adc /fs/ext4
parent614def7013574ffcd54019b6df40ac1c0df754af (diff)
downloadlinux-71dea01ea2edb73f3c5d9a0cd7ba028bb9313287.tar.gz
linux-71dea01ea2edb73f3c5d9a0cd7ba028bb9313287.tar.bz2
linux-71dea01ea2edb73f3c5d9a0cd7ba028bb9313287.zip
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: I732ea9a5157acc76de5b89edec195d0365f4ca63 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/Kconfig b/fs/ext4/Kconfig
index 024f2284d3f6..bf8bc8aba471 100644
--- a/fs/ext4/Kconfig
+++ b/fs/ext4/Kconfig
@@ -72,6 +72,7 @@ config EXT4_ENCRYPTION
select CRYPTO_ECB
select CRYPTO_XTS
select CRYPTO_CTS
+ select CRYPTO_CTR
select CRYPTO_SHA256
select KEYS
select ENCRYPTED_KEYS