Home
last modified time | relevance | path

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

12

/freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fuzz.c50 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
53 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
68 memset(dp, arc4random_uniform(255) + 1, r); in sshbuf_fuzz_tests()
72 r = arc4random_uniform(8 * 1024); in sshbuf_fuzz_tests()
76 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
94 r = arc4random_uniform(2 * 1024); in sshbuf_fuzz_tests()
98 r = arc4random_uniform(16 * 1024); in sshbuf_fuzz_tests()
105 if (arc4random_uniform(8192) == 0) { in sshbuf_fuzz_tests()
/freebsd-13.1/contrib/unbound/compat/
H A Darc4random_uniform.c34 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
/freebsd-13.1/sys/libkern/
H A Darc4random_uniform.c35 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
/freebsd-13.1/lib/libc/gen/
H A Darc4random_uniform.c35 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
H A DMakefile.inc22 arc4random_uniform.c \
335 arc4random.3 arc4random_uniform.3
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h78 return (arc4random_uniform(max)); in prandom_u32_max()
/freebsd-13.1/tests/sys/netinet/
H A Dip_reass_test.c209 ipid = arc4random_uniform(UINT16_MAX + 1); in ATF_TC_BODY()
289 ipid = arc4random_uniform(UINT16_MAX + 1); in ATF_TC_BODY()
339 ipid = arc4random_uniform(UINT16_MAX + 1); in ATF_TC_BODY()
/freebsd-13.1/tools/build/cross-build/include/linux/
H A Dstdlib.h69 unsigned arc4random_uniform(unsigned);
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dbindresvport.c93 port = arc4random_uniform(NPORTS) + STARTPORT; in bindresvport_sa()
H A Dmktemp.c72 r = arc4random_uniform(NUM_CHARS); in mktemp_internal()
H A Dopenbsd-compat.h223 u_int32_t arc4random_uniform(u_int32_t);
H A Darc4random.c298 arc4random_uniform(u_int32_t upper_bound) in arc4random_uniform() function
/freebsd-13.1/usr.bin/fortune/fortune/
H A Dfortune.c959 choice = arc4random_uniform(100); in get_fort()
979 choice = arc4random_uniform(Noprob_tbl.str_numstr); in get_fort()
1020 choice = arc4random_uniform(parent->num_children); in pick_child()
1030 choice = arc4random_uniform(parent->tbl.str_numstr); in pick_child()
1112 fp->pos = arc4random_uniform(fp->tbl.str_numstr); in get_pos()
1119 fp->pos = arc4random_uniform(fp->tbl.str_numstr); in get_pos()
/freebsd-13.1/usr.bin/random/
H A Drandom.c162 return (arc4random_uniform(denom)); in main()
H A Drandomize_fd.c215 selected = arc4random_uniform(numnode); in randomize_fd()
/freebsd-13.1/tests/sys/sys/
H A Drb_test.c74 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
H A Dsplay_test.c74 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
H A Darb_test.c78 tmp->key = arc4random_uniform(MAX-MIN); in ATF_TC_BODY()
/freebsd-13.1/contrib/unbound/util/
H A Drandom.c105 return (long)arc4random_uniform((uint32_t)x); in ub_random_max()
/freebsd-13.1/usr.sbin/unbound/
H A Dconfig.h1319 uint32_t arc4random_uniform(uint32_t upper_bound);
1331 uint32_t arc4random_uniform(uint32_t upper_bound);
/freebsd-13.1/lib/libc/stdio/
H A Dmktemp.c150 rand = arc4random_uniform(sizeof(padchar) - 1); in _gettemp()
/freebsd-13.1/include/
H A Dstdlib.h266 arc4random_uniform(__uint32_t);
/freebsd-13.1/usr.sbin/pkg/
H A Ddns_utils.c101 chosen[i] = arc4random_uniform(d[i]->weight * 100 / in compute_weight()
/freebsd-13.1/sbin/routed/
H A Dmain.c807 : (lo + arc4random_uniform(1 + hi - lo))); in intvl_random()
808 tp->tv_usec = arc4random_uniform(1000000); in intvl_random()
/freebsd-13.1/sys/sys/
H A Dlibkern.h130 uint32_t arc4random_uniform(uint32_t);

12