summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorMilan Broz <gmazyland@gmail.com>2017-02-23 08:38:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-12 06:44:14 +0100
commit0c2f646b90b7304cf96ad906272a080a62c48777 (patch)
tree0500cc0873e98c106a9ccddcb3b919deba6391f3 /crypto
parent0fd8c1cb80a1403aab4f36de85804c44666a486d (diff)
downloadlinux-0c2f646b90b7304cf96ad906272a080a62c48777.tar.gz
linux-0c2f646b90b7304cf96ad906272a080a62c48777.tar.bz2
linux-0c2f646b90b7304cf96ad906272a080a62c48777.zip
crypto: xts - Add ECB dependency
commit 12cb3a1c4184f891d965d1f39f8cfcc9ef617647 upstream. Since the commit f1c131b45410a202eb45cc55980a7a9e4e4b4f40 crypto: xts - Convert to skcipher the XTS mode is based on ECB, so the mode must select ECB otherwise it can fail to initialize. Signed-off-by: Milan Broz <gmazyland@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 160f08e721cc..9c245eb0dd83 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -374,6 +374,7 @@ config CRYPTO_XTS
select CRYPTO_BLKCIPHER
select CRYPTO_MANAGER
select CRYPTO_GF128MUL
+ select CRYPTO_ECB
help
XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
key size 256, 384 or 512 bits. This implementation currently