]> git.ipfire.org Git - thirdparty/openssl.git/commit
enable CMS sign/verify for provider-implemented PKEYs
authorMichael Baentsch <info@baentsch.ch>
Fri, 18 Feb 2022 13:10:04 +0000 (14:10 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 3 Mar 2022 12:30:45 +0000 (13:30 +0100)
commitd15d561844d8989e50896724d89681ae7ba81a74
tree1dcd82903c4fb4e85d36d3929a41dc8a77207c16
parent13ba91cb02479a91b0743d2bf5f5ec7ce42860d0
enable CMS sign/verify for provider-implemented PKEYs

We need to handle signatures with and without digest algs
and we generalize the ossl_cms_ecdsa_dsa_sign() function
to other algorithms that are handled in the same way.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17733)
crypto/cms/cms_ec.c
crypto/cms/cms_local.h
crypto/cms/cms_sd.c
crypto/objects/obj_xref.c