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)
Tue, Jun 3, 12:04 PM
Unknown Object (File)
Thu, May 15, 1:24 AM
Unknown Object (File)
Apr 14 2025, 10:46 AM
Unknown Object (File)
Apr 14 2025, 4:25 AM
Unknown Object (File)
Apr 13 2025, 11:58 PM
Unknown Object (File)
Apr 13 2025, 10:09 PM
Unknown Object (File)
Apr 13 2025, 10:02 PM
Unknown Object (File)
Jan 28 2025, 8:48 PM
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.