[openssl/tools] c32b75: Add a performance test for OSSL_PROVIDER_do_all()

Matt Caswell noreply at github.com
Tue May 30 07:56:02 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/tools
  Commit: c32b758339aeab53c8f4ce7a9f9f1b7a8313745c
      https://github.com/openssl/tools/commit/c32b758339aeab53c8f4ce7a9f9f1b7a8313745c
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-05-30 (Tue, 30 May 2023)

  Changed paths:
    M perf/Makefile
    M perf/README
    A perf/providerdoall.c

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/tools/pull/154)




More information about the openssl-commits mailing list