Add the ability to perform signatures in a provider
authorMatt Caswell <matt@openssl.org>
Fri, 30 Aug 2019 12:33:10 +0000 (13:33 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 9 Sep 2019 12:52:26 +0000 (13:52 +0100)
commitdfcb5d29b525f5d2b6bd80602dca5efe5fca77bb
tree2cfb247b0ec70de547f7d376a090e57727d49771
parent2b95e8efcf8b99892106070d9ac745a0a369f503
Add the ability to perform signatures in a provider

This makes EVP_PKEY_sign and EVP_PKEY_sign_init provider aware. It
also introduces the new type EVP_SIGNATURE to represent signature
algorithms. This also automatically makes the EVP_Sign* APIs provider
aware because they use EVP_Digest* (which is already provider aware)
and EVP_PKEY_sign(_init) under the covers.

At this stage there are no signature algorithms in any providers. That
will come in the following commits.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9753)
12 files changed:
crypto/cms/cms_sd.c
crypto/evp/digest.c
crypto/evp/evp_locl.h
crypto/evp/exchange.c
crypto/evp/pmeth_fn.c
crypto/evp/pmeth_lib.c
crypto/include/internal/evp_int.h
crypto/pkcs7/pk7_doit.c
include/openssl/core_numbers.h
include/openssl/evp.h
include/openssl/ossl_typ.h
util/libcrypto.num