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.

For stable/13, the read_rate_increment symbol remains as a stub to avoid
breaking loadable random modules.

(cherry picked from commit 6895cade9421238abf541f24fb9327ebd19e94ff)

Details

Provenance
kevansAuthored on Sep 20 2021, 4:59 AM
Parents
rG3637d2a1835e: cam: Fix a typo in a comment
Branches
Unknown
Tags
Unknown