Home
last modified time | relevance | path

Searched refs:xgetrandom (Results 1 - 8 of 8) sorted by relevance

/third_party/toybox/toys/other/
H A Dmcookie.c32 xgetrandom(toybuf, 16, 0); in mcookie_main()
33 if (FLAG(v)) fputs("Got 16 bytes from xgetrandom()\n", stderr); in mcookie_main()
H A Dpwgen.c54 if (!rand) xgetrandom(randbuf, rand = sizeof(randbuf), 0); in pwgen_main()
H A Dshred.c93 if (iter != TT.n) xgetrandom(toybuf, throw, 0); in shred_main()
/third_party/toybox/toys/lsb/
H A Dmktemp.c65 // Fall back to random-ish if xgetrandom fails. in mktemp_main()
66 if (!xgetrandom(&rr, sizeof(rr), WARN_ONLY)) { in mktemp_main()
/third_party/toybox/lib/
H A Dpassword.c27 xgetrandom(libbuf, ((len*6)+7)/8, 0); in get_salt()
H A Dportability.h316 int xgetrandom(void *buf, unsigned len, unsigned flags);
H A Dportability.c33 int xgetrandom(void *buf, unsigned buflen, unsigned flags) in xgetrandom() function
H A Dlib.c1201 xgetrandom(uuid, 16, 0); in create_uuid()

Completed in 5 milliseconds