mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
4917e91160
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) |
||
---|---|---|
.. | ||
__DECC_INCLUDE_EPILOGUE.H | ||
__DECC_INCLUDE_PROLOGUE.H | ||
bio.h | ||
comp.h | ||
conf.h | ||
constant_time_locl.h | ||
cryptlib.h | ||
dane.h | ||
dso.h | ||
dsoerr.h | ||
err.h | ||
nelem.h | ||
numbers.h | ||
o_dir.h | ||
o_str.h | ||
rand.h | ||
refcount.h | ||
sockets.h | ||
thread_once.h |