openssl/crypto/dh
Shane Lontis eabb301416 Fix DH ASN1 decode so that it detects named groups.
The dh->nid was not being set if the loaded p,g matched an inbuilt named
group for "DH".

NOTE: The "DHX" related path already worked since it calls DH_set0_pqg()
(which does the name group check).

This bug was detected when new tests were added for dh5114 groups, combined
with the no-cache tests i.e. loading+import+export set the nid,
but just loading did not.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14207)
2021-02-19 19:25:24 +10:00
..
build.info EVP_PKEY & DH: Make DH EVP_PKEY_CTX parameter ctrls / setters more available 2020-12-16 11:55:39 +01:00
dh_ameth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
dh_asn1.c Fix DH ASN1 decode so that it detects named groups. 2021-02-19 19:25:24 +10:00
dh_backend.c Update copyright year 2021-01-28 13:54:57 +01:00
dh_check.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
dh_depr.c
dh_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
dh_gen.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
dh_group_params.c EVP_PKEY & DH: Make DH EVP_PKEY_CTX parameter ctrls / setters more available 2020-12-16 11:55:39 +01:00
dh_kdf.c Add EVP_KDF-X942 to the fips module 2020-12-02 12:15:05 +10:00
dh_key.c dsa_check: Perform simple parameter check if seed is not available 2021-02-18 11:02:26 +01:00
dh_lib.c DH: Make DH_bits(), DH_size(), and DH_security_bits() check that there are key parameters 2021-02-18 12:04:35 +01:00
dh_local.h
dh_meth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
dh_pmeth.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
dh_prn.c Convert all {NAME}err() in crypto/ to their corresponding ERR_raise() call 2020-11-13 09:35:02 +01:00
dh_rfc5114.c