openssl/crypto/dh
Richard Levitte 2650515394 Better check of DH parameters in TLS data
When the client reads DH parameters from the TLS stream, we only
checked that they all are non-zero.  This change updates the check to
use DH_check_params()

DH_check_params() is a new function for light weight checking of the p
and g parameters:

    check that p is odd
    check that 1 < g < p - 1

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
2017-01-26 10:54:01 +00:00
..
build.info Make DH_METHOD opaque 2016-04-09 10:10:55 +01:00
dh192.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh512.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh1024.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh2048.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh4096.pem Import of old SSLeay release: SSLeay 0.8.1b 1998-12-21 10:52:47 +00:00
dh_ameth.c Constify private key decode. 2016-08-17 12:01:29 +01:00
dh_asn1.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
dh_check.c Better check of DH parameters in TLS data 2017-01-26 10:54:01 +00:00
dh_depr.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
dh_err.c Check for errors allocating the error strings. 2016-07-20 19:20:53 +02:00
dh_gen.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
dh_kdf.c check return values for EVP_Digest*() APIs 2016-07-15 14:09:05 +01:00
dh_key.c Fix error handling in compute_key, BN_CTX_get can return NULL 2017-01-24 18:25:22 +01:00
dh_lib.c Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
dh_locl.h Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
dh_meth.c Raise an error on memory alloc failure. 2016-11-16 20:54:53 -05:00
dh_pmeth.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
dh_prn.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
dh_rfc5114.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00