openssl/crypto/dh
Richard Levitte d101700dff CRYPTO: Remove the check for built-in methods in the export_to function
That check was seen as necessary at the time, but other changes have
been made since, so we now have better control on when we're handling
legacy structures and methods, making it safe to run the export_to
function on keys with foreign methods.

The basic message is that foreign methods must set key structure
values according to our standards no matter what, or not set them at
all.  This has really always been the case, but was harder to see at
the time because of interaction with other bugs.

Fixes #15927

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15996)
2021-07-07 15:38:21 +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 Rename all getters to use get/get0 in name 2021-06-01 12:40:00 +02:00
dh_prn.c
dh_rfc5114.c