mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
8c7c1c84cb
Previously all the SubjectPublicKeyInfo decoders were specific to a key type. We would iterate over all them until a match was found for the correct key type. Each one would fully decode the key before then testing whether it was a match or not - throwing it away if not. This was very inefficient. Instead we introduce a generic SubjectPublicKeyInfo decoder which figures out what type of key is contained within it, before subsequently passing on the data to a key type specific SubjectPublicKeyInfo decoder. Fixes #15646 Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15662) |
||
---|---|---|
.. | ||
__DECC_INCLUDE_EPILOGUE.H | ||
__DECC_INCLUDE_PROLOGUE.H | ||
blake2.h | ||
ciphercommon_aead.h | ||
ciphercommon_ccm.h | ||
ciphercommon_gcm.h | ||
ciphercommon.h | ||
digestcommon.h | ||
implementations.h | ||
kdfexchange.h | ||
macsignature.h | ||
md5_sha1.h | ||
names.h | ||
seeding.h |