Page MenuHomeFreeBSD

random(4): Discard low entropy inputs
ClosedPublic

Authored by cem on Oct 6 2017, 5:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 26, 4:29 PM
Unknown Object (File)
Thu, Sep 25, 6:19 PM
Unknown Object (File)
Thu, Sep 25, 6:03 PM
Unknown Object (File)
Mon, Sep 22, 2:02 PM
Unknown Object (File)
Mon, Sep 22, 10:07 AM
Unknown Object (File)
Sep 13 2025, 4:36 AM
Unknown Object (File)
Sep 8 2025, 5:36 AM
Unknown Object (File)
Jun 29 2025, 1:26 AM
Subscribers

Details

Summary

The later members of the harvest_event structure are predictable and provide low value to the entropy pool. Only
feed in the relatively high entropy counter and explicit entropy buffer to increase measured input entropy.

See also:
https://people.freebsd.org/~jmg/vbsdcon_2017_ddfreebsdrng_slides.pdf

PR: 222807
Submitted by: W. Dean Freeman <badfilemagic AT gmail.com>
Obtained from: HBSD 8d809124d563937edd84c9c9d5494406e359c55c
Security: no -- low entropy marginal input has no known negative affect on pool quality

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 6 2017, 6:18 PM
This revision was automatically updated to reflect the committed changes.