From: Suman Anna Date: Fri, 24 Mar 2023 14:58:12 +0000 (+0530) Subject: crypto: sa2ul - Select CRYPTO_DES X-Git-Tag: Ubuntu-6.2.0-32.32~1145 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=ca2558e8b8e5eb7c037f09938b326e0035f5da93;p=mirror_ubuntu-kernels.git crypto: sa2ul - Select CRYPTO_DES BugLink: https://bugs.launchpad.net/bugs/2025067 [ Upstream commit 8832023efd20966e29944dac92118dfbf1fa1bc0 ] The SA2UL Crypto driver provides support for couple of DES3 algos "cbc(des3_ede)" and "ecb(des3_ede)", and enabling the crypto selftest throws the following errors (as seen on K3 J721E SoCs): saul-crypto 4e00000.crypto: Error allocating fallback algo cbc(des3_ede) alg: skcipher: failed to allocate transform for cbc-des3-sa2ul: -2 saul-crypto 4e00000.crypto: Error allocating fallback algo ecb(des3_ede) alg: skcipher: failed to allocate transform for ecb-des3-sa2ul: -2 Fix this by selecting CRYPTO_DES which was missed while adding base driver support. Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver") Signed-off-by: Suman Anna Signed-off-by: Jayesh Choudhary Signed-off-by: Herbert Xu Signed-off-by: Sasha Levin Signed-off-by: Kamal Mostafa Signed-off-by: Stefan Bader --- diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index dfb103f81a64..8d06bc30eade 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -820,6 +820,7 @@ config CRYPTO_DEV_SA2UL select CRYPTO_AES select CRYPTO_ALGAPI select CRYPTO_AUTHENC + select CRYPTO_DES select CRYPTO_SHA1 select CRYPTO_SHA256 select CRYPTO_SHA512