summaryrefslogtreecommitdiffstats
path: root/include/linux/hw_random.h
diff options
context:
space:
mode:
authorTorsten Duwe <duwe@lst.de>2014-06-14 23:46:03 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-15 04:49:40 -0400
commitbe4000bc4644d027c519b6361f5ae3bbfc52c347 (patch)
tree4ce9e61ae36a8261d41d8bae1a4c8a78b3d04416 /include/linux/hw_random.h
parentc84dbf61a7b322188d2a7fddc0cc6317ac6713e2 (diff)
downloadlinux-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