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.

(cherry picked from commit 5e79bba562bc303eed669dbd0d391b6c6a9c289b)

Details

Provenance
kevansAuthored on Sep 20 2021, 5:46 AM
Parents
rG40f9f2279c0f: kern: random: drop read_rate and associated functionality
Branches
Unknown
Tags
Unknown