Make EVP_PKEY_CTX_[get|set]_ec_paramgen_curve_name more generic
authorMatt Caswell <matt@openssl.org>
Tue, 19 May 2020 14:24:25 +0000 (15:24 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 Jun 2020 09:19:31 +0000 (10:19 +0100)
commit11a1b341f3bc6a0afe75f9432f623026624fb720
tree8beadffedb50c9c324a3234832bb5dd80f56ca95
parent9d2d857f135abd281591ee0c2b58e01a710c3cea
Make EVP_PKEY_CTX_[get|set]_ec_paramgen_curve_name more generic

We rename these function to EVP_PKEY_CTX_get_group_name and
EVP_PKEY_CTX_set_group_name so that they can be used for other algorithms
other than EC.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11914)
18 files changed:
crypto/ec/ec_ameth.c
crypto/ec/ec_backend.c
crypto/ec/ec_ctrl.c
crypto/evp/evp_lib.c
crypto/evp/p_lib.c
crypto/evp/pmeth_gn.c
crypto/evp/pmeth_lib.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
doc/man3/EVP_PKEY_gettable_params.pod
doc/man7/EVP_PKEY-EC.pod
include/openssl/core_names.h
include/openssl/ec.h
include/openssl/evp.h
providers/fips/self_test_data.inc
providers/implementations/keymgmt/ec_kmgmt.c
test/acvp_test.c
test/evp_pkey_provided_test.c
util/libcrypto.num