openssl/crypto/serializer
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
..
build.info SERIALIZER: add support for serializing EVP_PKEYs 2019-11-29 20:55:16 +01:00
serializer_err.c SERIALIZER: add support for serializing EVP_PKEYs 2019-11-29 20:55:16 +01:00
serializer_lib.c SERIALIZER: add functions for serialization to file 2019-11-29 20:55:16 +01:00
serializer_local.h Update copyright year 2020-04-23 13:55:52 +01:00
serializer_meth.c CORE: query for operations only once per provider (unless no_store is true) 2020-05-19 11:02:41 +02:00
serializer_pkey.c Maintain strict type discipline between the core and providers 2020-05-16 17:10:03 +01:00