Add a performance test for OSSL_PROVIDER_do_all()
authorMatt Caswell <matt@openssl.org>
Mon, 29 May 2023 10:17:06 +0000 (11:17 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 30 May 2023 07:53:27 +0000 (08:53 +0100)
commitc32b758339aeab53c8f4ce7a9f9f1b7a8313745c
treef529138d8cc2d62f4db93dc693675aec602150ca
parent1d046129726ba142a495626ac17548ba8de99ee4
Add a performance test for OSSL_PROVIDER_do_all()

This tests calls the OSSL_PROVIDER_do_all() function repeatedly in a loop.
This function can be called directly by user code, but is also used during
the initialisation of an SSL_CTX to discover TLS capabilities from
providers (e.g. pluggable groups etc).

The underlying internal function ossl_provider_doall_activated() will
also be tested by this. That function is called during algorithm fetching
(if the algorithms have not yet been cached).

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/tools/pull/154)
perf/Makefile
perf/README
perf/providerdoall.c [new file with mode: 0644]