Home
last modified time | relevance | path

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

12345

/freebsd-13.1/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()
184 arc4random_buf(buf, n); in ev_arc4random_buf()
/freebsd-13.1/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()
184 arc4random_buf(buf, n); in ev_arc4random_buf()
/freebsd-13.1/contrib/ntp/libntp/
H A Dntp_crypto_rnd.c30 arc4random_buf(void *buf, size_t nbytes);
36 arc4random_buf(void *buf, size_t nbytes) in arc4random_buf() function
111 arc4random_buf(buf, nbytes); in ntp_crypto_random_buf()
/freebsd-13.1/lib/libc/tests/gen/
H A Darc4random_test.c65 arc4random_buf(&c, 1); in ATF_TC_BODY()
71 arc4random_buf(page->childbuf, BUFSIZE); in ATF_TC_BODY()
76 arc4random_buf(page->parentbuf, BUFSIZE); in ATF_TC_BODY()
/freebsd-13.1/contrib/apr/random/unix/
H A Dapr_random.c60 arc4random_buf(random, bytes); in apr_random_secure_bytes()
69 arc4random_buf(random, bytes); in apr_random_insecure_bytes()
/freebsd-13.1/crypto/openssh/
H A Dentropy.c123 arc4random_buf(buf, sizeof(buf)); in seed_rng()
139 arc4random_buf(buf, sizeof(buf)); in seed_rng()
H A Dcrypto_api.h27 #define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_random.c54 static void arc4random_buf(void *, size_t);
96 arc4random_buf(buf, nbytes); in archive_random()
259 arc4random_buf(void *_buf, size_t n) in arc4random_buf() function
/freebsd-13.1/tools/regression/include/stdatomic/
H A Dlogic.c54 arc4random_buf(&v, sizeof(v)); in rndnum()
102 arc4random_buf(&cmp, sizeof(cmp)); \
/freebsd-13.1/sys/crypto/libsodium/
H A Drandombytes.c12 arc4random_buf(buf, size); in randombytes_buf()
/freebsd-13.1/lib/libc/stdlib/
H A Dhcreate_r.c58 arc4random_buf(&hsearch->offset_basis, sizeof(hsearch->offset_basis)); in hcreate_r()
/freebsd-13.1/usr.bin/random/
H A Drandomize_fd.h67 arc4random_buf(&rand64, sizeof(rand64)); in random_unit_float()
/freebsd-13.1/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-13.1/tools/build/cross-build/include/linux/
H A Dstdlib.h68 void arc4random_buf(void *, size_t);
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Darc4random.c258 arc4random_buf(void *buf, size_t n) in arc4random_buf() function
270 arc4random_buf(void *_buf, size_t n) in arc4random_buf() function
/freebsd-13.1/sys/arm64/arm64/
H A Dvm_machdep.c121 arc4random_buf(&td2->td_md.md_canary, sizeof(td2->td_md.md_canary)); in cpu_fork()
200 arc4random_buf(&td->td_md.md_canary, sizeof(td->td_md.md_canary)); in cpu_copy_thread()
/freebsd-13.1/contrib/libfido2/src/
H A Drandom.c46 arc4random_buf(buf, len); in fido_get_random()
/freebsd-13.1/usr.sbin/ctld/
H A Dchap.c243 arc4random_buf(chap->chap_challenge, sizeof(chap->chap_challenge)); in chap_new()
244 arc4random_buf(&chap->chap_id, sizeof(chap->chap_id)); in chap_new()
/freebsd-13.1/usr.sbin/iscsid/
H A Dchap.c243 arc4random_buf(chap->chap_challenge, sizeof(chap->chap_challenge)); in chap_new()
244 arc4random_buf(&chap->chap_id, sizeof(chap->chap_id)); in chap_new()
/freebsd-13.1/contrib/expat/
H A Dconfigure.ac192 [AS_HELP_STRING([--with-libbsd], [utilize libbsd (for arc4random_buf)])],
197 [arc4random_buf],
201 AC_MSG_CHECKING([for arc4random_buf (BSD or libbsd)])
203 #include <stdlib.h> /* for arc4random_buf on BSD, for NULL */
208 arc4random_buf(NULL, 0U);
212 [AC_DEFINE([HAVE_ARC4RANDOM_BUF], [1], [Define to 1 if you have the `arc4random_buf' function.])
/freebsd-13.1/sys/teken/stress/
H A Dteken_stress.c111 arc4random_buf(buf, sizeof buf); in main()
/freebsd-13.1/lib/libc/tests/stdlib/
H A Dtsearch_test.c82 arc4random_buf(random_state, sizeof(random_state)); in ATF_TC_BODY()
/freebsd-13.1/crypto/openssh/regress/unittests/sshbuf/
H A Dtest_sshbuf_fuzz.c117 arc4random_buf(&r, sizeof(r)); in sshbuf_fuzz_tests()
/freebsd-13.1/lib/libpam/modules/pam_lastlog/
H A Dpam_lastlog.c128 arc4random_buf(id, sizeof utl.ut_id); in pam_sm_open_session()

12345