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 Fix DH private key check. 2021-06-16 11:25:24 +01:00
dh_depr.c
dh_err.c
dh_gen.c
dh_group_params.c Fix DH/DHX named groups to not overwrite the private key length. 2021-06-14 09:21:12 +10:00
dh_kdf.c Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
dh_key.c add zero strenght arguments to BN and RAND RNG calls 2021-05-29 17:17:12 +10:00
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