openssl/crypto/encode_decode
Richard Levitte 054cde1756 DECODER EVP_PKEY: Don't store all the EVP_KEYMGMTs
OSSL_DECODER_CTX_new_by_EVP_PKEY() would keep copies of all the
EVP_KEYMGMTs it finds.
This turns out to be fragile in certain circumstances, so we switch to
fetch the appropriate EVP_KEYMGMT when it's time to construct an
EVP_PKEY from the decoded data instead.  This has the added benefit
that we now actually use the property query string that was given by
the caller for these fetches.

Fixes #13503

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13661)
2020-12-17 12:02:08 +01:00
..
build.info CORE: Generalise internal pass phrase prompter 2020-08-24 10:02:25 +02:00
decoder_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
decoder_lib.c DECODER: Add tracing 2020-11-11 11:42:06 +01:00
decoder_meth.c DECODER: Add support for OSSL_FUNC_decoder_does_selection() 2020-11-11 11:42:06 +01:00
decoder_pkey.c DECODER EVP_PKEY: Don't store all the EVP_KEYMGMTs 2020-12-17 12:02:08 +01:00
encoder_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
encoder_lib.c ENCODER: Add tracing 2020-11-11 12:43:27 +01:00
encoder_local.h ENCODER: Add support for OSSL_FUNC_encoder_does_selection() 2020-11-11 12:43:27 +01:00
encoder_meth.c ENCODER: Add support for OSSL_FUNC_encoder_does_selection() 2020-11-11 12:43:27 +01:00
encoder_pkey.c ENCODER: Don't pass libctx to OSSL_ENCODER_CTX_new_by_EVP_PKEY() 2020-12-02 13:36:49 +01:00