diff options
Diffstat (limited to 'crypto/rand/rand_local.h')
-rw-r--r-- | crypto/rand/rand_local.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crypto/rand/rand_local.h b/crypto/rand/rand_local.h index 0cdfb3332e..a04f9b0067 100644 --- a/crypto/rand/rand_local.h +++ b/crypto/rand/rand_local.h @@ -248,9 +248,15 @@ struct rand_drbg_st { * This value is ignored if it is zero. */ time_t reseed_time_interval; + + /* + * Enables reseed propagation (see following comment) + */ + unsigned int enable_reseed_propagation; + /* * Counts the number of reseeds since instantiation. - * This value is ignored if it is zero. + * This value is ignored if enable_reseed_propagation is zero. * * This counter is used only for seed propagation from the <master> DRBG * to its two children, the <public> and <private> DRBG. This feature is @@ -259,7 +265,6 @@ struct rand_drbg_st { * the output of RAND_bytes() resp. RAND_priv_bytes(). */ TSAN_QUALIFIER unsigned int reseed_prop_counter; - unsigned int reseed_next_counter; size_t seedlen; DRBG_STATUS state; |