HomeFreeBSD

arc4random(3): Reduce diff with OpenBSD.

Description

arc4random(3): Reduce diff with OpenBSD.

The main change was v1.57 by djm@:

Randomise the rekey interval a little. Previously, the chacha20
instance would be rekeyed every 1.6MB. This makes it happen at a
random point somewhere in the 1-2MB range.

Reviewed by: csprng (markm, cem)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D36088

Details

Provenance
delphijAuthored on Aug 10 2022, 12:27 AM
Differential Revision
D36088: arc4random(3): Reduce diff with OpenBSD.
Parents
rG1dfa8b73f6a6: tests: Add more shared shadow regression tests
Branches
Unknown
Tags
Unknown