]> git.baikalelectronics.ru Git - kernel.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)
commitf356c9db0c10c3f01ebe21c260234076bd707598
tree8818f3e2b0c63d1e9eca6336e9448d29523c0d6c
parentca8e9e27926aec15b9b7379368ac1d88a91a5525
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