On Mon, Apr 30, 2018 at 12:16 PM Kees Cook <keesc...@chromium.org> wrote:

> I just noticed: there are _no_ users of get_random_bytes_arch() ...
> didn't we once use it to feed entropy to the CRNG?

We use arch_get_random_long() for that. See "crng_initialize()".

But if there are no actual users of get_random_bytes_arch(), maybe we can
just remove the fallback to the non-arch code, and add that return value
(and the __must_check()).

                    Linus

Reply via email to