crypto: xts - Add softdep on ecb
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Feb 2022 02:09:40 +0000 (13:09 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Feb 2022 05:21:08 +0000 (16:21 +1100)
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>
crypto/xts.c

index 6c12f30dbdd6d19f3efc16a5da5c2f27d9a2cac6..63c85b9e64e08df7d1ff88c61560e3a70b2232a4 100644 (file)
@@ -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");