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 Move libssl related defines used by fips provider to prov_ssl.h 2021-06-04 17:06:47 +02:00
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 Update copyright year 2021-04-08 13:04:41 +01:00
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 PROV: Add OIDs we know to all provider applicable algorithms 2021-04-18 10:10:23 +02:00
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 Add PBKDF1 to the legacy provider 2021-05-24 15:21:25 +10:00
nullprov.c
prov_running.c
stores.inc