openssl/crypto/evp
Richard Levitte f33c04b8de EVP: Modify EVP_PKEY_export() to handle legacy EVP_PKEYs
We use a fake EVP_KEYMGMT import function with the newly modified
EVP_PKEY_ASN1_METHOD export_to function to pass the exported
OSSL_PARAM array directly to the EVP_PKEY_export() callback instead of
exporting to an actual provided key and then getting the OSSL_PARAM
array from there, just to throw away that key again.

Fixes #15290

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15293)
2021-05-20 12:57:36 +01:00
..
asymcipher.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
bio_b64.c
bio_enc.c
bio_md.c
bio_ok.c
build.info Remove unused code from the fips module 2021-05-08 20:44:41 +10:00
c_allc.c
c_alld.c
cmeth_lib.c
ctrl_params_translate.c Constify EVP_PKEY_CTX_set_params(), EVP_PKEY_CTX_{set,get}table_params(), etc. 2021-05-11 12:46:42 +02:00
dh_ctrl.c todo: remove TODO(3.0) from the sources. 2021-05-20 09:00:22 +01:00
dh_support.c Fixes related to separation of DH and DHX types 2021-04-26 19:52:11 +02:00
digest.c evp: fix return code check. 2021-05-12 11:11:53 +10:00
dsa_ctrl.c todo: remove TODO(3.0) from the sources. 2021-05-20 09:00:22 +01:00
e_aes_cbc_hmac_sha1.c
e_aes_cbc_hmac_sha256.c
e_aes.c
e_aria.c
e_bf.c
e_camellia.c
e_cast.c
e_chacha20_poly1305.c
e_des3.c Crypto: Add deprecation compatibility declarations for SHA* message digest functions 2021-05-08 14:41:36 +02:00
e_des.c
e_idea.c
e_null.c
e_old.c
e_rc2.c
e_rc4_hmac_md5.c
e_rc4.c
e_rc5.c
e_seed.c
e_sm4.c
e_xcbc_d.c
ec_ctrl.c todo: remove TODO(3.0) from the sources. 2021-05-20 09:00:22 +01:00
ec_support.c Add convenience functions and macros for asymmetric key generation 2021-05-11 12:46:42 +02:00
encode.c
evp_cnf.c Ensure mirroring of properties works for subsequent updates 2021-05-20 09:35:41 +01:00
evp_enc.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
evp_err.c Remove all trace of FIPS_mode functions 2021-05-06 09:54:37 +10:00
evp_fetch.c Ensure mirroring of properties works for subsequent updates 2021-05-20 09:35:41 +01:00
evp_key.c
evp_lib.c todo: remove TODO(3.0) from the sources. 2021-05-20 09:00:22 +01:00
evp_local.h Add library context and property query support into the PKCS12 API 2021-04-30 09:15:50 +10:00
evp_pbe.c Update copyright year 2021-05-06 13:03:23 +01:00
evp_pkey.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
evp_rand.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
evp_utils.c
exchange.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
kdf_lib.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
kdf_meth.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
kem.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
keymgmt_lib.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
keymgmt_meth.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
legacy_blake2.c
legacy_md2.c
legacy_md4.c
legacy_md5_sha1.c
legacy_md5.c
legacy_mdc2.c
legacy_meth.h
legacy_ripemd.c
legacy_sha.c
legacy_wp.c
m_null.c
m_sigver.c Make sure to include "internal/numbers.h" to get SIZE_MAX 2021-05-19 12:41:34 +02:00
mac_lib.c Add quick one-shot EVP_Q_mac() and deprecation compensation decls for MAC functions 2021-05-08 14:35:03 +02:00
mac_meth.c Add type_name member to provided methods and use it 2021-04-26 12:05:05 +02:00
names.c
p5_crpt2.c Add library context and property query support into the PKCS12 API 2021-04-30 09:15:50 +10:00
p5_crpt.c
p_dec.c
p_enc.c
p_legacy.c
p_lib.c Modify EVP_PKEY_ASN1_METHOD's export_to function to take an importer 2021-05-20 12:57:22 +01:00
p_open.c
p_seal.c seal: make EVP_SealInit() library context aware 2021-05-18 13:24:41 +10:00
p_sign.c
p_verify.c
pbe_scrypt.c Add library context and property query support into the PKCS12 API 2021-04-30 09:15:50 +10:00
pmeth_check.c
pmeth_gn.c EVP: Modify EVP_PKEY_export() to handle legacy EVP_PKEYs 2021-05-20 12:57:36 +01:00
pmeth_lib.c todo: remove TODO(3.0) from the sources. 2021-05-20 09:00:22 +01:00
signature.c Make sure to include "internal/numbers.h" to get SIZE_MAX 2021-05-19 12:41:34 +02:00