浏览代码

crypto: xts - Add ECB dependency

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>
Milan Broz 8 年之前
父节点
当前提交
12cb3a1c41
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      crypto/Kconfig

+ 1 - 0
crypto/Kconfig

@@ -375,6 +375,7 @@ config CRYPTO_XTS
 	select CRYPTO_BLKCIPHER
 	select CRYPTO_BLKCIPHER
 	select CRYPTO_MANAGER
 	select CRYPTO_MANAGER
 	select CRYPTO_GF128MUL
 	select CRYPTO_GF128MUL
+	select CRYPTO_ECB
 	help
 	help
 	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
 	  XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
 	  key size 256, 384 or 512 bits. This implementation currently
 	  key size 256, 384 or 512 bits. This implementation currently