openssl/crypto/dh
Rich Salz ddc6a5c8f5 Add RAND_priv_bytes() for private keys
Add a new global DRBG for private keys used by RAND_priv_bytes.

Add BN_priv_rand() and BN_priv_rand_range() which use RAND_priv_bytes().
Change callers to use the appropriate BN_priv... function.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4076)
2017-08-03 10:45:17 -04: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 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 Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
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 check return values for EVP_Digest*() APIs 2016-07-15 14:09:05 +01:00
dh_key.c Add RAND_priv_bytes() for private keys 2017-08-03 10:45:17 -04:00
dh_lib.c Make default_method mostly compile-time 2017-04-07 12:19:46 -04:00
dh_locl.h Act on deprecation of LONG and ZLONG, step 2 2017-04-10 12:11:00 +02: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