summaryrefslogtreecommitdiffstats
path: root/crypto/evp/legacy_wp.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-04-08 15:41:05 +0200
committerRichard Levitte <levitte@openssl.org>2020-04-10 22:15:25 +0200
commitaec8de1a5f0b3f6e6279266b45836d6c9f6878df (patch)
tree2cfe0510c4b3ae191bc30a70b22a23a37df209da /crypto/evp/legacy_wp.c
parentDon't compile commands if disabled (diff)
downloadopenssl-aec8de1a5f0b3f6e6279266b45836d6c9f6878df.tar.xz
openssl-aec8de1a5f0b3f6e6279266b45836d6c9f6878df.zip
CMS KARI: Temporarly downgrade newly generated EVP_PKEYs to legacy
The EVP_PKEY_ASN1_METHOD code used by CMS_RecipientInfo_kari_decrypt() and cms_RecipientInfo_kari_encrypt() is quite complex and needs more careful thought to work with provider side keys. Unfortunately, we need to get key generation in place, among others for ECC keys, so we add a temporary hack, similar to what's already done in TLS code, that downgrades a provider side EVP_PKEY to become EVP_PKEY_ASN1_METHOD / EVP_PKEY_METHOD based. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com> (Merged from https://github.com/openssl/openssl/pull/11501)
Diffstat (limited to 'crypto/evp/legacy_wp.c')
0 files changed, 0 insertions, 0 deletions