Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp196 int urandom_fd = -1; in mix_hwrng_into_linux_rng_action() local
214 urandom_fd = TEMP_FAILURE_RETRY( in mix_hwrng_into_linux_rng_action()
216 if (urandom_fd == -1) { in mix_hwrng_into_linux_rng_action()
232 chunk_size = TEMP_FAILURE_RETRY(write(urandom_fd, buf, chunk_size)); in mix_hwrng_into_linux_rng_action()
248 if (urandom_fd != -1) { in mix_hwrng_into_linux_rng_action()
249 close(urandom_fd); in mix_hwrng_into_linux_rng_action()