Home
last modified time | relevance | path

Searched refs:urandom_fd (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/crypto/rand/
Durandom.c52 static int urandom_fd = -2; variable
96 urandom_fd = fd; in init_once()
112 if (urandom_fd != fd) { in RAND_set_urandom_fd()
133 if (urandom_buffering != 1 || (fd >= 0 && urandom_fd != fd)) { in RAND_enable_fork_unsafe_buffering()
191 if (!read_full(urandom_fd, buf->rand, BUF_SIZE)) { in read_from_buffer()
218 if (!read_full(urandom_fd, out, requested)) { in CRYPTO_sysrand()
/external/libchrome/base/
Drand_util_posix.cc51 const int urandom_fd = g_urandom_fd.Pointer()->fd(); in RandBytes() local
53 ReadFromFD(urandom_fd, static_cast<char*>(output), output_length); in RandBytes()
/external/libweave/third_party/chromium/base/
Drand_util_posix.cc56 URandomFd urandom_fd; in RandBytes() local
58 ReadFromFD(urandom_fd.fd(), static_cast<char*>(output), output_length); in RandBytes()