EVP_PKEY_CTX_get/settable_params: pass provider operation context
authorTomas Mraz <tomas@openssl.org>
Fri, 26 Feb 2021 17:02:36 +0000 (18:02 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 3 Mar 2021 10:25:39 +0000 (11:25 +0100)
commitfb67126ea8a1a9fadb9b60641d84808fc123cd9d
treebff46e01abd2dabca35123e422bcbc797a6ef484
parent4e4ae84056133c863860e27ceedae8bd3fb0a402
EVP_PKEY_CTX_get/settable_params: pass provider operation context

This allows making the signature operations return different
settable params when the context is initialized with
EVP_DigestSign/VerifyInit.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14338)
30 files changed:
crypto/evp/asymcipher.c
crypto/evp/exchange.c
crypto/evp/kem.c
crypto/evp/keymgmt_meth.c
crypto/evp/pmeth_lib.c
crypto/evp/signature.c
doc/man7/provider-kem.pod
doc/man7/provider-keyexch.pod
doc/man7/provider-keymgmt.pod
doc/man7/provider-signature.pod
include/openssl/core_dispatch.h
providers/implementations/asymciphers/rsa_enc.c
providers/implementations/asymciphers/sm2_enc.c
providers/implementations/exchange/dh_exch.c
providers/implementations/exchange/ecdh_exch.c
providers/implementations/exchange/kdf_exch.c
providers/implementations/kem/rsa_kem.c
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/keymgmt/ec_kmgmt.c
providers/implementations/keymgmt/ecx_kmgmt.c
providers/implementations/keymgmt/mac_legacy_kmgmt.c
providers/implementations/keymgmt/rsa_kmgmt.c
providers/implementations/signature/dsa.c
providers/implementations/signature/ecdsa.c
providers/implementations/signature/eddsa.c
providers/implementations/signature/mac_legacy.c
providers/implementations/signature/rsa.c
providers/implementations/signature/sm2sig.c
test/tls-provider.c