openssl/crypto/ec
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
..
asm Cleanup some copyright stuff 2017-06-30 21:56:44 -04:00
build.info Add ecp_nistz256-ppc64 module. 2016-08-29 23:12:32 +02:00
curve25519.c Left shift of a negative number is undefined behaviour 2017-06-02 10:40:13 +01:00
ec2_mult.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec2_oct.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec2_smpl.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_ameth.c Fix a memleak in ec_copy_parameters. 2017-06-13 13:27:25 -04:00
ec_asn1.c ASN.1: adapt our use of INTxx et al by making them explicitely embedded 2017-04-13 10:23:31 +02:00
ec_check.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ec_curve.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_cvt.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_err.c make error tables const and separate header file 2017-06-07 15:12:03 -04:00
ec_key.c Add RAND_priv_bytes() for private keys 2017-08-03 10:45:17 -04:00
ec_kmeth.c Fix const correctness of EC_KEY_METHOD_get_* 2017-07-23 11:34:11 +02:00
ec_lcl.h Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_lib.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_mult.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_oct.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ec_pmeth.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ec_print.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecdh_kdf.c check return values for EVP_Digest*() APIs 2016-07-15 14:09:05 +01:00
ecdh_ossl.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ecdsa_ossl.c Add RAND_priv_bytes() for private keys 2017-08-03 10:45:17 -04:00
ecdsa_sign.c Useless includes 2016-06-18 16:30:24 -04:00
ecdsa_vrf.c Useless includes 2016-06-18 16:30:24 -04:00
eck_prn.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ecp_mont.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ecp_nist.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ecp_nistp224.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
ecp_nistp256.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
ecp_nistp521.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
ecp_nistputil.c Copyright consolidation 06/10 2016-05-17 14:51:04 -04:00
ecp_nistz256.c Merge Intel copyright notice into standard 2017-06-30 12:01:54 -04:00
ecp_nistz256_table.c Copyright consolidation 05/10 2016-05-17 15:38:09 -04:00
ecp_oct.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
ecp_smpl.c Change to check last return value of BN_CTX_get 2017-06-26 15:40:16 +02:00
ecx_meth.c Use OPENSSL_secure_clear_free for secure mem BIOs and X25519 private keys 2017-07-29 19:26:06 +02:00