mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +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) |
||
---|---|---|
.. | ||
build.info | ||
decode_der2key.c | ||
decode_epki2pki.c | ||
decode_msblob2key.c | ||
decode_pem2der.c | ||
decode_pvk2key.c | ||
decode_spki2typespki.c | ||
encode_key2any.c | ||
encode_key2blob.c | ||
encode_key2ms.c | ||
encode_key2text.c | ||
endecoder_common.c | ||
endecoder_local.h |