Searched refs:RANDOM_SIZE (Results 1 – 2 of 2) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | drbgtest.c | 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() [all …]
|
H A D | srptest.c | 27 # define RANDOM_SIZE 32 /* use 256 bits on each side */ macro 43 unsigned char rand_tmp[RANDOM_SIZE]; in run_srp()
|