| /freebsd-13.1/sys/netinet6/ |
| H A D | ip6_id.c | 189 p->ru_x = arc4random() % p->ru_m; in initid() 192 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid() 193 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid() 196 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1; in initid() 198 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); in initid() 202 j = arc4random() % p->ru_n; in initid() 236 n = arc4random() & 0x3; in randomid()
|
| /freebsd-13.1/contrib/ntp/sntp/libevent/ |
| H A D | evutil_rand.c | 56 (void) arc4random(); in evutil_secure_rng_init() 99 ev_uint32_t u = arc4random(); in ev_arc4random_buf() 106 *(ev_uint32_t*)b = arc4random(); in ev_arc4random_buf() 111 ev_uint32_t u = arc4random(); in ev_arc4random_buf()
|
| H A D | arc4random.c | 485 arc4random(void) in arc4random() function 549 r = arc4random(); in arc4random_uniform()
|
| /freebsd-13.1/contrib/libevent/ |
| H A D | evutil_rand.c | 56 (void) arc4random(); in evutil_secure_rng_init() 99 ev_uint32_t u = arc4random(); in ev_arc4random_buf() 106 *(ev_uint32_t*)b = arc4random(); in ev_arc4random_buf() 111 ev_uint32_t u = arc4random(); in ev_arc4random_buf()
|
| H A D | arc4random.c | 485 arc4random(void) in arc4random() function 549 r = arc4random(); in arc4random_uniform()
|
| /freebsd-13.1/contrib/apr/file_io/unix/ |
| H A D | mktemp.c | 64 #define arc4random() rand() macro 70 #define arc4random() random() macro 118 randnum = arc4random() % (sizeof(padchar) - 1); in gettemp()
|
| /freebsd-13.1/crypto/openssh/openbsd-compat/ |
| H A D | arc4random.c | 242 arc4random(void) in arc4random() function 278 r = arc4random(); in arc4random_buf() 315 r = arc4random(); in arc4random_uniform() 337 arc4random();
|
| /freebsd-13.1/ |
| H A D | LOCKS | 12 head/sys/libkern/arc4random.c Requires Security Officer approval. 14 stable/*/sys/libkern/arc4random.c Requires Security Officer approval.
|
| /freebsd-13.1/sbin/fsirand/ |
| H A D | fsirand.c | 174 sblock->fs_id[1] = arc4random(); in fsirand() 205 dp1->di_gen = arc4random(); in fsirand() 208 dp2->di_gen = arc4random(); in fsirand()
|
| /freebsd-13.1/sys/dev/cxgbe/iw_cxgbe/ |
| H A D | id_table.c | 64 alloc->last += arc4random() % RANDOM_SKIP; in c4iw_id_alloc() 98 alloc->last = arc4random() % RANDOM_SKIP; in c4iw_id_table_alloc()
|
| /freebsd-13.1/sys/geom/raid/ |
| H A D | md_sii.c | 399 meta->timestamp[0] = arc4random(); in sii_meta_write_spare() 400 meta->timestamp[1] = arc4random(); in sii_meta_write_spare() 401 meta->timestamp[2] = arc4random(); in sii_meta_write_spare() 402 meta->timestamp[3] = arc4random(); in sii_meta_write_spare() 403 meta->timestamp[4] = arc4random(); in sii_meta_write_spare() 404 meta->timestamp[5] = arc4random(); in sii_meta_write_spare() 408 meta->raid_location = arc4random(); in sii_meta_write_spare() 887 mdi->mdio_timestamp[5] = arc4random(); in g_raid_md_create_sii() 888 mdi->mdio_timestamp[4] = arc4random(); in g_raid_md_create_sii() 889 mdi->mdio_timestamp[3] = arc4random(); in g_raid_md_create_sii() [all …]
|
| /freebsd-13.1/contrib/netbsd-tests/lib/libc/ |
| H A D | t_cdb.c | 77 sorted_keys[i] = keys[i] = arc4random(); in init_keys() 103 ATF_REQUIRE(cdbw_output(db, fd, "test database", arc4random) == 0); in write_database()
|
| /freebsd-13.1/lib/libc/gen/ |
| H A D | Makefile.inc | 20 arc4random.c \ 21 arc4random-compat.c \ 177 CFLAGS.arc4random.c= -I${SRCTOP}/sys -I${SRCTOP}/sys/crypto/chacha20 205 arc4random.3 \ 334 MLINKS+=arc4random.3 arc4random_buf.3 \ 335 arc4random.3 arc4random_uniform.3
|
| H A D | arc4random_uniform.c | 52 r = arc4random(); in arc4random_uniform()
|
| /freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_fuzz.c | 81 ret = ((arc4random() & 1) ? in sshbuf_fuzz_tests() 120 r |= arc4random() & 1; in sshbuf_fuzz_tests()
|
| /freebsd-13.1/contrib/unbound/compat/ |
| H A D | arc4random_uniform.c | 51 r = arc4random(); in arc4random_uniform()
|
| /freebsd-13.1/sys/libkern/ |
| H A D | arc4random_uniform.c | 52 r = arc4random(); in arc4random_uniform()
|
| /freebsd-13.1/sys/netpfil/pf/ |
| H A D | pf_lb.c | 267 cut = arc4random() % (1 + high - low) + low; in pf_get_sport() 323 cut = arc4random() & ahigh; in pf_get_mape_sport() 433 rpool->counter.addr32[0] = htonl(arc4random()); in pf_map_addr() 440 htonl(arc4random()); in pf_map_addr() 445 htonl(arc4random()); in pf_map_addr() 450 htonl(arc4random()); in pf_map_addr() 455 htonl(arc4random()); in pf_map_addr()
|
| /freebsd-13.1/sys/kern/ |
| H A D | uipc_mbufhash.c | 64 seed = arc4random(); in m_ether_tcpip_hash_init() 73 seed = arc4random(); in m_infiniband_tcpip_hash_init()
|
| /freebsd-13.1/tools/build/cross-build/include/linux/ |
| H A D | stdlib.h | 67 unsigned arc4random(void);
|
| /freebsd-13.1/crypto/openssh/ |
| H A D | crypto_api.h | 28 #define small_random32() arc4random()
|
| /freebsd-13.1/tools/tools/qrndtest/ |
| H A D | r.c | 48 { "arc4random", arc4random },
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | random.c | 96 *val = arc4random(); in isc_random_get()
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | defs.h | 127 #define random arc4random
|
| /freebsd-13.1/tools/tools/vhba/faulty/ |
| H A D | vhba_faulty.c | 62 vhbastatic.ctr = (arc4random() & 0xffff) + 1; in vhba_init() 94 vhbas->ctr = (arc4random() & 0xff) + 1; in vhba_task()
|