openssl/crypto/rand
Dr. Matthias St. Pierre 1d0671b81f RAND_load_file(): avoid adding small chunks to RAND_add()
Increase the load buffer size such that it exceeds the chunk
size by a comfortable amount. This is done to avoid calling
RAND_add() with a small final chunk. Instead, such a small
final chunk will be added together with the previous chunk
(unless it's the only one).

Related-to: #7449

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7456)
2018-10-26 08:50:26 +02:00
..
build.info crypto/rand: rename drbg_rand.c to drbg_ctr.c 2018-01-04 11:47:30 +10:00
drbg_ctr.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
drbg_lib.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
rand_egd.c Update copyright year 2018-05-29 13:16:04 +01:00
rand_err.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
rand_lcl.h RAND: ensure INT32_MAX is defined 2018-10-23 10:56:59 +02:00
rand_lib.c RAND_add(): fix heap corruption in error path 2018-10-22 14:57:04 +02:00
rand_unix.c DRBG: fix reseeding via RAND_add()/RAND_seed() with large input 2018-10-16 22:32:42 +02:00
rand_vms.c VMS: only use the high precision on VMS v8.4 and up 2018-09-15 14:59:06 +02:00
rand_win.c crypto/rand: fix some style nit's 2018-10-10 14:02:45 +02:00
randfile.c RAND_load_file(): avoid adding small chunks to RAND_add() 2018-10-26 08:50:26 +02:00