/freebsd-12-stable/contrib/unbound/compat/ |
H A D | arc4random_uniform.c | 51 r = arc4random();
|
/freebsd-12-stable/lib/libc/gen/ |
H A D | arc4random_uniform.c | 52 r = arc4random();
|
H A D | Makefile.inc | 18 arc4random.c \ 19 arc4random-compat.c \ 172 CFLAGS.arc4random.c= -I${SRCTOP}/sys -I${SRCTOP}/sys/crypto/chacha20 197 arc4random.3 \ 326 MLINKS+=arc4random.3 arc4random_buf.3 \ 327 arc4random.3 arc4random_uniform.3
|
/freebsd-12-stable/sys/libkern/ |
H A D | arc4random_uniform.c | 52 r = arc4random();
|
/freebsd-12-stable/contrib/ntp/sntp/libevent/ |
H A D | evutil_rand.c | 27 /* This file has our secure PRNG code. On platforms that have arc4random(), 28 * we just use that. Otherwise, we include arc4random.c as a bunch of static 29 * functions, and wrap it lightly. We don't expose the arc4random*() APIs 55 /* call arc4random() now to force it to self-initialize */ 56 (void) arc4random(); 99 ev_uint32_t u = arc4random(); 106 *(ev_uint32_t*)b = arc4random(); 111 ev_uint32_t u = arc4random(); 134 #include "./arc4random.c"
|
/freebsd-12-stable/contrib/libevent/ |
H A D | evutil_rand.c | 27 /* This file has our secure PRNG code. On platforms that have arc4random(), 28 * we just use that. Otherwise, we include arc4random.c as a bunch of static 29 * functions, and wrap it lightly. We don't expose the arc4random*() APIs 55 /* call arc4random() now to force it to self-initialize */ 56 (void) arc4random(); 99 ev_uint32_t u = arc4random(); 106 *(ev_uint32_t*)b = arc4random(); 111 ev_uint32_t u = arc4random(); 134 #include "./arc4random.c"
|
/freebsd-12-stable/sys/netinet6/ |
H A D | ip6_id.c | 188 p->ru_x = arc4random() % p->ru_m; 191 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1)); 192 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1)); 195 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1; 197 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); 201 j = arc4random() % p->ru_n; 235 n = arc4random() & 0x3;
|
H A D | mld6_var.h | 142 #define MLD_RANDOM_DELAY(X) (arc4random() % (X) + 1)
|
/freebsd-12-stable/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);
|
/freebsd-12-stable/sys/mips/atheros/ |
H A D | ar71xx_macaddr.c | 100 rnd = arc4random();
|
/freebsd-12-stable/tools/tools/qrndtest/ |
H A D | r.c | 48 { "arc4random", arc4random },
|
/freebsd-12-stable/sys/dev/cxgbe/iw_cxgbe/ |
H A D | id_table.c | 64 alloc->last += arc4random() % RANDOM_SKIP; 98 alloc->last = arc4random() % RANDOM_SKIP;
|
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/ |
H A D | t_cdb.c | 77 sorted_keys[i] = keys[i] = arc4random(); 103 ATF_REQUIRE(cdbw_output(db, fd, "test database", arc4random) == 0);
|
/freebsd-12-stable/crypto/openssh/regress/unittests/sshbuf/ |
H A D | test_sshbuf_fuzz.c | 76 ret = ((arc4random() & 1) ? 115 r |= arc4random() & 1;
|
/freebsd-12-stable/contrib/ntp/lib/isc/ |
H A D | random.c | 96 *val = arc4random();
|
/freebsd-12-stable/crypto/openssh/openbsd-compat/ |
H A D | arc4random.c | 1 /* OPENBSD ORIGINAL: lib/libc/crypto/arc4random.c */ 3 /* $OpenBSD: arc4random.c,v 1.25 2013/10/01 18:34:57 markus Exp $ */ 236 arc4random(void) function 247 * If we are providing arc4random, then we can provide a more efficient 261 /* arc4random_buf() that uses platform arc4random() */ 272 r = arc4random(); 309 r = arc4random(); 331 arc4random();
|
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | defs.h | 127 #define random arc4random
|
/freebsd-12-stable/contrib/unbound/util/ |
H A D | random.c | 38 * Thread safe random functions. Similar to arc4random() with an explicit 41 * The code in this file is based on arc4random from 42 * openssh-4.0p1/openbsd-compat/bsd-arc4random.c 97 return (long)arc4random() & MAX_VALUE;
|
/freebsd-12-stable/usr.bin/newkey/ |
H A D | generic.c | 67 seed[i] = (arc4random() & 0xff) ^ pass[i % 8];
|
/freebsd-12-stable/contrib/llvm-project/libcxx/src/ |
H A D | random.cpp | 77 return arc4random();
|
/freebsd-12-stable/sys/net/ |
H A D | radix_mpath.c | 302 hashjitter = arc4random(); 318 hashjitter = arc4random();
|
/freebsd-12-stable/sys/kern/ |
H A D | uipc_mbufhash.c | 64 seed = arc4random(); 73 seed = arc4random();
|
/freebsd-12-stable/sys/geom/raid/ |
H A D | md_sii.c | 397 meta->timestamp[0] = arc4random(); 398 meta->timestamp[1] = arc4random(); 399 meta->timestamp[2] = arc4random(); 400 meta->timestamp[3] = arc4random(); 401 meta->timestamp[4] = arc4random(); 402 meta->timestamp[5] = arc4random(); 406 meta->raid_location = arc4random(); 886 mdi->mdio_timestamp[5] = arc4random(); 887 mdi->mdio_timestamp[4] = arc4random(); 888 mdi->mdio_timestamp[3] = arc4random(); [all...] |
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf_lb.c | 267 cut = arc4random() % (1 + high - low) + low; 321 cut = arc4random() & ahigh; 422 rpool->counter.addr32[0] = htonl(arc4random()); 429 htonl(arc4random()); 434 htonl(arc4random()); 439 htonl(arc4random()); 444 htonl(arc4random());
|
/freebsd-12-stable/contrib/openbsm/bin/auditdistd/ |
H A D | subr.c | 168 val = arc4random();
|