Commit 84534684 authored by Herbert Xu's avatar Herbert Xu

crypto: skcipher - Add dependency on ecb

As lskcipher requires the ecb wrapper for the transition add an
explicit dependency on it so that it is always present.  This can
be removed once all simple ciphers have been converted to lskcipher.
Reported-by: default avatarNathan Chancellor <nathan@kernel.org>
Fixes: 705b52fe ("crypto: cbc - Convert from skcipher to lskcipher")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Tested-by: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4999999e
...@@ -85,6 +85,7 @@ config CRYPTO_SKCIPHER ...@@ -85,6 +85,7 @@ config CRYPTO_SKCIPHER
tristate tristate
select CRYPTO_SKCIPHER2 select CRYPTO_SKCIPHER2
select CRYPTO_ALGAPI select CRYPTO_ALGAPI
select CRYPTO_ECB
config CRYPTO_SKCIPHER2 config CRYPTO_SKCIPHER2
tristate tristate
...@@ -689,7 +690,7 @@ config CRYPTO_CTS ...@@ -689,7 +690,7 @@ config CRYPTO_CTS
config CRYPTO_ECB config CRYPTO_ECB
tristate "ECB (Electronic Codebook)" tristate "ECB (Electronic Codebook)"
select CRYPTO_SKCIPHER select CRYPTO_SKCIPHER2
select CRYPTO_MANAGER select CRYPTO_MANAGER
help help
ECB (Electronic Codebook) mode (NIST SP800-38A) ECB (Electronic Codebook) mode (NIST SP800-38A)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment