Lines Matching refs:RANDOM_SIZE
71 #define RANDOM_SIZE 16 macro
189 unsigned char dummy[RANDOM_SIZE]; in test_drbg_reseed()
217 RANDOM_SIZE), expect_success) in test_drbg_reseed()
219 RANDOM_SIZE), expect_success)) in test_drbg_reseed()
282 unsigned char random[RANDOM_SIZE]; /* random output */
306 result = memcmp(l->random, r->random, RANDOM_SIZE); in compare_drbg_fork_result()
338 unsigned char random[2 * RANDOM_SIZE]; in test_drbg_reseed_in_child()
361 memcpy(result[0].random, &random[0], RANDOM_SIZE); in test_drbg_reseed_in_child()
366 memcpy(result[1].random, &random[RANDOM_SIZE], RANDOM_SIZE); in test_drbg_reseed_in_child()
383 &random[0], &random[RANDOM_SIZE], in test_drbg_reseed_in_child()
408 unsigned char random[2 * RANDOM_SIZE]; in test_rand_reseed_on_fork()
409 unsigned char sample[DRBG_FORK_RESULT_COUNT * RANDOM_SIZE]; in test_rand_reseed_on_fork()
436 &random[0], &random[RANDOM_SIZE], in test_rand_reseed_on_fork()
446 memcpy(result[0].random, &random[0], RANDOM_SIZE); in test_rand_reseed_on_fork()
451 memcpy(result[1].random, &random[RANDOM_SIZE], RANDOM_SIZE); in test_rand_reseed_on_fork()
455 memcpy(psample, &result[i].random[0], RANDOM_SIZE); in test_rand_reseed_on_fork()
456 psample += RANDOM_SIZE; in test_rand_reseed_on_fork()
503 char *rand_hex = OPENSSL_buf2hexstr(result[i].random, RANDOM_SIZE); in test_rand_reseed_on_fork()
893 ADD_ALL_TESTS(test_rand_fork_safety, RANDOM_SIZE); in setup_tests()