diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2022-02-10 13:31:13 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-02-18 16:21:08 +1100 |
commit | f60bbbbe8039e59341055e827bb404c14a2688a0 (patch) | |
tree | a60db8c4068c3cd2d942c909df998c518206926b /crypto | |
parent | dfe085d8dcd0bb1fe20cc2327e81c8064cead441 (diff) |
crypto: lrw - Add dependency on ecb
The lrw template relies on ecb to work. So we need to declare
a Kconfig dependency as well as a module softdep on it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Kconfig | 1 | ||||
-rw-r--r-- | crypto/lrw.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index fa1741bb568f..d9573b3f081f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -425,6 +425,7 @@ config CRYPTO_LRW select CRYPTO_SKCIPHER select CRYPTO_MANAGER select CRYPTO_GF128MUL + select CRYPTO_ECB help LRW: Liskov Rivest Wagner, a tweakable, non malleable, non movable narrow block cipher mode for dm-crypt. Use it with cipher diff --git a/crypto/lrw.c b/crypto/lrw.c index bcf09fbc750a..8d59a66b6525 100644 --- a/crypto/lrw.c +++ b/crypto/lrw.c @@ -428,3 +428,4 @@ module_exit(lrw_module_exit); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("LRW block cipher mode"); MODULE_ALIAS_CRYPTO("lrw"); +MODULE_SOFTDEP("pre: ecb"); |