HomeFreeBSD

kern: random: drop read_rate and associated functionality

Description

kern: random: drop read_rate and associated functionality

Refer to discussion in PR 230808 for a less incomplete discussion, but
the gist of this change is that we currently collect orders of magnitude
more entropy than we need.

The excess comes from bytes being read out of /dev/*random. The default
rate at which we collect entropy without the read_rate increase is
already more than we need to recover from a compromise of an internal
state.

Reviewed by: csprng (cem, delphij, markm)
Differential Revision: https://reviews.freebsd.org/D32021

Details

Provenance
kevansAuthored on Sep 20 2021, 4:59 AM
Reviewer
csprng
Differential Revision
D32021: kern: random: reduce the rate at which we collect from fast entropy sources
Parents
rG7bc13692a2d6: hwpmc: fix performance issues
Branches
Unknown
Tags
Unknown