summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-02-10 03:09:40 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-02-18 06:21:08 +0100
commitdfe085d8dcd0bb1fe20cc2327e81c8064cead441 (patch)
tree6e20644c3381dbd830e1e8a694d747f82de7531e /crypto
parentcrypto: qat - don't cast parameter in bit operations (diff)
downloadlinux-dfe085d8dcd0bb1fe20cc2327e81c8064cead441.tar.xz
linux-dfe085d8dcd0bb1fe20cc2327e81c8064cead441.zip
crypto: xts - Add softdep on ecb
The xts module needs ecb to be present as it's meant to work on top of ecb. This patch adds a softdep so ecb can be included automatically into the initramfs. Reported-by: rftc <rftc@gmx.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/xts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/xts.c b/crypto/xts.c
index 6c12f30dbdd6..63c85b9e64e0 100644
--- a/crypto/xts.c
+++ b/crypto/xts.c
@@ -466,3 +466,4 @@ MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("XTS block cipher mode");
MODULE_ALIAS_CRYPTO("xts");
MODULE_IMPORT_NS(CRYPTO_INTERNAL);
+MODULE_SOFTDEP("pre: ecb");