openssl/crypto/dh
Matt Caswell 5dc6489bb6 Update our EVP_PKEY_METHODs to get low level keys via public APIs
It is possible to call built-in EVP_PKEY_METHOD functions with a provided
key. For example this might occur if a custom EVP_PKEY_METHOD is in use
that wraps a built-in EVP_PKEY_METHOD. Therefore our EVP_PKEY_METHOD
functions should not assume that we are using a legacy key. Instead we
get the low level key using EVP_PKEY_get0_RSA() or other similar functions.
This "does the right thing" if the key is actually provided.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Nicola Tuveri <nic.tuv@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16118)
2021-07-22 13:52:46 +02:00
..
build.info
dh_ameth.c CRYPTO: Remove the check for built-in methods in the export_to function 2021-07-07 15:38:21 +02:00
dh_asn1.c
dh_backend.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
dh_check.c
dh_depr.c
dh_err.c
dh_gen.c
dh_group_params.c
dh_kdf.c
dh_key.c
dh_lib.c fips module header inclusion fine-tunning 2021-07-06 10:52:27 +10:00
dh_local.h
dh_meth.c
dh_pmeth.c Update our EVP_PKEY_METHODs to get low level keys via public APIs 2021-07-22 13:52:46 +02:00
dh_prn.c
dh_rfc5114.c