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

123

/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/lib/libdes/
H A Dorand_key.c47 v = arc4random();
52 v = arc4random();
H A Doenc_writ.c131 *(u_int32_t *)&shortbuf[0] = arc4random();
132 *(u_int32_t *)&shortbuf[4] = arc4random();
/netbsd-6-1-5-RELEASE/lib/libcrypt/
H A Dpw_gensalt.c102 __crypt_to64(&salt[0], arc4random(), 2);
128 __crypt_to64(&salt[5], arc4random(), 4);
144 __crypt_to64(&salt[3], arc4random(), 4);
145 __crypt_to64(&salt[7], arc4random(), 4);
167 __crypt_to64(&salt[n], arc4random(), 4);
168 __crypt_to64(&salt[n + 4], arc4random(), 4);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/
H A Drandom.c91 *val = arc4random();
104 return (max - arc4random() % jitter);
/netbsd-6-1-5-RELEASE/regress/sys/kern/rwlock1/
H A Dtest_rwlock1.c90 if ((arc4random() % 11) == 0)
93 if ((arc4random() % 23) == 0)
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Drandomid.c217 p->ru_x = arc4random() % p->ru_m;
220 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1));
221 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1));
224 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1;
226 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m);
230 j = arc4random() % p->ru_n;
309 n = arc4random() & p->ru_skip;
H A Darc4random.c2 /* $OpenBSD: arc4random.c,v 1.6 2001/06/05 05:05:38 pvalchev Exp $ */
44 __weak_alias(arc4random,_arc4random)
215 arc4random(void) function
H A DMakefile.inc7 SRCS+= _errno.c alarm.c alphasort.c arc4random.c assert.c basename.c clock.c \
55 MAN+= alarm.3 arc4random.3 basename.3 bswap.3 clock.3 closefrom.3 \
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/
H A Drandom.c100 *val = arc4random();
/netbsd-6-1-5-RELEASE/usr.bin/nbperf/
H A Dnbperf.c65 #define arc4random() rand() macro
75 nbperf->seed[0] = arc4random();
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/bin/tools/
H A Dgenrandom.c58 unsigned short int x = (arc4random() & 0xFFFF);
/netbsd-6-1-5-RELEASE/external/bsd/dhcpcd/dist/
H A Dipv4ll.c76 (((uint32_t)abs((int)arc4random())
H A Darp.c237 tv.tv_usec = arc4random() % (DHCP_RAND_MAX_U - DHCP_RAND_MIN_U);
281 tv.tv_usec = arc4random() % (PROBE_MAX_U - PROBE_MIN_U);
/netbsd-6-1-5-RELEASE/sbin/fsirand/
H A Dfsirand.c170 ufs_rw32((arc4random() & INT32_MAX)^ xorval,
179 ufs_rw32((arc4random() & INT32_MAX) ^ xorval,
/netbsd-6-1-5-RELEASE/usr.bin/shuffle/
H A Dshuffle.c76 k = arc4random() % (j + 1);
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npftest/
H A Dnpftest.c129 * Need to override for cprng_fast32(), since RUMP uses arc4random() for it.
132 arc4random(void) function
/netbsd-6-1-5-RELEASE/bin/rm/
H A Drm.c427 *(int *)(buf + i) = arc4random(); \
461 randint = arc4random();
/netbsd-6-1-5-RELEASE/sys/lib/libkern/
H A DMakefile.libkern65 SRCS+= pmatch.c arc4random.c bcd.c mcount.c mertwist.c crc32.c
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/include/
H A Droken.h297 #define rk_random() arc4random()
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/
H A Droaming_client.c158 rnd = arc4random();
H A Dssh-keysign.c202 rnd[i] = arc4random();
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssl/dist/crypto/rand/
H A Drand_unix.c229 * XXX the libc arc4random(). It also guarantees that even
237 rnd = arc4random();
/netbsd-6-1-5-RELEASE/dist/pf/sbin/pflogd/
H A Dprivsep.c216 name, arc4random());
/netbsd-6-1-5-RELEASE/include/
H A Dstdlib.h253 uint32_t arc4random(void);
/netbsd-6-1-5-RELEASE/lib/libtelnet/
H A Dpk.c167 seed[i] = arc4random() & 0xff;

Completed in 233 milliseconds

123