Modify EVP_PKEY_CTX_new_from_pkey() to add a propquery parameter
authorMatt Caswell <matt@openssl.org>
Wed, 15 Jan 2020 11:10:43 +0000 (11:10 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 27 Jan 2020 08:45:17 +0000 (08:45 +0000)
commit2ee4a50ab92020dc49383d5aa644397edac4a59a
tree76af6ea9c9f93810d91929a42ef4b6b237cfaf1f
parent612539e8a678c6099131dfd0e5e4b85fa774eb1a
Modify EVP_PKEY_CTX_new_from_pkey() to add a propquery parameter

The function EVP_PKEY_CTX_new_from_pkey() infers the name of the
algorithm to fetch from the EVP_PKEY that has been supplied as an
argument. But there was no way to specify properties to be used during
that fetch.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10926)
crypto/evp/p_lib.c
crypto/evp/pmeth_lib.c
doc/man3/EVP_PKEY_CTX_new.pod
include/openssl/evp.h
providers/fips/fipsprov.c