Home
last modified time | relevance | path

Searched refs:reseed_next_counter (Results 1 – 2 of 2) sorted by relevance

/third_party/openssl/providers/implementations/rands/
Ddrbg.c444 drbg->reseed_next_counter = tsan_load(&drbg->reseed_counter); in ossl_prov_drbg_instantiate()
445 if (drbg->reseed_next_counter) { in ossl_prov_drbg_instantiate()
446 drbg->reseed_next_counter++; in ossl_prov_drbg_instantiate()
447 if (!drbg->reseed_next_counter) in ossl_prov_drbg_instantiate()
448 drbg->reseed_next_counter = 1; in ossl_prov_drbg_instantiate()
471 tsan_store(&drbg->reseed_counter, drbg->reseed_next_counter); in ossl_prov_drbg_instantiate()
547 drbg->reseed_next_counter = tsan_load(&drbg->reseed_counter); in ossl_prov_drbg_reseed()
548 if (drbg->reseed_next_counter) { in ossl_prov_drbg_reseed()
549 drbg->reseed_next_counter++; in ossl_prov_drbg_reseed()
550 if (!drbg->reseed_next_counter) in ossl_prov_drbg_reseed()
[all …]
Ddrbg_local.h164 unsigned int reseed_next_counter; member