Searched refs:xgetrandom (Results 1 - 8 of 8) sorted by relevance
/third_party/toybox/toys/other/ |
H A D | mcookie.c | 32 xgetrandom(toybuf, 16, 0); in mcookie_main() 33 if (FLAG(v)) fputs("Got 16 bytes from xgetrandom()\n", stderr); in mcookie_main()
|
H A D | pwgen.c | 54 if (!rand) xgetrandom(randbuf, rand = sizeof(randbuf), 0); in pwgen_main()
|
H A D | shred.c | 93 if (iter != TT.n) xgetrandom(toybuf, throw, 0); in shred_main()
|
/third_party/toybox/toys/lsb/ |
H A D | mktemp.c | 65 // 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 D | password.c | 27 xgetrandom(libbuf, ((len*6)+7)/8, 0); in get_salt()
|
H A D | portability.h | 316 int xgetrandom(void *buf, unsigned len, unsigned flags);
|
H A D | portability.c | 33 int xgetrandom(void *buf, unsigned buflen, unsigned flags) in xgetrandom() function
|
H A D | lib.c | 1201 xgetrandom(uuid, 16, 0); in create_uuid()
|
Completed in 5 milliseconds