Lines Matching refs:private
177 EVP_RAND_CTX *private, in test_drbg_reseed() argument
204 || !TEST_int_ne(private_reseed = reseed_counter(private), 0)) in test_drbg_reseed()
231 || !TEST_int_eq(state(private), expected_state)) in test_drbg_reseed()
250 if (!TEST_int_ge(reseed_counter(private), private_reseed) in test_drbg_reseed()
251 || !TEST_uint_ge(reseed_counter(private), in test_drbg_reseed()
264 || !TEST_time_t_ge(reseed_time(private), reseed_time(primary))) in test_drbg_reseed()
286 int private; /* true if the private drbg was used */ member
303 result = l->private - r->private; in compare_drbg_fork_result()
332 EVP_RAND_CTX *private, in test_drbg_reseed_in_child() argument
360 result[0].private = 0; in test_drbg_reseed_in_child()
365 result[1].private = 1; in test_drbg_reseed_in_child()
382 if (TEST_true(test_drbg_reseed(1, primary, public, private, in test_drbg_reseed_in_child()
401 EVP_RAND_CTX *private) in test_rand_reseed_on_fork() argument
426 private, in test_rand_reseed_on_fork()
435 primary, public, private, in test_rand_reseed_on_fork()
445 result[0].private = 0; in test_rand_reseed_on_fork()
450 result[1].private = 1; in test_rand_reseed_on_fork()
467 ++duplicate[result[i].private]; in test_rand_reseed_on_fork()
509 result[i].private ? "private" : "public" in test_rand_reseed_on_fork()
523 EVP_RAND_CTX *primary, *public, *private; in test_rand_fork_safety() local
528 || !TEST_ptr(private = RAND_get0_private(NULL))) in test_rand_fork_safety()
532 if (!TEST_true(test_rand_reseed_on_fork(primary, public, private))) in test_rand_fork_safety()
550 EVP_RAND_CTX *primary, *public, *private; in test_rand_reseed() local
567 || !TEST_ptr(private = RAND_get0_private(NULL))) in test_rand_reseed()
571 if (!TEST_ptr_ne(public, private) in test_rand_reseed()
573 || !TEST_ptr_ne(private, primary) in test_rand_reseed()
575 || !TEST_ptr_eq(prov_rand(private)->parent, prov_rand(primary))) in test_rand_reseed()
584 EVP_RAND_uninstantiate(private); in test_rand_reseed()
591 primary, public, private, in test_rand_reseed()
600 primary, public, private, in test_rand_reseed()
611 primary, public, private, in test_rand_reseed()
621 inc_reseed_counter(private); in test_rand_reseed()
623 primary, public, private, in test_rand_reseed()
635 primary, public, private, in test_rand_reseed()
654 primary, public, private, in test_rand_reseed()
684 EVP_RAND_CTX *public = NULL, *private = NULL; in run_multi_thread_test() local
687 || !TEST_ptr(private = RAND_get0_private(NULL)) in run_multi_thread_test()
688 || !TEST_true(set_reseed_time_interval(private, 1)) in run_multi_thread_test()