openssl/crypto/rand
Dr. Matthias St. Pierre 4917e91160 RAND_DRBG: add a function for setting the reseeding defaults
The introduction of thread local public and private DRBG instances (#5547)
makes it very cumbersome to change the reseeding (time) intervals for
those instances. This commit provides a function to set the default
values for all subsequently created DRBG instances.

 int RAND_DRBG_set_reseed_defaults(
                                   unsigned int master_reseed_interval,
                                   unsigned int slave_reseed_interval,
                                   time_t master_reseed_time_interval,
                                   time_t slave_reseed_time_interval
                                   );

The function is intended only to be used during application initialization,
before any threads are created and before any random bytes are generated.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5576)
2018-03-10 00:26:30 +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 RAND_DRBG: add a function for setting the reseeding defaults 2018-03-10 00:26:30 +01:00
drbg_lib.c RAND_DRBG: add a function for setting the reseeding defaults 2018-03-10 00:26:30 +01:00
rand_egd.c
rand_err.c Check the parent DRBG's strength 2018-03-06 18:34:23 +01:00
rand_lcl.h DRBG: make locking api truly private 2018-02-15 12:25:01 +01:00
rand_lib.c Check the parent DRBG's strength 2018-03-06 18:34:23 +01:00
rand_unix.c Update copyright year 2018-02-27 13:59:42 +00:00
rand_vms.c
rand_win.c
randfile.c