Lines Matching refs:EVP_RAND_CTX

48 static int gen_bytes(EVP_RAND_CTX *drbg, unsigned char *buf, int num)  in gen_bytes()
82 static int state(EVP_RAND_CTX *drbg) in state()
87 static unsigned int query_rand_uint(EVP_RAND_CTX *drbg, const char *name) in query_rand_uint()
99 static unsigned int name(EVP_RAND_CTX *drbg) \
105 static PROV_DRBG *prov_rand(EVP_RAND_CTX *drbg) in DRBG_UINT()
110 static void set_reseed_counter(EVP_RAND_CTX *drbg, unsigned int n) in set_reseed_counter()
117 static void inc_reseed_counter(EVP_RAND_CTX *drbg) in inc_reseed_counter()
122 static time_t reseed_time(EVP_RAND_CTX *drbg) in reseed_time()
140 EVP_RAND_CTX *primary = RAND_get0_primary(NULL); in using_fips_rng()
160 static int disable_crngt(EVP_RAND_CTX *drbg) in disable_crngt()
181 EVP_RAND_CTX *primary, in test_drbg_reseed()
182 EVP_RAND_CTX *public, in test_drbg_reseed()
183 EVP_RAND_CTX *private, in test_drbg_reseed()
336 static int test_drbg_reseed_in_child(EVP_RAND_CTX *primary, in test_drbg_reseed_in_child()
337 EVP_RAND_CTX *public, in test_drbg_reseed_in_child()
338 EVP_RAND_CTX *private, in test_drbg_reseed_in_child()
405 static int test_rand_reseed_on_fork(EVP_RAND_CTX *primary, in test_rand_reseed_on_fork()
406 EVP_RAND_CTX *public, in test_rand_reseed_on_fork()
407 EVP_RAND_CTX *private) in test_rand_reseed_on_fork()
529 EVP_RAND_CTX *primary, *public, *private; in test_rand_fork_safety()
556 EVP_RAND_CTX *primary, *public, *private; in test_rand_reseed()
676 static int set_reseed_time_interval(EVP_RAND_CTX *drbg, int t) in set_reseed_time_interval()
690 EVP_RAND_CTX *public = NULL, *private = NULL; in run_multi_thread_test()
788 static EVP_RAND_CTX *new_drbg(EVP_RAND_CTX *parent) in new_drbg()
792 EVP_RAND_CTX *drbg = NULL; in new_drbg()
810 EVP_RAND_CTX *x = NULL, *y = NULL, *z = NULL; in test_rand_prediction_resistance()