HomeFreeBSD

random: Exclude the timestamp from healthtest for pure sources

Description

random: Exclude the timestamp from healthtest for pure sources

So-called pure sources provide entropy at regular intervals, so the
timestamp counter provides little entropy. Exclude it from health
testing for such sources.

Reviewed by: cem, emaste
MFC after: 2 weeks
Sponsored by: Stormshield
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D52233

(cherry picked from commit 480928ae657d81e41f8c10837cd1cf0ca87b14ae)

Details

Provenance
markjAuthored on Sep 8 2025, 2:46 PM
Reviewer
cem
Differential Revision
D52233: random: Exclude the timestamp from healthtest for pure sources
Parents
rGb466df5ae9f8: random: Allow pure entropy sources to provide a min-entropy estimate
Branches
Unknown
Tags
Unknown