H A D | drbgtest.c | 171 * |primary|, |public|, |private|: pointers to the three shared DRBGs 182 EVP_RAND_CTX *public, in test_drbg_reseed() 209 || !TEST_int_ne(public_reseed = reseed_counter(public), 0) in test_drbg_reseed() 220 /* Generate random output from the public and private DRBG */ in test_drbg_reseed() 236 || !TEST_int_eq(state(public), expected_state) in test_drbg_reseed() 247 /* Test whether public DRBG was reseeded as expected */ in test_drbg_reseed() 248 if (!TEST_int_ge(reseed_counter(public), public_reseed) in test_drbg_reseed() 249 || !TEST_uint_ge(reseed_counter(public), in test_drbg_reseed() 255 /* Test whether public DRBG was reseeded as expected */ in test_drbg_reseed() 269 if (!TEST_time_t_ge(reseed_time(public), reseed_tim in test_drbg_reseed() 180 test_drbg_reseed(int expect_success, EVP_RAND_CTX *primary, EVP_RAND_CTX *public, EVP_RAND_CTX *private, unsigned char *public_random, unsigned char *private_random, int expect_primary_reseed, int expect_public_reseed, int expect_private_reseed, time_t reseed_when ) test_drbg_reseed() argument 336 test_drbg_reseed_in_child(EVP_RAND_CTX *primary, EVP_RAND_CTX *public, EVP_RAND_CTX *private, drbg_fork_result result[2]) test_drbg_reseed_in_child() argument 405 test_rand_reseed_on_fork(EVP_RAND_CTX *primary, EVP_RAND_CTX *public, EVP_RAND_CTX *private) test_rand_reseed_on_fork() argument 529 EVP_RAND_CTX *primary, *public, *private; test_rand_fork_safety() local 556 EVP_RAND_CTX *primary, *public, *private; test_rand_reseed() local 690 EVP_RAND_CTX *public = NULL, *private = NULL; run_multi_thread_test() local [all...] |