]> git.karo-electronics.de Git - linux-beck.git/commit
hwrng: add randomness to system from rng sources
authorKees Cook <keescook@chromium.org>
Mon, 3 Mar 2014 23:51:48 +0000 (15:51 -0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 10 Mar 2014 12:17:06 +0000 (20:17 +0800)
commitd9e79726193346569af7953369a638ee2275ade5
tree8818f3e2b0c63d1e9eca6336e9448d29523c0d6c
parent04d088cc0b19a4cb14680b92205fd4600470c46f
hwrng: add randomness to system from rng sources

When bringing a new RNG source online, it seems like it would make sense
to use some of its bytes to make the system entropy pool more random,
as done with all sorts of other devices that contain per-device or
per-boot differences.

Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/char/hw_random/core.c