diff options
author | Torsten Duwe <duwe@lst.de> | 2014-06-14 23:46:03 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-15 04:49:40 -0400 |
commit | be4000bc4644d027c519b6361f5ae3bbfc52c347 (patch) | |
tree | 4ce9e61ae36a8261d41d8bae1a4c8a78b3d04416 /include/linux/hw_random.h | |
parent | c84dbf61a7b322188d2a7fddc0cc6317ac6713e2 (diff) | |
download | linux-be4000bc4644d027c519b6361f5ae3bbfc52c347.tar.gz linux-be4000bc4644d027c519b6361f5ae3bbfc52c347.tar.bz2 linux-be4000bc4644d027c519b6361f5ae3bbfc52c347.zip |
hwrng: create filler thread
This can be viewed as the in-kernel equivalent of hwrngd;
like FUSE it is a good thing to have a mechanism in user land,
but for some reasons (simplicity, secrecy, integrity, speed)
it may be better to have it in kernel space.
This patch creates a thread once a hwrng registers, and uses
the previously established add_hwgenerator_randomness() to feed
its data to the input pool as long as needed. A derating factor
is used to bias the entropy estimation and to disable this
mechanism entirely when set to zero.
Signed-off-by: Torsten Duwe <duwe@suse.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Acked-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'include/linux/hw_random.h')
0 files changed, 0 insertions, 0 deletions