openssl/test/helpers
Shane Lontis 2db985b7b1 Simplify the EVP_PKEY_XXX_fromdata_XX methods.
The existing names such as EVP_PKEY_param_fromdata_settable were a bit
confusing since the 'param' referred to key params not OSSL_PARAM. To simplify
the interface a 'selection' parameter will be passed instead. The
changes are:

(1) EVP_PKEY_fromdata_init() replaces both EVP_PKEY_key_fromdata_init() and EVP_PKEY_param_fromdata_init().
(2) EVP_PKEY_fromdata() has an additional selection parameter.
(3) EVP_PKEY_fromdata_settable() replaces EVP_PKEY_key_fromdata_settable() and EVP_PKEY_param_fromdata_settable().
    EVP_PKEY_fromdata_settable() also uses a selection parameter.

Fixes #12989

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14076)
2021-02-08 16:33:43 +10:00
..
cmp_testlib.c Update copyright year 2021-01-28 13:54:57 +01:00
cmp_testlib.h Update copyright year 2021-01-28 13:54:57 +01:00
handshake.c Update copyright year 2021-01-28 13:54:57 +01:00
handshake.h test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00
pkcs12.c Update copyright year 2021-01-28 13:54:57 +01:00
pkcs12.h test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00
predefined_dhparams.c Simplify the EVP_PKEY_XXX_fromdata_XX methods. 2021-02-08 16:33:43 +10:00
predefined_dhparams.h test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00
ssl_test_ctx.c Update copyright year 2021-01-28 13:54:57 +01:00
ssl_test_ctx.h Update copyright year 2021-01-28 13:54:57 +01:00
ssltestlib.c Stop disabling TLSv1.3 if ec and dh are disabled 2021-02-05 15:22:40 +00:00
ssltestlib.h test cleanup: move helper .c and .h files to test/helpers/ 2020-12-01 07:49:38 +01:00