openssl/include/internal
Richard Levitte 5a29b6286f CORE: query for operations only once per provider (unless no_store is true)
When a desired algorithm wasn't available, we didn't register anywhere
that an attempt had been made, with the result that next time the same
attempt was made, the whole process would be done again.

To avoid this churn, we register a bit for each operation that has
been queried in the libcrypto provider object, and test it before
trying the same query and method construction loop again.

If course, if the provider has told us not to cache, we don't register
this bit.

Fixes #11814

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11842)
2020-05-19 11:02:41 +02:00
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
bio.h
comp.h
conf.h
constant_time.h
core.h CORE: query for operations only once per provider (unless no_store is true) 2020-05-19 11:02:41 +02:00
cryptlib.h Maintain strict type discipline between the core and providers 2020-05-16 17:10:03 +01:00
dane.h
deprecated.h Update copyright year 2020-04-23 13:55:52 +01:00
der.h PROV: Add the beginning of a DER writing library 2020-04-07 11:16:56 +02:00
dso.h
dsoerr.h
err.h
evp.h EVP & TLS: Add necessary EC_KEY data extraction functions, and use them 2020-04-08 15:30:25 +02:00
ffc.h Rename FIPS_MODE to FIPS_MODULE 2020-04-28 15:37:37 +02:00
ktls.h
namemap.h
nelem.h
numbers.h
o_dir.h
packet.h Update copyright year 2020-04-23 13:55:52 +01:00
param_build_set.h Add EVP_PKEY_gettable_params support for accessing EVP_PKEY key data fields 2020-04-01 15:51:18 +10:00
property.h Add default property API's to enable and test for fips 2020-05-02 14:17:54 +10:00
propertyerr.h
provider.h CORE: query for operations only once per provider (unless no_store is true) 2020-05-19 11:02:41 +02:00
refcount.h
sha3.h
sizes.h PROV: Adapt the DSA signature implementation to provide Algorithmidentifiers 2020-01-28 08:08:22 +01:00
sm3.h
sockets.h Clean up macro definitions of openssl_fdset() in apps.h and sockets.h 2020-05-15 20:23:38 +02:00
sslconf.h
symhacks.h
thread_once.h Update copyright year 2020-05-15 14:09:49 +01:00
tsan_assist.h