Home
last modified time | relevance | path

Searched hist:"85608 f8e16c28f818f6bb9918958d231afa8bec2" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/char/
H A Drandom.cdiff 85608f8e16c28f818f6bb9918958d231afa8bec2 Wed Jun 11 05:09:20 CEST 2014 Theodore Ts'o <tytso@mit.edu> random: remove unneeded hash of a portion of the entropy pool

We previously extracted a portion of the entropy pool in
mix_pool_bytes() and hashed it in to avoid racing CPU's from returning
duplicate random values. Now that we are using a spinlock to prevent
this from happening, this is no longer necessary. So remove it, to
simplify the code a bit.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: George Spelvin <linux@horizon.com>