Re: [PATCH] crypto: sa2ul - Add CRYPTO_DES to CRYPTO_DEV_SA2UL

From: Herbert Xu
Date: Fri Mar 31 2023 - 06:12:03 EST


On Fri, Mar 24, 2023 at 08:28:12PM +0530, Jayesh Choudhary wrote:
> From: Suman Anna <s-anna@xxxxxx>
>
> 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 <s-anna@xxxxxx>
> Signed-off-by: Jayesh Choudhary <j-choudhary@xxxxxx>
> ---
> drivers/crypto/Kconfig | 1 +
> 1 file changed, 1 insertion(+)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt