mbox series

[v2,0/6] crypto: reduce overhead when self-tests disabled

Message ID 20221110081346.336046-1-ebiggers@kernel.org
Headers show
Series crypto: reduce overhead when self-tests disabled | expand

Message

Eric Biggers Nov. 10, 2022, 8:13 a.m. UTC
This patchset makes it so that the self-test code doesn't still slow
things down when self-tests are disabled via the kconfig.

It also optimizes the registration of "internal" algorithms and silences
a noisy log message.

Eric Biggers (6):
  crypto: optimize algorithm registration when self-tests disabled
  crypto: optimize registration of internal algorithms
  crypto: compile out crypto_boot_test_finished when tests disabled
  crypto: skip kdf_sp800108 self-test when tests disabled
  crypto: silence noisy kdf_sp800108 self-test
  crypto: compile out test-related algboss code when tests disabled

 crypto/algapi.c       | 160 ++++++++++++++++++++++++------------------
 crypto/algboss.c      |  26 +++----
 crypto/api.c          |   8 ++-
 crypto/internal.h     |  13 +++-
 crypto/kdf_sp800108.c |  11 ++-
 5 files changed, 124 insertions(+), 94 deletions(-)


base-commit: f67dd6ce0723ad013395f20a3f79d8a437d3f455