Home
last modified time | relevance | path

Searched refs:arc4random_uniform (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fuzz.c49 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
52 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
67 memset(dp, arc4random_uniform(255) + 1, r); in sshbuf_fuzz_tests()
71 r = arc4random_uniform(8 * 1024); in sshbuf_fuzz_tests()
75 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
93 r = arc4random_uniform(2 * 1024); in sshbuf_fuzz_tests()
97 r = arc4random_uniform(16 * 1024); in sshbuf_fuzz_tests()
104 if (arc4random_uniform(8192) == 0) { in sshbuf_fuzz_tests()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h102 return (arc4random_uniform(max)); in get_random_u32_below()
117 return (arc4random_uniform(max)); in prandom_u32_max()
/freebsd/contrib/unbound/compat/
H A Darc4random_uniform.c34 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
/freebsd/sys/libkern/
H A Darc4random_uniform.c33 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
/freebsd/lib/libc/gen/
H A Darc4random_uniform.c33 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
/freebsd/crypto/openssh/openbsd-compat/
H A Darc4random_uniform.c40 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
H A Dbindresvport.c94 port = arc4random_uniform(NPORTS) + STARTPORT; in bindresvport_sa()
H A Dmktemp.c95 r = arc4random_uniform(NUM_CHARS); in mktemp_internal()
H A DMakefile.in21 arc4random_uniform.o \
H A Dopenbsd-compat.h241 uint32_t arc4random_uniform(uint32_t);
/freebsd/tools/build/cross-build/include/linux/
H A Dstdlib.h65 unsigned arc4random_uniform(unsigned);
/freebsd/tests/sys/netinet/
H A Dip_reass_test.c206 ipid = arc4random_uniform(UINT16_MAX + 1); in ATF_TC_BODY()
286 ipid = arc4random_uniform(UINT16_MAX + 1); in ATF_TC_BODY()
336 ipid = arc4random_uniform(UINT16_MAX + 1); in ATF_TC_BODY()
/freebsd/usr.bin/fortune/fortune/
H A Dfortune.c945 choice = arc4random_uniform(100); in get_fort()
966 choice = arc4random_uniform(Noprob_tbl.str_numstr); in get_fort()
1007 choice = arc4random_uniform(parent->num_children); in pick_child()
1017 choice = arc4random_uniform(parent->tbl.str_numstr); in pick_child()
1099 fp->pos = arc4random_uniform(fp->tbl.str_numstr); in get_pos()
1106 fp->pos = arc4random_uniform(fp->tbl.str_numstr); in get_pos()
/freebsd/usr.bin/random/
H A Drandom.c148 return (arc4random_uniform(denom)); in main()
H A Drandomize_fd.c212 selected = arc4random_uniform(numnode); in randomize_fd()
/freebsd/tests/sys/sys/
H A Dsplay_test.c72 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
H A Darb_test.c76 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
H A Drb_test.c74 j = i + arc4random_uniform(ITER - i); in ATF_TC_BODY()
/freebsd/tools/test/stress2/misc/
H A Dsendfile4.sh125 written = arc4random_uniform(written) + 1;
H A Dsendfile5.sh148 written = arc4random_uniform(written) + 1;
/freebsd/contrib/unbound/util/
H A Drandom.c105 return (long)arc4random_uniform((uint32_t)x); in ub_random_max()
/freebsd/lib/libc/stdio/
H A Dmktemp.c144 rand = arc4random_uniform(sizeof(padchar) - 1); in _gettemp()
/freebsd/lib/libunbound/
H A Dconfig.h1460 uint32_t arc4random_uniform(uint32_t upper_bound);
1472 uint32_t arc4random_uniform(uint32_t upper_bound);
/freebsd/usr.sbin/pkg/
H A Ddns_utils.c99 chosen[i] = arc4random_uniform(d[i]->weight * 100 / in compute_weight()
/freebsd/include/
H A Dstdlib.h256 arc4random_uniform(__uint32_t);

123