| /freebsd-12.1/sys/netinet6/ |
| H A D | ip6_id.c | 188 p->ru_x = arc4random() % p->ru_m; in initid() 191 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid() 192 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid() 195 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1; in initid() 197 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); in initid() 201 j = arc4random() % p->ru_n; in initid() 235 n = arc4random() & 0x3; in randomid()
|
| H A D | mld6_var.h | 142 #define MLD_RANDOM_DELAY(X) (arc4random() % (X) + 1)
|
| /freebsd-12.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-12.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-12.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-12.1/crypto/openssh/openbsd-compat/ |
| H A D | arc4random.c | 236 arc4random(void) in arc4random() function 272 r = arc4random(); in arc4random_buf() 309 r = arc4random(); in arc4random_uniform() 331 arc4random();
|
| /freebsd-12.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-12.1/sys/geom/raid/ |
| H A D | md_sii.c | 397 meta->timestamp[0] = arc4random(); in sii_meta_write_spare() 398 meta->timestamp[1] = arc4random(); in sii_meta_write_spare() 399 meta->timestamp[2] = arc4random(); in sii_meta_write_spare() 400 meta->timestamp[3] = arc4random(); in sii_meta_write_spare() 401 meta->timestamp[4] = arc4random(); in sii_meta_write_spare() 402 meta->timestamp[5] = arc4random(); in sii_meta_write_spare() 406 meta->raid_location = arc4random(); in sii_meta_write_spare() 886 mdi->mdio_timestamp[5] = arc4random(); in g_raid_md_create_sii() 887 mdi->mdio_timestamp[4] = arc4random(); in g_raid_md_create_sii() 888 mdi->mdio_timestamp[3] = arc4random(); in g_raid_md_create_sii() [all …]
|
| /freebsd-12.1/lib/libc/gen/ |
| H A D | Makefile.inc | 18 arc4random.c \ 19 arc4random-compat.c \ 170 CFLAGS.arc4random.c= -I${SRCTOP}/sys -I${SRCTOP}/sys/crypto/chacha20 195 arc4random.3 \ 323 MLINKS+=arc4random.3 arc4random_buf.3 \ 324 arc4random.3 arc4random_uniform.3
|
| H A D | arc4random_uniform.c | 52 r = arc4random(); in arc4random_uniform()
|
| /freebsd-12.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-12.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-12.1/crypto/openssh/regress/unittests/sshbuf/ |
| H A D | test_sshbuf_fuzz.c | 76 ret = ((arc4random() & 1) ? in sshbuf_fuzz_tests() 115 r |= arc4random() & 1; in sshbuf_fuzz_tests()
|
| /freebsd-12.1/sys/netpfil/pf/ |
| H A D | pf_lb.c | 272 cut = arc4random() % (1 + high - low) + low; in pf_get_sport() 391 rpool->counter.addr32[0] = htonl(arc4random()); in pf_map_addr() 398 htonl(arc4random()); in pf_map_addr() 403 htonl(arc4random()); in pf_map_addr() 408 htonl(arc4random()); in pf_map_addr() 413 htonl(arc4random()); in pf_map_addr()
|
| /freebsd-12.1/contrib/unbound/compat/ |
| H A D | arc4random_uniform.c | 51 r = arc4random(); in arc4random_uniform()
|
| /freebsd-12.1/sys/net/ |
| H A D | radix_mpath.c | 302 hashjitter = arc4random(); in rn4_mpath_inithead() 318 hashjitter = arc4random(); in rn6_mpath_inithead()
|
| /freebsd-12.1/sys/mips/atheros/ |
| H A D | ar71xx_macaddr.c | 100 rnd = arc4random(); in ar71xx_mac_addr_random_init()
|
| /freebsd-12.1/tools/tools/qrndtest/ |
| H A D | r.c | 48 { "arc4random", arc4random },
|
| /freebsd-12.1/contrib/ntp/lib/isc/ |
| H A D | random.c | 96 *val = arc4random(); in isc_random_get()
|
| /freebsd-12.1/usr.sbin/ppp/ |
| H A D | defs.h | 127 #define random arc4random
|
| /freebsd-12.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()
|
| /freebsd-12.1/tools/tools/vhba/rptluns/ |
| H A D | vhba_rptluns.c | 70 if (arc4random() & 1) { in vhba_init() 76 if ((arc4random() % i) == 0) { in vhba_init()
|
| /freebsd-12.1/usr.bin/newkey/ |
| H A D | generic.c | 67 seed[i] = (arc4random() & 0xff) ^ pass[i % 8]; in getseed()
|