EC: Refactor EVP_PKEY_CTX curve setting macros for param generation
authorRichard Levitte <levitte@openssl.org>
Thu, 19 Mar 2020 13:02:42 +0000 (14:02 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 15 Apr 2020 09:04:28 +0000 (11:04 +0200)
commit10d756a70e2aeaff0c08e86014075a8623f3e0ab
treeecd68e887037765cf453ae5593740002e04d4897
parent1f185f51a7899e1eddc9161d7781e3d5ae86ab78
EC: Refactor EVP_PKEY_CTX curve setting macros for param generation

The macros are converted to functions, and are modified to support
provider implementations.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/11328)
crypto/ec/build.info
crypto/ec/ec_ctrl.c [moved from crypto/ec/ec_evp_lib.c with 85% similarity]
crypto/evp/pmeth_lib.c
doc/man3/EVP_PKEY_CTX_ctrl.pod
include/openssl/ec.h
util/libcrypto.num