Searched refs:GRND_INSECURE (Results 1 - 2 of 2) sorted by relevance

/linux-master/include/uapi/linux/
H A Drandom.h52 * GRND_INSECURE Return non-cryptographic random bytes
56 #define GRND_INSECURE 0x0004 macro
/linux-master/drivers/char/
H A Drandom.c1349 * getrandom(2) with flags=GRND_INSECURE. Because it does not block
1369 if (flags & ~(GRND_NONBLOCK | GRND_RANDOM | GRND_INSECURE))
1376 if ((flags & (GRND_INSECURE | GRND_RANDOM)) == (GRND_INSECURE | GRND_RANDOM))
1379 if (!crng_ready() && !(flags & GRND_INSECURE)) {

Completed in 127 milliseconds