All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] crypto: reduce overhead when self-tests disabled
@ 2022-11-14  0:12 Eric Biggers
  2022-11-14  0:12 ` [PATCH v3 1/6] crypto: optimize algorithm registration " Eric Biggers
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Eric Biggers @ 2022-11-14  0:12 UTC (permalink / raw)
  To: linux-crypto

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.

Changed in v3:
  - Made sure CRYPTO_MSG_ALG_LOADED still always gets sent.
  - Fixed a race condition with larval->test_started.
  - Used IS_ENABLED() in a couple places to avoid #ifdefs.

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      |  22 ++----
 crypto/api.c          |  11 ++-
 crypto/internal.h     |  20 +++++-
 crypto/kdf_sp800108.c |  10 ++-
 5 files changed, 127 insertions(+), 96 deletions(-)


base-commit: 557ffd5a4726f8b6f0dd1d4b632ae02c1c063233
-- 
2.38.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-12-01 10:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-14  0:12 [PATCH v3 0/6] crypto: reduce overhead when self-tests disabled Eric Biggers
2022-11-14  0:12 ` [PATCH v3 1/6] crypto: optimize algorithm registration " Eric Biggers
2022-11-14  0:12 ` [PATCH v3 2/6] crypto: optimize registration of internal algorithms Eric Biggers
2022-11-30 19:04   ` Eric Biggers
2022-12-01 10:19     ` Herbert Xu
2022-11-14  0:12 ` [PATCH v3 3/6] crypto: compile out crypto_boot_test_finished when tests disabled Eric Biggers
2022-11-14  0:12 ` [PATCH v3 4/6] crypto: skip kdf_sp800108 self-test " Eric Biggers
2022-11-14  0:12 ` [PATCH v3 5/6] crypto: silence noisy kdf_sp800108 self-test Eric Biggers
2022-11-14  0:12 ` [PATCH v3 6/6] crypto: compile out test-related algboss code when tests disabled Eric Biggers
2022-11-25  9:44 ` [PATCH v3 0/6] crypto: reduce overhead when self-tests disabled Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.