commit | 85608f8e16c28f818f6bb9918958d231afa8bec2 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Tue Jun 10 23:09:20 2014 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue Jul 15 04:49:39 2014 -0400 |
tree | 506408b80b020f5856874812045f7c826513a78e | |
parent | 91fcb532efe366d79b93a3c8c368b9dca6176a55 [diff] |
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>