[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220328111828.1554086-12-sashal@kernel.org>
Date: Mon, 28 Mar 2022 07:17:56 -0400
From: Sasha Levin <sashal@...nel.org>
To: linux-kernel@...r.kernel.org, stable@...r.kernel.org
Cc: Herbert Xu <herbert@...dor.apana.org.au>, rftc <rftc@....de>,
Sasha Levin <sashal@...nel.org>, davem@...emloft.net,
linux-crypto@...r.kernel.org
Subject: [PATCH AUTOSEL 5.17 12/43] crypto: xts - Add softdep on ecb
From: Herbert Xu <herbert@...dor.apana.org.au>
[ 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@....de>
Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@...nel.org>
---
crypto/xts.c | 1 +
1 file changed, 1 insertion(+)
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");
--
2.34.1
Powered by blists - more mailing lists