Commit 13013672 authored by Eric Biggers's avatar Eric Biggers Committed by Todd Kjos
Browse files

UPSTREAM: crypto: algboss - optimize registration of internal algorithms



Since algboss always skips testing of algorithms with the
CRYPTO_ALG_INTERNAL flag, there is no need to go through the dance of
creating the test kthread, which creates a lot of overhead.  Instead, we
can just directly finish the algorithm registration, like is now done
when self-tests are disabled entirely.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>

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