Skip to content

Commit 12cb3a1

Browse files
mbrozherbertx
authored andcommitted
crypto: xts - Add ECB dependency
Since the commit f1c131b 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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 15c0b9e commit 12cb3a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ config CRYPTO_XTS
375375
select CRYPTO_BLKCIPHER
376376
select CRYPTO_MANAGER
377377
select CRYPTO_GF128MUL
378+
select CRYPTO_ECB
378379
help
379380
XTS: IEEE1619/D16 narrow block cipher use with aes-xts-plain,
380381
key size 256, 384 or 512 bits. This implementation currently

0 commit comments

Comments
 (0)