You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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)
2 years ago
..
__DECC_INCLUDE_EPILOGUE.H VMS: Copy __DECC_INCLUDE_{PROLOGUE,EPILOGUE}.H to more places 2 years ago
__DECC_INCLUDE_PROLOGUE.H VMS: Copy __DECC_INCLUDE_{PROLOGUE,EPILOGUE}.H to more places 2 years ago
blake2.h Update copyright year 2 years ago
ciphercommon.h Add a gettable for provider ciphers to return the EVP_CIPH_RAND_KEY flag 2 years ago
ciphercommon_aead.h Update copyright year 2 years ago
ciphercommon_ccm.h Update copyright year 2 years ago
ciphercommon_gcm.h Update copyright year 2 years ago
digestcommon.h prov: support param argument to digest init calls 2 years ago
implementations.h Add a generic SubjectPublicKeyInfo decoder 2 years ago
kdfexchange.h Update copyright year 2 years ago
macsignature.h rename mac_key_* to ossl_mac_key_* 3 years ago
md5_sha1.h Update copyright year 2 years ago
names.h PROV: Add OIDs we know to all provider applicable algorithms 2 years ago
seeding.h Update copyright year 2 years ago