openssl/crypto/rand
Dr. Matthias St. Pierre 1648338ba1 Fix size limitation of RAND_DRBG_bytes()
When comparing the implementations of drbg_bytes() and RAND_DRBG_bytes(),
it was noticed that the former split the buffer into chunks when calling
RAND_DRBG_generate() to circumvent the size limitation of the buffer
to outlen <= drb->max_request. This loop was missing in RAND_DRBG_bytes(),
so it was adopted from drbg_bytes().

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/5251)
2018-02-05 20:05:14 +01:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c Update copyright years on all files merged since Jan 1st 2018 2018-01-09 05:49:01 +01:00
drbg_lib.c Fix size limitation of RAND_DRBG_bytes() 2018-02-05 20:05:14 +01:00
rand_egd.c Switch from ossl_rand to DRBG rand 2017-08-03 09:23:28 -04:00
rand_err.c Copyright update of more files that have changed this year 2018-01-19 13:34:03 +01:00
rand_lcl.h Add RAND_DRBG_bytes 2018-01-29 12:42:06 +01:00
rand_lib.c Revert the crypto "global lock" implementation 2018-01-31 12:25:28 -06: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