Symbol: arc4random_buf
bin/uuidgen/uuidgen.c
84
arc4random_buf(store, size);
crypto/openssh/channels.c
5324
arc4random_buf(sc->x11_fake_data, data_len);
crypto/openssh/clientloop.c
442
arc4random_buf(rnd, sizeof(rnd));
crypto/openssh/crypto_api.h
27
#define randombytes(buf, buf_len) arc4random_buf((buf), (buf_len))
crypto/openssh/entropy.c
105
arc4random_buf(buf, sizeof(buf));
crypto/openssh/entropy.c
89
arc4random_buf(buf, sizeof(buf));
crypto/openssh/hostfile.c
128
arc4random_buf(salt, len);
crypto/openssh/kex.c
596
arc4random_buf(cookie, KEX_COOKIE_LEN);
crypto/openssh/kexc25519.c
54
arc4random_buf(key, CURVE25519_SIZE);
crypto/openssh/kexmlkem768x25519.c
144
arc4random_buf(rnd, sizeof(rnd));
crypto/openssh/kexmlkem768x25519.c
66
arc4random_buf(rnd, sizeof(rnd));
crypto/openssh/openbsd-compat/arc4random.c
232
DEF_WEAK(arc4random_buf);
crypto/openssh/openbsd-compat/bcrypt_pbkdf.c
185
arc4random_buf(key, keylen);
crypto/openssh/openbsd-compat/openbsd-compat.h
233
void arc4random_buf(void *, size_t);
crypto/openssh/openbsd-compat/sys-queue.h
459
arc4random_buf(&(head)->sqx_cookie, sizeof((head)->sqx_cookie)); \
crypto/openssh/packet.c
1249
arc4random_buf(cp, padlen);
crypto/openssh/regress/misc/fuzz-harness/mkcorpus_sntrup761.c
35
arc4random_buf(ptr, l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_dec_fuzz.cc
33
arc4random_buf(ptr, l);
crypto/openssh/regress/misc/fuzz-harness/sntrup761_enc_fuzz.cc
33
arc4random_buf(ptr, l);
crypto/openssh/regress/unittests/sshbuf/test_sshbuf_fuzz.c
116
arc4random_buf(&r, sizeof(r));
crypto/openssh/ssh-add.c
512
arc4random_buf(data, sizeof(data));
crypto/openssh/ssh-agent.c
1538
arc4random_buf(lock_salt, sizeof(lock_salt));
crypto/openssh/ssh-sk.c
532
arc4random_buf(randchall, sizeof(randchall));
crypto/openssh/sshd-session.c
288
arc4random_buf(rnd, sizeof(rnd)); /* let arc4random notice PID change */
crypto/openssh/sshd.c
1285
arc4random_buf(rnd, sizeof(rnd));
crypto/openssh/sshkey-xmss.c
288
arc4random_buf(state->enc_keyiv, state->enc_keyiv_len);
crypto/openssh/sshkey.c
1669
arc4random_buf(prekey, SSHKEY_SHIELD_PREKEY_LEN);
crypto/openssh/sshkey.c
2326
arc4random_buf(&nonce, sizeof(nonce));
crypto/openssh/sshkey.c
2881
arc4random_buf(salt, SALT_LEN);
include/ssp/stdlib.h
38
__ssp_redirect(void, arc4random_buf, (void *__buf, size_t __len),
include/stdlib.h
269
void arc4random_buf(void *, size_t);
lib/geom/eli/geom_eli.c
1501
arc4random_buf(md.md_mkeys, sizeof(md.md_mkeys));
lib/geom/eli/geom_eli.c
1525
arc4random_buf(mkeydst, G_ELI_MKEYLEN);
lib/geom/eli/geom_eli.c
1617
arc4random_buf(sector, size);
lib/geom/eli/geom_eli.c
910
arc4random_buf(md.md_salt, sizeof(md.md_salt));
lib/geom/eli/geom_eli.c
911
arc4random_buf(md.md_mkeys, sizeof(md.md_mkeys));
lib/libc/gen/arc4random.c
247
__ssp_real(arc4random_buf)(void *buf, size_t n)
lib/libc/stdlib/hcreate_r.c
55
arc4random_buf(&hsearch->offset_basis, sizeof(hsearch->offset_basis));
lib/libc/tests/gen/arc4random_test.c
64
arc4random_buf(&c, 1);
lib/libc/tests/gen/arc4random_test.c
70
arc4random_buf(page->childbuf, BUFSIZE);
lib/libc/tests/gen/arc4random_test.c
75
arc4random_buf(page->parentbuf, BUFSIZE);
lib/libc/tests/secure/fortify_poll_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_random_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_select_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_signal_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_socket_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_stdio_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_stdlib_test.c
182
arc4random_buf(__stack.__buf, __len);
lib/libc/tests/secure/fortify_stdlib_test.c
203
arc4random_buf(__stack.__buf, __len);
lib/libc/tests/secure/fortify_stdlib_test.c
226
arc4random_buf(__stack.__buf, __len);
lib/libc/tests/secure/fortify_stdlib_test.c
249
arc4random_buf(__stack.__buf, __len);
lib/libc/tests/secure/fortify_stdlib_test.c
281
arc4random_buf(__stack.__buf, __len);
lib/libc/tests/secure/fortify_stdlib_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_string_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_strings_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_uio_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_unistd_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/secure/fortify_wchar_test.c
60
arc4random_buf(target, sizeof(target));
lib/libc/tests/stdlib/tsearch_test.c
79
arc4random_buf(random_state, sizeof(random_state));
lib/libiscsiutil/chap.c
239
arc4random_buf(chap->chap_challenge, sizeof(chap->chap_challenge));
lib/libiscsiutil/chap.c
240
arc4random_buf(&chap->chap_id, sizeof(chap->chap_id));
lib/libpam/modules/pam_lastlog/pam_lastlog.c
126
arc4random_buf(id, sizeof utl.ut_id);
lib/libunbound/config.h
1552
void arc4random_buf(void* buf, size_t n);
sbin/dumpon/dumpon.c
306
arc4random_buf(kdap->kda_key, sizeof(kdap->kda_key));
sbin/hastd/hastd.c
928
arc4random_buf(res->hr_token, sizeof(res->hr_token));
sbin/hastd/primary.c
513
arc4random_buf(&res->hr_resuid, sizeof(res->hr_resuid));
sbin/ifconfig/af_link.c
203
arc4random_buf(&sdl.sdl_data, ETHER_ADDR_LEN);
sbin/ping/ping6.c
768
arc4random_buf(nonce, sizeof(nonce));
secure/lib/libpkgecc/pkg_libecc_rand.c
20
arc4random_buf(buf, len);
sys/arm64/arm64/vm_machdep.c
128
arc4random_buf(&td2->td_md.md_canary, sizeof(td2->td_md.md_canary));
sys/arm64/arm64/vm_machdep.c
197
arc4random_buf(&td->td_md.md_canary, sizeof(td->td_md.md_canary));
sys/compat/linuxkpi/common/include/linux/etherdevice.h
121
arc4random_buf(dst, 6);
sys/compat/linuxkpi/common/include/linux/random.h
45
arc4random_buf(buf, nbytes);
sys/crypto/curve25519.h
54
arc4random_buf(secret, CURVE25519_KEY_SIZE);
sys/crypto/libsodium/randombytes.c
11
arc4random_buf(buf, size);
sys/dev/ena/ena_rss.c
52
arc4random_buf(default_key, ENA_HASH_KEY_SIZE);
sys/dev/mana/mana_en.c
84
arc4random_buf(rss_key, MANA_HASH_KEY_SIZE);
sys/dev/wg/wg_cookie.c
149
arc4random_buf(nonce, COOKIE_NONCE_SIZE);
sys/dev/wg/wg_cookie.c
318
arc4random_buf(cc->cc_secret, COOKIE_SECRET_SIZE);
sys/dev/wg/wg_cookie.c
340
arc4random_buf(cookie, COOKIE_COOKIE_SIZE);
sys/dev/wg/wg_cookie.c
350
arc4random_buf(rl->rl_secret, sizeof(rl->rl_secret));
sys/dev/wg/wg_noise.c
193
arc4random_buf(l->l_hash_key, sizeof(l->l_hash_key));
sys/kern/kern_mib.c
531
arc4random_buf(boot_id, sizeof(boot_id));
sys/netipsec/key.c
4983
arc4random_buf(&value, sizeof(value));
sys/netipsec/xform_esp.c
856
arc4random_buf(pad, padding - 2);
sys/netpfil/pf/pf.c
5575
arc4random_buf(&V_pf_tcp_secret, sizeof(V_pf_tcp_secret));
sys/netpfil/pf/pf_syncookies.c
399
arc4random_buf(V_pf_syncookie_status.key[V_pf_syncookie_status.oddeven],
sys/sys/libkern.h
127
void arc4random_buf(void *, size_t);
sys/teken/stress/teken_stress.c
109
arc4random_buf(buf, sizeof buf);
sys/tests/fib_lookup/fib_lookup.c
374
arc4random_buf(a, sizeof(a));
sys/tests/fib_lookup/fib_lookup.c
804
arc4random_buf(keys, sizeof(*keys) * count);
tests/sys/geom/class/eli/unaligned_io.c
118
arc4random_buf(buf1, bufsz);
tests/sys/geom/class/eli/unaligned_io.c
86
arc4random_buf(buf1, bufsz);
tests/sys/kern/socket_splice.c
844
arc4random_buf(buf, sz);
tests/sys/kern/ssl_sendfile.c
127
arc4random_buf(c->mfd, FSIZE);
tests/sys/kern/ssl_sendfile.c
410
arc4random_buf(map, GROW);
tests/sys/kern/unix_seqpacket_test.c
1232
arc4random_buf(params.seed, sizeof(params.seed));
tests/sys/kern/unix_seqpacket_test.c
1328
arc4random_buf(seed, sizeof(seed));
tests/sys/netinet/raw.c
195
arc4random_buf(&pkt.payload, sizeof(pkt.payload));
tests/sys/netinet/raw.c
278
arc4random_buf(&pkt.payload, sizeof(pkt.payload));
tools/build/cross-build/include/linux/stdlib.h
64
void arc4random_buf(void *, size_t);
tools/regression/include/stdatomic/logic.c
100
arc4random_buf(&cmp, sizeof(cmp)); \
tools/regression/include/stdatomic/logic.c
52
arc4random_buf(&v, sizeof(v));
tools/test/stress2/tools/flip.c
79
arc4random_buf(c, sizeof(c));
tools/test/xregs_sig/xregs_sig.c
125
arc4random_buf(xregs, xregs_banks[bank].regs * xregs_banks[bank].bytes);
tools/tools/sortbench/sort_bench.c
102
arc4random_buf(array, size);
usr.bin/random/randomize_fd.h
65
arc4random_buf(&rand64, sizeof(rand64));
usr.sbin/bhyve/rfb.c
1152
arc4random_buf(challenge, sizeof(challenge));