From 884314cab786a980189206b2cab5f62878a97669 Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Wed, 7 Apr 2021 11:27:18 +1000 Subject: Add OSSL_PARAM_dup() and OSSL_PARAM_merge(). These functions are prerequisites for implementing EVP_PKEY_todata(). OSSL_PARAM_dup() is required to make a deep copy of the exported params (since the provider export() uses a OSSL_PARAM_BLD which throws away the data after the call), and then use OSSL_PARAM_merge() to add some additional params that can be passed to the EVP_PKEY_todata(). Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/14785) --- util/libcrypto.num | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util/libcrypto.num') diff --git a/util/libcrypto.num b/util/libcrypto.num index f8f5b58a94..77082c2d05 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5348,3 +5348,6 @@ EVP_KEM_description ? 3_0_0 EXIST::FUNCTION: EVP_KEYEXCH_description ? 3_0_0 EXIST::FUNCTION: EVP_KDF_description ? 3_0_0 EXIST::FUNCTION: X509_CRL_new_ex ? 3_0_0 EXIST::FUNCTION: +OSSL_PARAM_dup ? 3_0_0 EXIST::FUNCTION: +OSSL_PARAM_merge ? 3_0_0 EXIST::FUNCTION: +OSSL_PARAM_free ? 3_0_0 EXIST::FUNCTION: -- cgit v1.2.3