Home
last modified time | relevance | path

Searched refs:arc4random_uniform (Results 1 – 21 of 21) sorted by relevance

/external/openssh/regress/unittests/sshbuf/
Dtest_sshbuf_fuzz.c45 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
48 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
63 memset(dp, arc4random_uniform(255) + 1, r); in sshbuf_fuzz_tests()
67 r = arc4random_uniform(8 * 1024); in sshbuf_fuzz_tests()
71 r = arc4random_uniform(10); in sshbuf_fuzz_tests()
89 r = arc4random_uniform(2 * 1024); in sshbuf_fuzz_tests()
93 r = arc4random_uniform(16 * 1024); in sshbuf_fuzz_tests()
100 if (arc4random_uniform(8192) == 0) { in sshbuf_fuzz_tests()
/external/dhcpcd-6.8.2/compat/
Darc4random_uniform.h33 uint32_t arc4random_uniform(uint32_t);
Darc4random_uniform.c35 arc4random_uniform(uint32_t upper_bound) in arc4random_uniform() function
/external/openssh/openbsd-compat/
Dbindresvport.c93 port = arc4random_uniform(NPORTS) + STARTPORT; in bindresvport_sa()
Dmktemp.c72 r = arc4random_uniform(NUM_CHARS); in mktemp_internal()
Dopenbsd-compat.h196 u_int32_t arc4random_uniform(u_int32_t);
Darc4random.c282 arc4random_uniform(u_int32_t upper_bound) in arc4random_uniform() function
/external/dhcpcd-6.8.2/
DNOTICE86 compat/arc4random_uniform.c, compat/arc4random_uniform.h
Darp.c276 tv.tv_nsec = (suseconds_t)arc4random_uniform( in arp_probe1()
Dipv6nd.c673 arc4random_uniform(IDGEN_DELAY * NSEC_PER_SEC); in ipv6nd_dadcallback()
1754 tv.tv_nsec = (suseconds_t)arc4random_uniform( in ipv6nd_startrs()
Dconfigure573 arc4random_uniform(100);
Ddhcp.c1630 ip->ip_id = (uint16_t)arc4random_uniform(UINT16_MAX); in dhcp_makeudppacket()
1671 tv.tv_nsec = (suseconds_t)arc4random_uniform( in send_message()
3732 tv.tv_nsec = (suseconds_t)arc4random_uniform( in dhcp_start()
Ddhcp6.c1065 state->RT.tv_nsec = (suseconds_t)arc4random_uniform( in dhcp6_sendmessage()
1082 rnd += (suseconds_t)arc4random_uniform( in dhcp6_sendmessage()
Dipv6.c1389 (time_t)arc4random_uniform(MIN(MAX_DESYNC_FACTOR, in ipv6_regen_desync()
/external/openssh/
Ddh.c189 which = arc4random_uniform(bestcount); in choose_dh()
Dsshd.c894 r = arc4random_uniform(100);
Dmux.c1278 r = arc4random_uniform(26+26+10); in muxserver_listen()
Dconfig.h.in189 /* Define to 1 if you have the `arc4random_uniform' function. */
Dconfigure.ac2894 arc4random_uniform \
Dconfigure13306 arc4random_uniform \
/external/libevent/
Darc4random.c522 arc4random_uniform(unsigned int upper_bound) in arc4random_uniform() function