Searched refs:uniform_random (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/external/bsd/libfido2/dist/fuzz/
H A Duniform_random.c20 uint32_t uniform_random(uint32_t);
34 uniform_random(uint32_t upper_bound) function
H A Dclock.c34 if (uniform_random(800) < 1) {
40 drift = usec * 1000LL + (long long)uniform_random(10000000); /* 10ms */
56 if (uniform_random(400) < 1)
68 if (uniform_random(400) < 1)
H A Dpcsc.c41 if (uniform_random(400) < 1)
43 if (uniform_random(400) < 1)
45 if (uniform_random(400) < 1)
47 if (uniform_random(400) < 1)
62 if (reader_list == NULL || uniform_random(400) < 1)
64 if (uniform_random(400) < 1)
95 if ((r = uniform_random(400)) < 1)
101 if (uniform_random(400) < 1)
131 if (uniform_random(400) < 1 ||
H A Dudev.c97 if (uniform_random(400) < 1)
111 return uniform_random(400) < 1 ? NULL : "name"; /* XXX randomise? */
132 return uniform_random(400) < 1 ? NULL : "/dev/zero";
139 return uniform_random(400) < 1 ? NULL : "101010"; /* XXX randomise? */
184 return uniform_random(400) < 1 ? -EINVAL : 0;
191 return uniform_random(400) < 1 ? -EINVAL : 0;
210 return uniform_random(400) < 1 ? NULL : udev_list_entry;
238 if (uniform_random(400) < 1) {
H A Dmutator_aux.h105 uint32_t uniform_random(uint32_t);
H A Dwrap.c40 if (prng_up && uniform_random(400) < (prob)) { \
670 if (prng_up && uniform_random(400) < 1) {
674 if (prng_up && uniform_random(400) < 1) {
690 if (prng_up && uniform_random(400) < 1) {
H A Dmutator_aux.c169 if (prng_up && uniform_random(400) < 1) {
192 if (prng_up && uniform_random(400) < 1) {
H A Dfuzz_pcsc.c166 ndevs = uniform_random(64);
241 test_tx(p->path, NULL, CTAP_CMD_INIT, buf, uniform_random(20));
H A Dfuzz_hid.c190 ndevs = uniform_random(64);
H A Dfuzz_mgmt.c477 n = uniform_random(MAXRPID);
/netbsd-current/external/bsd/pam-u2f/dist/fuzz/
H A Dwrap.c42 if (uniform_random(400) < 1) { \
76 return (uniform_random(10) < 1) ? 0 : 1008;
82 if (uniform_random(400) < 1)
105 if (user == NULL || uniform_random(400) < 1)
107 if (uniform_random(400) < 1)
109 if (uniform_random(400) < 1)
127 if (offset > 1 && uniform_random(400) < 1)
151 return uniform_random(400) < 1 ? PAM_CONV_ERR : PAM_SUCCESS;
162 return uniform_random(400) < 1 ? PAM_CONV_ERR : PAM_SUCCESS;
173 return uniform_random(40
[all...]
H A Dfuzz.h34 uint32_t uniform_random(uint32_t);
/netbsd-current/external/bsd/libfido2/dist/src/
H A Ddev.c21 uniform_random(CTAP_MAX_REPORT_LEN - CTAP_MIN_REPORT_LEN + 1);
23 uniform_random(CTAP_MAX_REPORT_LEN - CTAP_MIN_REPORT_LEN + 1);
H A Dextern.h248 uint32_t uniform_random(uint32_t);

Completed in 215 milliseconds