Commit 21f8e313 authored by Herbert Xu's avatar Herbert Xu Committed by Eric Biggers
Browse files

UPSTREAM: crypto: api - Fix boot-up crash when crypto manager is disabled



When the crypto manager is disabled, we need to explicitly set
the crypto algorithms' tested status so that they can be used.

Fixes: cad439fc ("crypto: api - Do not create test larvals if...")
Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Reported-by: default avatarIdo Schimmel <idosch@idosch.org>
Reported-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Tested-by: default avatarIdo Schimmel <idosch@nvidia.com>
Tested-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>

Bug: 256875295
(cherry picked from commit beaaaa37)
Change-Id: I6cb42580e4774fbfd075497468b488be3447b7a9
Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
parent cd504c8e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment