Home
last modified time | relevance | path

Searched refs:fake_rand_bytes (Results 1 – 1 of 1) sorted by relevance

/third_party/openssl/test/
Dsm2_internal_test.c34 static uint8_t *fake_rand_bytes = NULL; variable
42 if (!TEST_ptr(fake_rand_bytes) || !TEST_size_t_gt(fake_rand_size, 0)) in get_faked_bytes()
48 *buf++ = fake_rand_bytes[fake_rand_bytes_offset++]; in get_faked_bytes()
56 OPENSSL_free(fake_rand_bytes); in start_fake_rand()
59 if (!TEST_ptr(fake_rand_bytes = OPENSSL_hexstr2buf(hex_bytes, NULL))) in start_fake_rand()
71 OPENSSL_free(fake_rand_bytes); in restore_rand()
72 fake_rand_bytes = NULL; in restore_rand()