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

/external/boringssl/src/crypto/rand/
H A Durandom.c149 buf->used = BUF_SIZE; /* To trigger a |read_full| on first use. */
159 /* read_full reads exactly |len| bytes from |fd| into |out| and returns 1. In
161 static char read_full(int fd, uint8_t *out, size_t len) { function
191 if (!read_full(urandom_fd, buf->rand, BUF_SIZE)) {
218 if (!read_full(urandom_fd, out, requested)) {

Completed in 69 milliseconds