openssl/crypto/dh
Dr. Stephen Henson 5f2d9c4d26 Support constant BN for DH parameters
If BN_FLG_STATIC_DATA is set don't cleanse a->d as it will reside
in read only memory. If BN_FLG_MALLOCED is not set don't modify the
BIGNUM at all.

This change applies to BN_clear_free() and BN_free(). Now the BIGNUM
structure is opaque applications cannot create a BIGNUM structure
without BN_FLG_MALLOCED being set so they are unaffected.

Update internal DH routines so they only copy pointers for read only
parameters.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4485)
2017-10-12 02:40:30 +01:00
..
build.info
dh192.pem
dh512.pem
dh1024.pem
dh2048.pem
dh4096.pem
dh_ameth.c Support constant BN for DH parameters 2017-10-12 02:40:30 +01:00
dh_asn1.c ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
dh_check.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
dh_depr.c
dh_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
dh_gen.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
dh_kdf.c Use "" not <> on e_os.h include 2017-08-22 11:07:56 -04:00
dh_key.c Since return is inconsistent, I removed unnecessary parentheses and 2017-10-09 13:17:09 +01:00
dh_lib.c Allow DH_set0_key with only private key. 2017-09-26 14:48:51 +02:00
dh_locl.h
dh_meth.c
dh_pmeth.c
dh_prn.c
dh_rfc5114.c