Home
last modified time | relevance | path

Searched refs:arc4random (Results 1 – 25 of 197) sorted by relevance

12345678

/openbsd/src/regress/usr.sbin/snmpd/
Dagentx.c130 uint32_t packetid = arc4random(); in agentx_open_nnbo()
157 uint32_t packetid = arc4random(); in agentx_open_nbo()
190 uint32_t packetid = arc4random(); in agentx_open_invalidversion()
214 uint32_t packetid = arc4random(); in agentx_open_ignore_sessionid()
264 uint32_t packetid = arc4random(); in agentx_open_invalid_oid()
291 uint32_t packetid = arc4random(); in agentx_open_descr_too_long()
320 uint32_t packetid = arc4random(); in agentx_open_descr_invalid()
348 uint32_t packetid = arc4random(); in agentx_open_context()
377 uint32_t packetid = arc4random(); in agentx_open_instance_registration()
405 uint32_t packetid = arc4random(); in agentx_open_new_index()
[all …]
/openbsd/src/sys/netinet6/
Dip6_id.c168 p->ru_seed = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in ip6id_initid()
169 p->ru_seed2 = arc4random() & (~0U >> (32 - p->ru_bits + 1)); in ip6id_initid()
172 p->ru_b = (arc4random() & (~0U >> (32 - p->ru_bits))) | 1; in ip6id_initid()
174 (arc4random() & (~0U >> (32 - p->ru_bits))) & (~1U), p->ru_m); in ip6id_initid()
212 n = arc4random() & 0x3; in ip6id_randomid()
/openbsd/src/lib/libc/crypt/
DMakefile.inc5 SRCS+= crypt.c cryptutil.c arc4random.c arc4random_uniform.c \
8 MAN+= crypt.3 crypt_checkpass.3 blowfish.3 arc4random.3
Darc4random.c186 arc4random(void) in arc4random() function
195 DEF_WEAK(arc4random);
Darc4random_uniform.c50 r = arc4random(); in arc4random_uniform()
/openbsd/src/sys/dev/pci/drm/include/linux/
Drandom.h12 return arc4random(); in get_random_u32()
24 return arc4random(); in get_random_int()
/openbsd/src/regress/usr.bin/mandoc/mdoc/Fo/
Dnoarg.out_markdown20 **arc4random**()
28 **arc4random**()
/openbsd/src/sys/crypto/
Didgen.c109 ctx->id32_offset = arc4random(); in idgen32_rekey()
118 ctx->id32_hibit = arc4random() & 0x80000000; in idgen32_init()
/openbsd/src/sbin/clri/
Dclri.c142 dp2->di_gen = arc4random(); in main()
150 dp1->di_gen = arc4random(); in main()
/openbsd/src/lib/librthread/
Drthread_stack.c54 rnd = arc4random() & (_thread_pagesize - 1); in _rthread_alloc_stack()
56 rnd = arc4random() & (_thread_pagesize / 16 - 1); in _rthread_alloc_stack()
/openbsd/src/regress/usr.bin/ssh/unittests/sshbuf/
Dtest_sshbuf_fuzz.c76 ret = ((arc4random() & 1) ? in sshbuf_fuzz_tests()
115 r |= arc4random() & 1; in sshbuf_fuzz_tests()
/openbsd/src/sbin/fsirand/
Dfsirand.c245 sblock->fs_id[1] = arc4random(); in fsirand()
301 dp1->di_gen = arc4random(); in fsirand()
303 dp2->di_gen = arc4random(); in fsirand()
/openbsd/src/libexec/login_token/
Dtoken.c95 cb->ul[0] = arc4random(); in tokenseed()
96 cb->ul[1] = arc4random(); in tokenseed()
144 arc4random()); in tokenchallenge()
/openbsd/src/regress/lib/libc/arc4random-fork/
Darc4random-fork.c66 buf->x[i] = arc4random(); in fillbuf()
114 arc4random(); in main()
DMakefile3 PROG= arc4random-fork
/openbsd/src/usr.bin/snmp/
Dsnmp.c158 SNMP_C_GETREQ, arc4random() & 0x7fffffff, 0, 0)) == NULL) in snmp_get()
181 SNMP_C_GETNEXTREQ, arc4random() & 0x7fffffff, 0, 0)) == NULL) in snmp_getnext()
206 SNMP_C_TRAPV2, arc4random() & 0x7fffffff, 0, 0)) == NULL) in snmp_trap()
240 SNMP_C_GETBULKREQ, arc4random() & 0x7fffffff, non_repeaters, in snmp_getbulk()
263 SNMP_C_SETREQ, arc4random() & 0x7fffffff, 0, 0, vblist) == NULL) { in snmp_set()
/openbsd/src/regress/sys/crypto/enc/
Ddes3.c125 rand = arc4random(); in main()
131 rand = arc4random(); in main()
/openbsd/src/usr.sbin/pppd/
Dmagic.c72 return arc4random(); in magic()
/openbsd/src/lib/libc/stdlib/
Dlrand48.c21 return arc4random() & 0x7fffffff; in lrand48()
Dmrand48.c21 return (int)arc4random(); in mrand48()
Drand.c54 return (arc4random() & RAND_MAX); in rand()
/openbsd/src/lib/libc/net/
Dres_random.c183 tmp = arc4random(); in res_initid()
188 tmp = arc4random(); in res_initid()
/openbsd/src/sbin/iked/
Dcrypto_api.h23 #define small_random32() arc4random()
/openbsd/src/usr.bin/ssh/
Dcrypto_api.h24 #define small_random32() arc4random()
/openbsd/src/sys/uvm/
Duvm_addr.c952 minaddr += (vsize_t)arc4random() << PAGE_SHIFT; in uaddr_pivot_newpivot()
953 maxaddr -= (vsize_t)arc4random() << PAGE_SHIFT; in uaddr_pivot_newpivot()
975 path = arc4random(); in uaddr_pivot_newpivot()
1023 (arc4random() & ~(align - 1)); in uaddr_pivot_newpivot()
1043 pivot->dir = (arc4random() & 0x1 ? 1 : -1); in uaddr_pivot_newpivot()
1365 before_gap = ((arc4random() & 0x3) + 1) << PAGE_SHIFT; in uaddr_stack_brk_select()
1366 after_gap = ((arc4random() & 0x3) + 1) << PAGE_SHIFT; in uaddr_stack_brk_select()

12345678