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, Apr 16, 5:48 AM
Unknown Object (File)
Sun, Apr 7, 1:16 PM
Unknown Object (File)
Jan 13 2024, 3:39 AM
Unknown Object (File)
Nov 11 2023, 1:48 AM
Unknown Object (File)
Nov 8 2023, 4:03 AM
Unknown Object (File)
Nov 7 2023, 10:40 AM
Unknown Object (File)
Nov 4 2023, 8:06 PM
Unknown Object (File)
Oct 16 2023, 6:19 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.