Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp662 int urandom_fd = -1; in mix_hwrng_into_linux_rng_action() local
680 urandom_fd = TEMP_FAILURE_RETRY( in mix_hwrng_into_linux_rng_action()
682 if (urandom_fd == -1) { in mix_hwrng_into_linux_rng_action()
698 chunk_size = TEMP_FAILURE_RETRY(write(urandom_fd, buf, chunk_size)); in mix_hwrng_into_linux_rng_action()
714 if (urandom_fd != -1) { in mix_hwrng_into_linux_rng_action()
715 close(urandom_fd); in mix_hwrng_into_linux_rng_action()