Home
last modified time | relevance | path

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

/openssl/test/testutil/
H A Drandom.c19 uint32_t test_random(void) { in test_random() function
39 test_random(); in test_random_seed()
H A Ddriver.c317 j = test_random() % (1 + i); in run_tests()
367 jstep = test_random() % all_tests[i].num; in run_tests()
H A Dfake_random.c81 r = test_random(); in fake_rand_generate()
/openssl/test/
H A Dquic_stream_test.c262 src_buf[i] = (unsigned char)(test_random() & 0xFF); in test_sstream_bulk()
267 l = (test_random() % init_size) + 1; in test_sstream_bulk()
288 if ((test_random() & 1) != 0) { in test_sstream_bulk()
495 bulk_data[i] = (unsigned char)(test_random() & 0xFF); in test_rstream_random()
502 if (test_random() % 10 == 0) in test_rstream_random()
516 if (test_random() % 5 != 0) in test_rstream_random()
520 off = read_off + test_random() % 50; in test_rstream_random()
523 size = test_random() % 100 + 1; in test_rstream_random()
553 if (test_random() % 50 == 0) in test_rstream_random()
558 if (!fin_set && queued_max >= data_size - test_random() % 200) { in test_rstream_random()
H A Dpriority_queue_test.c73 values[i] = random ? test_random() : (size_t)(count - i); in test_size_t_priority_queue_int()
99 i = test_random() % count; in test_size_t_priority_queue_int()
H A Dlhash_test.c562 index = test_random() % TEST_MT_POOL_SZ; in do_mt_hash_work()
563 behavior = (char)(test_random() % NUM_BEHAVIORS); in do_mt_hash_work()
H A Dquicfaultstest.c236 buf[(size_t)test_random() % len] ^= 0xff; in on_packet_cipher_cb()
H A Dbio_base64_test.c82 && (test_random() % llen) < wscnt in memoutws()
H A Dbio_dgram_test.c515 key[i] = test_random(); in test_bio_dgram_pair()
H A Ddestest.c741 in[i] = test_random(); in test_des_key_wrap()
H A Dtestutil.h628 uint32_t test_random(void);
H A Dhpke_test.c780 #define COIN_IS_HEADS (test_random() % 2)
/openssl/test/helpers/
H A Dnoisydgrambio.c234 if (test_random() % noise_rate != 0) { in get_noise()
240 type = test_random() % NUM_NOISE_TYPES; in get_noise()
257 ? (uint64_t)((test_random() % MAX_DGRAM_REINJECT) + 1) in get_noise()
270 *flip = (test_random() % 255 + 1) << (test_random() % 8); in get_noise()
275 *flip_offset = test_random() % (25 * (1 + long_header)); in get_noise()

Completed in 40 milliseconds