HomeFreeBSD

kern: random: collect ~16x less from fast-entropy sources

Description

kern: random: collect ~16x less from fast-entropy sources

Previously, we were collecting at a base rate of:

64 bits x 32 pools x 10 Hz = 2.5 kB/s

This change drops it to closer to 64-ish bits per pool per second, to
work a little better with entropy providers in virtualized environments
without compromising the security goals of Fortuna.

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

Details

Provenance
kevansAuthored on Sep 20 2021, 5:46 AM
Reviewer
csprng
Differential Revision
D32021: kern: random: reduce the rate at which we collect from fast entropy sources
Parents
rG6895cade9421: kern: random: drop read_rate and associated functionality
Branches
Unknown
Tags
Unknown