| /netbsd/src/lib/libcrypt/ |
| D | pw_gensalt.c | 95 __crypt_to64(&salt[0], arc4random(), 2); in __gensalt_old() 121 __crypt_to64(&salt[5], arc4random(), 4); in __gensalt_new() 137 __crypt_to64(&salt[3], arc4random(), 4); in __gensalt_md5() 138 __crypt_to64(&salt[7], arc4random(), 4); in __gensalt_md5() 160 __crypt_to64(&salt[n], arc4random(), 4); in __gensalt_sha1() 161 __crypt_to64(&salt[n + 4], arc4random(), 4); in __gensalt_sha1() 259 __crypt_tobase64(&salt[n], arc4random(), 4); in __gensalt_argon2() 260 __crypt_tobase64(&salt[n + 4], arc4random(), 4); in __gensalt_argon2() 261 __crypt_tobase64(&salt[n + 8], arc4random(), 4); in __gensalt_argon2() 262 __crypt_tobase64(&salt[n + 12], arc4random(), 4); in __gensalt_argon2()
|
| /netbsd/src/lib/libc/gen/ |
| D | randomid.c | 217 p->ru_x = arc4random() % p->ru_m; in initid() 220 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid() 221 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in initid() 224 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1; in initid() 226 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); in initid() 230 j = arc4random() % p->ru_n; in initid() 309 n = arc4random() & p->ru_skip; in randomid()
|
| D | Makefile.inc | 11 SRCS+= alarm.c alphasort.c arc4random.c assert.c asysctl.c \ 43 LINTFLAGS.arc4random.c+=-Ac11 # stdatomic.h 44 LINTFLAGS.arc4random.c+=-X 129 # expression has null effect (in atomic macros) 60 MAN+= alarm.3 arc4random.3 basename.3 bsd_signal.3 bswap.3 \ 94 MLINKS+=arc4random.3 arc4random_addrandom.3 arc4random.3 arc4random_buf.3 \ 95 arc4random.3 arc4random_stir.3 arc4random.3 arc4random_uniform.3 222 LINTFLAGS.arc4random.c += ${${ACTIVE_CC} == "clang":? -X 215 :}
|
| D | arc4random.c | 77 __weak_alias(arc4random,_arc4random) in __weak_alias() argument 745 arc4random(void) in arc4random() function 851 if (printf("arc4random: %08"PRIx32"\n", arc4random()) < 0) in main()
|
| /netbsd/src/external/bsd/ntp/dist/sntp/libevent/ |
| D | evutil_rand.c | 58 (void) arc4random(); in evutil_secure_rng_init() 101 ev_uint32_t u = arc4random(); in ev_arc4random_buf() 108 *(ev_uint32_t*)b = arc4random(); in ev_arc4random_buf() 113 ev_uint32_t u = arc4random(); in ev_arc4random_buf()
|
| D | arc4random.c | 477 arc4random(void) in arc4random() function 541 r = arc4random(); in arc4random_uniform()
|
| /netbsd/src/external/bsd/libevent/dist/ |
| D | evutil_rand.c | 60 (void) arc4random(); in evutil_secure_rng_init() 105 ev_uint32_t u = arc4random(); in ev_arc4random_buf() 112 *(ev_uint32_t*)b = arc4random(); in ev_arc4random_buf() 117 ev_uint32_t u = arc4random(); in ev_arc4random_buf()
|
| D | arc4random.c | 476 arc4random(void) in arc4random() function 540 r = arc4random(); in arc4random_uniform()
|
| /netbsd/src/crypto/external/bsd/openssl/lib/libdes/ |
| D | orand_key.c | 47 v = arc4random(); in des_random_key() 52 v = arc4random(); in des_random_key()
|
| D | oenc_writ.c | 131 *(u_int32_t *)&shortbuf[0] = arc4random(); in des_enc_write() 132 *(u_int32_t *)&shortbuf[4] = arc4random(); in des_enc_write()
|
| /netbsd/src/tests/lib/libc/ |
| 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()
|
| /netbsd/src/usr.bin/nbperf/ |
| D | nbperf.c | 66 #define arc4random() rand() macro 76 nbperf->seed[0] = arc4random(); in mi_vector_hash_seed_hash()
|
| /netbsd/src/sbin/fsirand/ |
| D | fsirand.c | 172 ufs_rw32((arc4random() & INT32_MAX)^ xorval, in fixinodes() 181 ufs_rw32((arc4random() & INT32_MAX) ^ xorval, in fixinodes()
|
| /netbsd/src/crypto/external/bsd/netpgp/dist/src/libbn/ |
| D | rand.c | 55 r = arc4random(); in RAND_bytes()
|
| /netbsd/src/crypto/external/bsd/openssh/dist/ |
| D | crypto_api.h | 25 #define small_random32() arc4random()
|
| /netbsd/src/bin/rm/ |
| D | rm.c | 433 *(int *)(buf + i) = arc4random(); \ in rm_overwrite() 467 randint = arc4random(); in rm_overwrite()
|
| /netbsd/src/external/mit/expat/dist/ |
| D | ConfigureChecks.cmake | 33 check_symbol_exists("arc4random" "${_bsd}stdlib.h" HAVE_ARC4RANDOM)
|
| D | expat_config.h.cmake | 9 /* Define to 1 if you have the `arc4random' function. */
|
| /netbsd/src/sbin/newfs/ |
| D | mkfs.c | 519 sblock.fs_id[1] = arc4random() & INT32_MAX; in mkfs() 965 dp1->di_gen = arc4random() & INT32_MAX; in initcg() 968 dp2->di_gen = arc4random() & INT32_MAX; in initcg() 987 dp1->di_gen = arc4random() & INT32_MAX; in initcg() 1402 dp1->di_gen = arc4random() & INT32_MAX; in iput() 1414 dp2->di_gen = arc4random() & INT32_MAX; in iput()
|
| /netbsd/src/crypto/external/bsd/heimdal/include/ |
| D | roken.h | 317 # define rk_random() arc4random()
|
| D | config.h | 6 #define arc4random random macro
|
| /netbsd/src/sbin/routed/ |
| D | main.c | 828 : (lo + arc4random() % ((hi - lo)))); in intvl_random() 829 tp->tv_usec = arc4random() % 1000000; in intvl_random()
|
| /netbsd/src/dist/pf/sbin/pflogd/ |
| D | privsep.c | 216 name, arc4random()); in move_log()
|
| /netbsd/src/usr.bin/rump_dhcpclient/ |
| D | main.c | 254 ifp->state->xid = arc4random(); in main()
|
| /netbsd/src/include/ |
| D | stdlib.h | 275 uint32_t arc4random(void);
|