Home
last modified time | relevance | path

Searched refs:arc4random_buf (Results 1 – 25 of 116) sorted by relevance

12345

/freebsd-14.2/contrib/ntp/sntp/libevent/
H A Devutil_rand.c75 arc4random_buf(buf, n); in ev_arc4random_buf()
89 (void (*)(void*,size_t))arc4random_buf; in ev_arc4random_buf()
91 arc4random_buf(buf, n); in ev_arc4random_buf()
182 arc4random_buf(buf, n); in ev_arc4random_buf()
/freebsd-14.2/contrib/libevent/
H A Devutil_rand.c75 arc4random_buf(buf, n); in ev_arc4random_buf()
89 (void (*)(void*,size_t))arc4random_buf; in ev_arc4random_buf()
91 arc4random_buf(buf, n); in ev_arc4random_buf()
182 arc4random_buf(buf, n); in ev_arc4random_buf()
/freebsd-14.2/lib/libc/tests/gen/
H A Darc4random_test.c62 arc4random_buf(&c, 1); in ATF_TC_BODY()
68 arc4random_buf(page->childbuf, BUFSIZE); in ATF_TC_BODY()
73 arc4random_buf(page->parentbuf, BUFSIZE); in ATF_TC_BODY()
/freebsd-14.2/crypto/openssh/
H A Dentropy.c89 arc4random_buf(buf, sizeof(buf)); in seed_rng()
105 arc4random_buf(buf, sizeof(buf)); in seed_rng()
H A Dcrypto_api.h27 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
/freebsd-14.2/crypto/openssh/openbsd-compat/
H A Darc4random.c226 arc4random_buf(void *buf, size_t n) in arc4random_buf() function
232 DEF_WEAK(arc4random_buf);
239 arc4random_buf(void *_buf, size_t n) in arc4random_buf() function
/freebsd-14.2/tests/sys/geom/class/eli/
H A Dunaligned_io.c86 arc4random_buf(buf1, bufsz); in main()
118 arc4random_buf(buf1, bufsz); in main()
/freebsd-14.2/tools/regression/include/stdatomic/
H A Dlogic.c52 arc4random_buf(&v, sizeof(v)); in rndnum()
100 arc4random_buf(&cmp, sizeof(cmp)); \
/freebsd-14.2/tools/test/stress2/misc/
H A Dsigreturn3.sh85 arc4random_buf(r, sizeof(r));
99 arc4random_buf(r, sizeof(r));
H A Dsetrlimit.sh86 arc4random_buf(&limit, sizeof(limit));
104 arc4random_buf(&pos, sizeof(pos));
H A Dmidi.sh58 arc4random_buf(&off, sizeof(off));
/freebsd-14.2/sys/crypto/libsodium/
H A Drandombytes.c11 arc4random_buf(buf, size); in randombytes_buf()
/freebsd-14.2/sys/crypto/
H A Dcurve25519.h54 arc4random_buf(secret, CURVE25519_KEY_SIZE); in curve25519_generate_secret()
/freebsd-14.2/lib/libc/stdlib/
H A Dhcreate_r.c55 arc4random_buf(&hsearch->offset_basis, sizeof(hsearch->offset_basis)); in hcreate_r()
/freebsd-14.2/sys/dev/wg/
H A Dwg_cookie.c149 arc4random_buf(nonce, COOKIE_NONCE_SIZE); in cookie_checker_create_payload()
318 arc4random_buf(cc->cc_secret, COOKIE_SECRET_SIZE); in make_cookie()
340 arc4random_buf(cookie, COOKIE_COOKIE_SIZE); in make_cookie()
350 arc4random_buf(rl->rl_secret, sizeof(rl->rl_secret)); in ratelimit_init()
/freebsd-14.2/usr.bin/random/
H A Drandomize_fd.h65 arc4random_buf(&rand64, sizeof(rand64)); in random_unit_float()
/freebsd-14.2/tools/build/cross-build/include/linux/
H A Dstdlib.h64 void arc4random_buf(void *, size_t);
/freebsd-14.2/contrib/ntp/libntp/
H A Dntp_crypto_rnd.c110 arc4random_buf(buf, nbytes); in ntp_crypto_random_buf()
/freebsd-14.2/sys/arm64/arm64/
H A Dvm_machdep.c119 arc4random_buf(&td2->td_md.md_canary, sizeof(td2->td_md.md_canary)); in cpu_fork()
198 arc4random_buf(&td->td_md.md_canary, sizeof(td->td_md.md_canary)); in cpu_copy_thread()
/freebsd-14.2/contrib/libfido2/src/
H A Drandom.c47 arc4random_buf(buf, len); in fido_get_random()
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Drandom.h45 arc4random_buf(buf, nbytes); in get_random_bytes()
H A Detherdevice.h113 arc4random_buf(dst, 6); in random_ether_addr()
/freebsd-14.2/lib/libiscsiutil/
H A Dchap.c239 arc4random_buf(chap->chap_challenge, sizeof(chap->chap_challenge)); in chap_new()
240 arc4random_buf(&chap->chap_id, sizeof(chap->chap_id)); in chap_new()
/freebsd-14.2/sys/teken/stress/
H A Dteken_stress.c109 arc4random_buf(buf, sizeof buf); in main()
/freebsd-14.2/tools/test/stress2/tools/
H A Dflip.c79 arc4random_buf(c, sizeof(c)); in trash()

12345