crypto: xts - Add ECB dependency
authorMilan Broz <gmazyland@gmail.com>
Thu, 23 Feb 2017 07:38:26 +0000 (08:38 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 23 Feb 2017 12:11:06 +0000 (20:11 +0800)
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>
crypto/Kconfig

index 5a51b877277e203a34f00210f07bc5302e7ae71b..f37e9cca50e19957762ea50adfb1fc3fde4b7429 100644 (file)
@@ -375,6 +375,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