Lines Matching refs:EVP_RAND_CTX
42 static int gen_bytes(EVP_RAND_CTX *drbg, unsigned char *buf, int num) in gen_bytes()
76 static int state(EVP_RAND_CTX *drbg) in state()
81 static unsigned int query_rand_uint(EVP_RAND_CTX *drbg, const char *name) in query_rand_uint()
93 static unsigned int name(EVP_RAND_CTX *drbg) \
99 static PROV_DRBG *prov_rand(EVP_RAND_CTX *drbg) in DRBG_UINT()
104 static void set_reseed_counter(EVP_RAND_CTX *drbg, unsigned int n) in set_reseed_counter()
111 static void inc_reseed_counter(EVP_RAND_CTX *drbg) in inc_reseed_counter()
116 static time_t reseed_time(EVP_RAND_CTX *drbg) in reseed_time()
134 EVP_RAND_CTX *primary = RAND_get0_primary(NULL); in using_fips_rng()
154 static int disable_crngt(EVP_RAND_CTX *drbg) in disable_crngt()
175 EVP_RAND_CTX *primary, in test_drbg_reseed()
176 EVP_RAND_CTX *public, in test_drbg_reseed()
177 EVP_RAND_CTX *private, in test_drbg_reseed()
330 static int test_drbg_reseed_in_child(EVP_RAND_CTX *primary, in test_drbg_reseed_in_child()
331 EVP_RAND_CTX *public, in test_drbg_reseed_in_child()
332 EVP_RAND_CTX *private, in test_drbg_reseed_in_child()
399 static int test_rand_reseed_on_fork(EVP_RAND_CTX *primary, in test_rand_reseed_on_fork()
400 EVP_RAND_CTX *public, in test_rand_reseed_on_fork()
401 EVP_RAND_CTX *private) in test_rand_reseed_on_fork()
523 EVP_RAND_CTX *primary, *public, *private; in test_rand_fork_safety()
550 EVP_RAND_CTX *primary, *public, *private; in test_rand_reseed()
670 static int set_reseed_time_interval(EVP_RAND_CTX *drbg, int t) in set_reseed_time_interval()
684 EVP_RAND_CTX *public = NULL, *private = NULL; in run_multi_thread_test()
782 static EVP_RAND_CTX *new_drbg(EVP_RAND_CTX *parent) in new_drbg()
786 EVP_RAND_CTX *drbg = NULL; in new_drbg()
804 EVP_RAND_CTX *x = NULL, *y = NULL, *z = NULL; in test_rand_prediction_resistance()