Home
last modified time | relevance | path

Searched refs:GRND_NONBLOCK (Results 1 – 25 of 30) sorted by relevance

12

/external/strace/xlat/
Dgetrandom_flags.h6 #if defined(GRND_NONBLOCK) || (defined(HAVE_DECL_GRND_NONBLOCK) && HAVE_DECL_GRND_NONBLOCK)
8 static_assert((GRND_NONBLOCK) == (1), "GRND_NONBLOCK != 1");
11 # define GRND_NONBLOCK 1
31 XLAT(GRND_NONBLOCK),
Dgetrandom_flags.in1 GRND_NONBLOCK 1
/external/ltp/testcases/kernel/syscalls/getrandom/
Dgetrandom02.c13 static int modes[] = { 0, GRND_RANDOM, GRND_NONBLOCK,
14 GRND_RANDOM | GRND_NONBLOCK };
45 } while ((modes[n] & GRND_NONBLOCK) && TST_RET == -1 in verify_getrandom()
Dgetrandom01.c12 static int modes[] = {0, GRND_RANDOM, GRND_NONBLOCK,
13 GRND_RANDOM | GRND_NONBLOCK};
/external/ltp/include/lapi/
Dgetrandom.h35 #ifndef GRND_NONBLOCK
36 # define GRND_NONBLOCK 0x0001 macro
/external/boringssl/src/crypto/fipsmodule/rand/
Durandom.c124 #if !defined(GRND_NONBLOCK)
125 #define GRND_NONBLOCK 1 macro
194 boringssl_getrandom(&dummy, sizeof(dummy), GRND_NONBLOCK); in DEFINE_STATIC_ONCE()
290 boringssl_getrandom(&dummy, sizeof(dummy), GRND_NONBLOCK); in DEFINE_STATIC_ONCE()
393 getrandom_flags |= GRND_NONBLOCK; in fill_with_entropy()
Durandom_test.cc219 if (regs.rdx & GRND_NONBLOCK) { in GetTrace()
348 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
398 ret.push_back(Event::GetRandom(1, GRND_NONBLOCK)); in TestFunctionPRNGModel()
406 ret.push_back(Event::GetRandom(len, block ? 0 : GRND_NONBLOCK)); in TestFunctionPRNGModel()
/external/python/cryptography/src/_cffi_src/openssl/src/
Dosrandom_engine.h24 #ifndef GRND_NONBLOCK
25 #define GRND_NONBLOCK 0x0001 macro
/external/scudo/standalone/
Dlinux.cpp148 #if !defined(GRND_NONBLOCK) in getRandom()
149 #define GRND_NONBLOCK 1 in getRandom() macro
153 syscall(SYS_getrandom, Buffer, Length, Blocking ? 0 : GRND_NONBLOCK); in getRandom()
/external/kernel-headers/original/uapi/linux/
Drandom.h53 #define GRND_NONBLOCK 0x0001 macro
/external/mesa3d/src/util/
Drand_xor.c72 ssize_t ret = getrandom(seed, seed_size, GRND_NONBLOCK); in s_rand_xorshift128plus()
/external/wpa_supplicant_8/src/crypto/
Drandom.c249 sizeof(dummy_key) - dummy_key_avail, GRND_NONBLOCK); in random_pool_ready()
452 if (getrandom(&dummy, 0, GRND_NONBLOCK) == 0 || in random_init()
/external/python/cpython3/Python/
Dbootstrap_hash.c115 flags = blocking ? 0 : GRND_NONBLOCK; in py_getrandom()
/external/python/cryptography/docs/hazmat/backends/
Dopenssl.rst109 | Linux >= 3.17 with working | ``getrandom(GRND_NONBLOCK)`` |
/external/python/cpython2/Lib/test/
Dpythoninfo.py246 os.getrandom(1, os.GRND_NONBLOCK)
/external/python/cpython3/Lib/test/
Dpythoninfo.py171 os.getrandom(1, os.GRND_NONBLOCK)
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a2.rst304 ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
D3.5.2rc1.rst459 ``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom
/external/boringssl/src/crypto/fipsmodule/
DFIPS.md49 In the case that the seed is taken from RDRAND, getrandom will also be queried with `GRND_NONBLOCK`…
/external/rust/crates/libc/src/unix/uclibc/
Dmod.rs1434 pub const GRND_NONBLOCK: ::c_uint = 0x0001; constant
/external/python/cpython2/Modules/expat/
Dxmlparse.c73 # if ! defined(GRND_NONBLOCK)
74 # define GRND_NONBLOCK 0x0001 macro
689 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/external/expat/lib/
Dxmlparse.c80 # if ! defined(GRND_NONBLOCK)
81 # define GRND_NONBLOCK 0x0001 macro
658 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/external/python/cpython3/Modules/expat/
Dxmlparse.c78 # if ! defined(GRND_NONBLOCK)
79 # define GRND_NONBLOCK 0x0001 macro
656 const unsigned int getrandomFlags = GRND_NONBLOCK; in writeRandomBytes_getrandom_nonblock()
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs1450 pub const GRND_NONBLOCK: ::c_uint = 0x0001; constant
/external/python/cpython3/Doc/library/
Dos.rst4419 :py:data:`GRND_NONBLOCK`.
4440 random bytes in non-blocking mode (using the :data:`GRND_NONBLOCK` flag) or
4468 .. data:: GRND_NONBLOCK
4474 If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not

12