Searched refs:arc4random (Results 1 - 25 of 126) sorted by relevance

123456

/freebsd-9.3-release/contrib/ntp/sntp/libevent/
H A Devutil_rand.c27 /* 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"
H A Darc4random.c1 /* Portable arc4random.c based on arc4random.c from OpenBSD.
485 arc4random(void) function
549 r = arc4random();
/freebsd-9.3-release/sys/netinet6/
H A Dip6_id.c190 p->ru_x = arc4random() % p->ru_m;
193 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1));
194 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1));
197 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1;
199 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m);
203 j = arc4random() % p->ru_n;
237 tmp = arc4random();
H A Dmld6_var.h60 #define MLD_RANDOM_DELAY(X) (arc4random() % (X) + 1)
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Darc4random.c1 /* OPENBSD ORIGINAL: lib/libc/crypto/arc4random.c */
3 /* $OpenBSD: arc4random.c,v 1.25 2013/10/01 18:34:57 markus Exp $ */
192 arc4random(void) function
203 * If we are providing arc4random, then we can provide a more efficient
217 /* arc4random_buf() that uses platform arc4random() */
228 r = arc4random();
265 r = arc4random();
287 arc4random();
H A Dopenbsd-compat.h172 unsigned int arc4random(void);
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Drandom.c98 *val = arc4random();
/freebsd-9.3-release/usr.sbin/ppp/
H A Ddefs.h123 #define random arc4random
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Drandom.c98 *val = arc4random();
/freebsd-9.3-release/contrib/bind9/bin/tools/
H A Dgenrandom.c56 unsigned short int x = (arc4random() & 0xFFFF);
/freebsd-9.3-release/usr.bin/newkey/
H A Dgeneric.c67 seed[i] = (arc4random() & 0xff) ^ pass[i % 8];
/freebsd-9.3-release/lib/libc/gen/
H A Darc4random.c1 /* $OpenBSD: arc4random.c,v 1.22 2010/12/22 08:23:42 otto Exp $ */
236 arc4random(void) function
298 r = arc4random();
319 arc4random();
H A DMakefile.inc10 alarm.c arc4random.c assert.c aux.c basename.c check_utility_compat.c \
59 MAN+= alarm.3 arc4random.3 \
92 MLINKS+=arc4random.3 arc4random_addrandom.3 arc4random.3 arc4random_stir.3 \
93 arc4random.3 arc4random_buf.3 arc4random.3 arc4random_uniform.3
/freebsd-9.3-release/sys/libkern/
H A Darc4random.c150 arc4random(void) function
/freebsd-9.3-release/sys/net/
H A Dradix_mpath.c269 hashjitter = arc4random();
285 hashjitter = arc4random();
/freebsd-9.3-release/sys/geom/raid/
H A Dmd_sii.c394 meta->timestamp[0] = arc4random();
395 meta->timestamp[1] = arc4random();
396 meta->timestamp[2] = arc4random();
397 meta->timestamp[3] = arc4random();
398 meta->timestamp[4] = arc4random();
399 meta->timestamp[5] = arc4random();
403 meta->raid_location = arc4random();
883 mdi->mdio_timestamp[5] = arc4random();
884 mdi->mdio_timestamp[4] = arc4random();
885 mdi->mdio_timestamp[3] = arc4random();
[all...]
/freebsd-9.3-release/contrib/openbsm/bin/auditdistd/
H A Dsubr.c170 val = arc4random();
/freebsd-9.3-release/crypto/openssh/
H A Droaming_client.c157 rnd = arc4random();
/freebsd-9.3-release/include/
H A Dstdlib.h253 arc4random(void);
/freebsd-9.3-release/crypto/openssl/crypto/rand/
H A Drand_unix.c145 rnd = arc4random();
/freebsd-9.3-release/sbin/geom/class/mirror/
H A Dgeom_mirror.c180 md.md_mid = arc4random();
250 md.md_did = arc4random();
/freebsd-9.3-release/sys/kern/
H A Dkern_uuid.c119 node[i] = (uint16_t)arc4random();
157 uuid.seq = (uint16_t)arc4random() & 0x3fff;
/freebsd-9.3-release/tools/tools/vhba/faulty/
H A Dvhba_faulty.c62 vhbastatic.ctr = (arc4random() & 0xffff) + 1;
94 vhbas->ctr = (arc4random() & 0xff) + 1;
/freebsd-9.3-release/tools/tools/vhba/rptluns/
H A Dvhba_rptluns.c70 if (arc4random() & 1) {
76 if ((arc4random() % i) == 0) {
/freebsd-9.3-release/sys/contrib/pf/net/
H A Dpf_lb.c378 cut = htonl(arc4random()) % (1 + high - low) + low;
514 rpool->counter.addr32[0] = htonl(arc4random());
521 htonl(arc4random());
526 htonl(arc4random());
531 htonl(arc4random());
536 htonl(arc4random());

Completed in 258 milliseconds

123456