Lines Matching refs:reseed_next_counter
444 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()
551 drbg->reseed_next_counter = 1; in ossl_prov_drbg_reseed()
594 tsan_store(&drbg->reseed_counter, drbg->reseed_next_counter); in ossl_prov_drbg_reseed()