]> git.ipfire.org Git - thirdparty/openssl.git/commit - include/crypto/evp.h
CMS, PKCS7, and CRMF: simplify use of EVP_PKEY_decrypt() by helper function
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Sat, 25 Dec 2021 12:38:23 +0000 (13:38 +0100)
committerDr. David von Oheimb <dev@ddvo.net>
Tue, 30 May 2023 20:02:10 +0000 (22:02 +0200)
commit36b91a198ae027c054ef128a35a268bc3c307f00
treea47bf3a4c012fb34c51c8c34f973e15dc912f9b4
parentfdef95716dbcc6127d05f8cfc90f389a84acaf9b
CMS, PKCS7, and CRMF: simplify use of EVP_PKEY_decrypt() by helper function

Also remove needless constant_time_* and ERR_clear_error() calls
from OSSL_CRMF_ENCRYPTEDVALUE_get1_encCert().

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/17354)
crypto/cms/cms_env.c
crypto/crmf/crmf_lib.c
crypto/evp/asymcipher.c
crypto/pkcs7/pk7_doit.c
include/crypto/evp.h