Lines Matching refs:RANDOM_SIZE
77 #define RANDOM_SIZE 16 macro
195 unsigned char dummy[RANDOM_SIZE]; in test_drbg_reseed()
223 RANDOM_SIZE), expect_success) in test_drbg_reseed()
225 RANDOM_SIZE), expect_success)) in test_drbg_reseed()
288 unsigned char random[RANDOM_SIZE]; /* random output */
312 result = memcmp(l->random, r->random, RANDOM_SIZE); in compare_drbg_fork_result()
344 unsigned char random[2 * RANDOM_SIZE]; in test_drbg_reseed_in_child()
367 memcpy(result[0].random, &random[0], RANDOM_SIZE); in test_drbg_reseed_in_child()
372 memcpy(result[1].random, &random[RANDOM_SIZE], RANDOM_SIZE); in test_drbg_reseed_in_child()
389 &random[0], &random[RANDOM_SIZE], in test_drbg_reseed_in_child()
414 unsigned char random[2 * RANDOM_SIZE]; in test_rand_reseed_on_fork()
415 unsigned char sample[DRBG_FORK_RESULT_COUNT * RANDOM_SIZE]; in test_rand_reseed_on_fork()
442 &random[0], &random[RANDOM_SIZE], in test_rand_reseed_on_fork()
452 memcpy(result[0].random, &random[0], RANDOM_SIZE); in test_rand_reseed_on_fork()
457 memcpy(result[1].random, &random[RANDOM_SIZE], RANDOM_SIZE); in test_rand_reseed_on_fork()
461 memcpy(psample, &result[i].random[0], RANDOM_SIZE); in test_rand_reseed_on_fork()
462 psample += RANDOM_SIZE; in test_rand_reseed_on_fork()
509 char *rand_hex = OPENSSL_buf2hexstr(result[i].random, RANDOM_SIZE); in test_rand_reseed_on_fork()
899 ADD_ALL_TESTS(test_rand_fork_safety, RANDOM_SIZE); in setup_tests()