| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | random.h | 37 arc4rand(p, (int)s, 0); in random_get_bytes() 44 arc4rand(p, (int)s, 0); in random_get_pseudo_bytes()
|
| /f-stack/freebsd/libkern/ |
| H A D | arc4random.c | 189 arc4rand(void *ptr, u_int len, int reseed) 244 arc4rand(&ret, sizeof(ret), 0); 252 arc4rand(ptr, len, 0);
|
| /f-stack/lib/ |
| H A D | ff_compat.c | 291 arc4rand(void *ptr, unsigned int len, int reseed) in arc4rand() function 317 arc4rand(buf, count, 0); in read_random() 323 arc4rand(ptr, len, 0); in arc4random_buf()
|
| /f-stack/freebsd/kern/ |
| H A D | stack_protector.c | 26 arc4rand(guard, sizeof(guard), 0); in __stack_chk_init()
|
| H A D | uipc_ktls.c | 647 arc4rand(tls->params.iv + 8, sizeof(uint64_t), 0); in ktls_create_session() 1589 arc4rand(tlshdr + 1, AES_BLOCK_LEN, 0); in ktls_frame()
|
| H A D | kern_shutdown.c | 1043 arc4rand(kdc->kdc_iv, sizeof(kdc->kdc_iv), 0); in kerneldumpcrypto_create()
|
| H A D | imgact_elf.c | 868 arc4rand(&rbase, sizeof(rbase), 0); in __CONCAT() 2837 arc4rand(&rbase, sizeof(rbase), 0); in __elfN()
|
| H A D | kern_exec.c | 1618 arc4rand(canary, sizeof(canary), 0); in exec_copyout_strings()
|
| H A D | vfs_mount.c | 530 arc4rand(&mp->mnt_hashseed, sizeof mp->mnt_hashseed, 0); in vfs_mount_alloc()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_id.c | 229 arc4rand(&new_id, sizeof(new_id), 0); in ip_randomid() 285 arc4rand(zpcpu_get_cpu(V_ip_id, i), sizeof(uint64_t), 0); in ipid_sysinit()
|
| H A D | sctp_os_bsd.h | 445 #define SCTP_READ_RANDOM(buf, len) arc4rand(buf, len, 0)
|
| H A D | tcp_syncache.c | 302 arc4rand(V_tcp_syncache.secret.key[0], SYNCOOKIE_SECRET_SIZE, 0); in syncache_init() 303 arc4rand(V_tcp_syncache.secret.key[1], SYNCOOKIE_SECRET_SIZE, 0); in syncache_init() 2440 arc4rand(secbits, SYNCOOKIE_SECRET_SIZE, 0); in syncookie_reseed()
|
| H A D | tcp_fastopen.c | 520 arc4rand(newkey, TCP_FASTOPEN_KEY_LEN, 0); in tcp_fastopen_autokey_locked()
|
| H A D | tcp_subr.c | 1205 arc4rand(&V_ts_offset_secret, sizeof(V_ts_offset_secret), 0); in tcp_init() 2834 arc4rand(&V_isn_secret, sizeof(V_isn_secret), 0); in tcp_new_isn()
|
| /f-stack/freebsd/sys/ |
| H A D | libkern.h | 131 void arc4rand(void *, u_int, int);
|
| /f-stack/freebsd/arm64/linux/ |
| H A D | linux_sysvec.c | 250 arc4rand(canary, sizeof(canary), 0); in linux_copyout_strings()
|
| /f-stack/freebsd/net/ |
| H A D | if_epair.c | 853 arc4rand(&hostid, sizeof(hostid), 0); in epair_clone_create()
|
| H A D | if_ethersubr.c | 1460 arc4rand(hwaddr, sizeof(*hwaddr), 0); in ether_gen_addr()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_sysvec.c | 350 arc4rand(canary, sizeof(canary), 0); in linux_copyout_strings()
|
| /f-stack/freebsd/netipsec/ |
| H A D | xform_esp.c | 884 arc4rand(ivp, sav->ivlen, 0); in esp_output()
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_sysvec.c | 306 arc4rand(canary, sizeof(canary), 0); in linux_copyout_strings()
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_sysvec.c | 764 arc4rand(canary, sizeof(canary), 0); in linux_copyout_strings()
|