diff options
author | 2022-11-13 16:12:34 -0800 | |
---|---|---|
committer | 2022-11-25 17:39:18 +0800 | |
commit | 9cadd73adef1e1d53ea100f28e3e258698b92418 (patch) | |
tree | 842c273fc7fbe8dff1d15e6cbaf7dc8f3a07b1dd /crypto/tcrypt.c | |
parent | crypto: api - optimize algorithm registration when self-tests disabled (diff) | |
download | wireguard-linux-9cadd73adef1e1d53ea100f28e3e258698b92418.tar.xz wireguard-linux-9cadd73adef1e1d53ea100f28e3e258698b92418.zip |
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: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions