Home
last modified time | relevance | path

Searched refs:reseed_time (Results 1 – 3 of 3) sorted by relevance

/freebsd/crypto/openssl/test/
H A Ddrbgtest.c122 static time_t reseed_time(EVP_RAND_CTX *drbg) in reseed_time() function
264 if (!TEST_time_t_le(before_reseed, reseed_time(primary)) in test_drbg_reseed()
265 || !TEST_time_t_le(reseed_time(primary), after_reseed)) in test_drbg_reseed()
269 if (!TEST_time_t_ge(reseed_time(public), reseed_time(primary)) in test_drbg_reseed()
270 || !TEST_time_t_ge(reseed_time(private), reseed_time(primary))) in test_drbg_reseed()
/freebsd/crypto/openssl/providers/implementations/rands/
H A Ddrbg.c475 drbg->reseed_time = time(NULL); in ossl_prov_drbg_instantiate()
598 drbg->reseed_time = time(NULL); in ossl_prov_drbg_reseed()
670 if (now < drbg->reseed_time in ossl_prov_drbg_generate()
671 || now - drbg->reseed_time >= drbg->reseed_time_interval) in ossl_prov_drbg_generate()
911 if (p != NULL && !OSSL_PARAM_set_time_t(p, drbg->reseed_time)) in ossl_drbg_get_ctx_params()
H A Ddrbg_local.h147 time_t reseed_time; member