opnsense-src/sys/dev/random
Matt Macy a6bc59f203 Reduce overhead of entropy collection
- move harvest mask check inline
- move harvest mask to frequently_read out of actively
  modified cache line
- disable ether_input collection and describe its limitations
  in NOTES

Typically entropy collection in ether_input was stirring zero
in to the entropy pool while at the same time greatly reducing
max pps. This indicates that perhaps we should more closely
scrutinize how much entropy we're getting from a given source
as well as what our actual entropy collection needs are for
seeding Yarrow.

Reviewed by: cem, gallatin, delphij
Approved by: secteam
Differential Revision: https://reviews.freebsd.org/D15526
2018-05-31 21:53:07 +00:00
..
build.sh Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
fortuna.c random(4): Discard low entropy inputs 2017-10-06 18:27:55 +00:00
fortuna.h
hash.c Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
hash.h
ivy.c Fix rdrand_rng.ko and padlock_rng.ko dependencies, making modules 2016-04-16 06:10:47 +00:00
nehemiah.c Remove unused error return from API that cannot fail 2018-02-23 20:15:19 +00:00
other_algorithm.c Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
other_algorithm.h
random_harvestq.c Reduce overhead of entropy collection 2018-05-31 21:53:07 +00:00
random_harvestq.h Replace the RC4 algorithm for generating in-kernel secure random 2017-04-16 09:11:02 +00:00
random_infra.c
randomdev.c random(4): Poll for signals during large reads 2018-03-16 18:50:26 +00:00
randomdev.h
uint128.h
unit_test.c Replace sys/crypto/sha2/sha2.c with lib/libmd/sha512c.c 2015-12-27 17:33:59 +00:00
unit_test.h
yarrow.c dev/random: minor spelling fixes in comments. 2016-05-02 14:35:57 +00:00
yarrow.h