]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
crypto: xts - Add softdep on ecb
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Feb 2022 02:09:40 +0000 (13:09 +1100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 27 Apr 2022 09:58:21 +0000 (11:58 +0200)
BugLink: https://bugs.launchpad.net/bugs/1969110
[ Upstream commit dfe085d8dcd0bb1fe20cc2327e81c8064cead441 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit f84b1633004dbf63c00f8f04de8517a26e7d67e3)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
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");