From: Pauli Date: Mon, 1 Mar 2021 23:03:00 +0000 (+1000) Subject: core: add params argument to key manager's gen_init call X-Git-Tag: openssl-3.0.0-alpha14~332 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2faea85380a5ffd17169e0624493c11658ea193e;p=thirdparty%2Fopenssl.git core: add params argument to key manager's gen_init call Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/14383) --- diff --git a/include/openssl/core_dispatch.h b/include/openssl/core_dispatch.h index eb71bc5469b..a32460bb545 100644 --- a/include/openssl/core_dispatch.h +++ b/include/openssl/core_dispatch.h @@ -524,7 +524,7 @@ OSSL_CORE_MAKE_FUNC(void *, keymgmt_new, (void *provctx)) # define OSSL_FUNC_KEYMGMT_GEN 6 # define OSSL_FUNC_KEYMGMT_GEN_CLEANUP 7 OSSL_CORE_MAKE_FUNC(void *, keymgmt_gen_init, - (void *provctx, int selection)) + (void *provctx, int selection, const OSSL_PARAM params[])) OSSL_CORE_MAKE_FUNC(int, keymgmt_gen_set_template, (void *genctx, void *templ)) OSSL_CORE_MAKE_FUNC(int, keymgmt_gen_set_params, diff --git a/util/libcrypto.num b/util/libcrypto.num index 2ca427c63b1..bfd44c2325a 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -5314,3 +5314,13 @@ EVP_RAND_CTX_settable_params ? 3_0_0 EXIST::FUNCTION: RAND_set_DRBG_type ? 3_0_0 EXIST::FUNCTION: RAND_set_seed_source_type ? 3_0_0 EXIST::FUNCTION: BIO_f_readbuffer ? 3_0_0 EXIST::FUNCTION: +EVP_DigestInit_ex2 ? 3_0_0 EXIST::FUNCTION: +EVP_EncryptInit_ex2 ? 3_0_0 EXIST::FUNCTION: +EVP_DecryptInit_ex2 ? 3_0_0 EXIST::FUNCTION: +EVP_CipherInit_ex2 ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_sign_init_ex ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_verify_init_ex ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_verify_recover_init_ex ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_encrypt_init_ex ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_decrypt_init_ex ? 3_0_0 EXIST::FUNCTION: +EVP_PKEY_derive_init_ex ? 3_0_0 EXIST::FUNCTION: