openssl/providers
Matt Caswell 8c7c1c84cb Add a generic SubjectPublicKeyInfo decoder
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)
2021-06-14 09:43:01 +01:00
..
common
fips Fix AIX FIPS DEP. 2021-06-08 15:18:00 +10:00
implementations Add a generic SubjectPublicKeyInfo decoder 2021-06-14 09:43:01 +01:00
baseprov.c
build.info Avoid duplicating prov_running.o in libdefault and libcrypto 2021-06-14 09:18:41 +10:00
decoders.inc Add a generic SubjectPublicKeyInfo decoder 2021-06-14 09:43:01 +01:00
defltprov.c
encoders.inc Decoding PKCS#8: separate decoding of encrypted and unencrypted PKCS#8 2021-06-09 17:00:10 +02:00
fips-sources.checksums make update-fips-checksums 2021-06-05 10:38:37 +02:00
fips.checksum make update-fips-checksums 2021-06-05 10:38:37 +02:00
fips.module.sources make update-fips-checksums 2021-06-05 10:38:37 +02:00
legacyprov.c
nullprov.c
prov_running.c
stores.inc