openssl/crypto/rand
Dr. Matthias St. Pierre 8212d50576 crypto/rand: restore the generic DRBG implementation
The DRGB concept described in NIST SP 800-90A provides for having different
algorithms to generate random output. In fact, the FIPS object module used to
implement three of them, CTR DRBG, HASH DRBG and HMAC DRBG.

When the FIPS code was ported to master in #4019, two of the three algorithms
were dropped, and together with those the entire code that made RAND_DRBG
generic was removed, since only one concrete implementation was left.

This commit restores the original generic implementation of the DRBG, making it
possible again to add additional implementations using different algorithms
(like RAND_DRBG_CHACHA20) in the future.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4998)
2018-01-04 11:47:31 +10:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c crypto/rand: restore the generic DRBG implementation 2018-01-04 11:47:31 +10:00
drbg_lib.c crypto/rand: restore the generic DRBG implementation 2018-01-04 11:47:31 +10:00
rand_egd.c Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
rand_err.c crypto/rand: restore the generic DRBG implementation 2018-01-04 11:47:31 +10:00
rand_lcl.h crypto/rand: restore the generic DRBG implementation 2018-01-04 11:47:31 +10:00
rand_lib.c Add master DRBG for reseeding 2017-12-17 23:12:10 +01:00
rand_unix.c Fix reseeding issues of the public RAND_DRBG 2017-10-18 08:39:20 -05:00
rand_vms.c Fix reseeding issues of the public RAND_DRBG 2017-10-18 08:39:20 -05:00
rand_win.c Fix reseeding issues of the public RAND_DRBG 2017-10-18 08:39:20 -05:00
randfile.c Resolve warnings in VC-WIN32 build, which allows to add /WX. 2017-11-13 10:58:57 +01:00