OSDN Git Service

ext4 crypto: require CONFIG_CRYPTO_CTR if ext4 encryption is enabled
authorTheodore Ts'o <tytso@mit.edu>
Sun, 31 May 2015 17:31:37 +0000 (13:31 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 31 May 2015 17:31:37 +0000 (13:31 -0400)
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>
fs/ext4/Kconfig

index 024f228..bf8bc8a 100644 (file)
@@ -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