random: make add_timer_randomness() fill the nonblocking pool first
authorTheodore Ts'o <tytso@mit.edu>
Sun, 3 Nov 2013 04:15:05 +0000 (00:15 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 3 Nov 2013 23:18:47 +0000 (18:18 -0500)
Change add_timer_randomness() so that it directs incoming entropy to
the nonblocking pool first if it hasn't been fully initialized yet.
This matches the strategy we use in add_interrupt_randomness(), which
allows us to push the randomness where we need it the most during when
the system is first booting up, so that get_random_bytes() and
/dev/urandom become safe to use as soon as possible.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found