HomeFreeBSD

random(4): Remove "EXPERIMENTAL" verbiage from concurrent operation

Description

random(4): Remove "EXPERIMENTAL" verbiage from concurrent operation

No functional change.

Add a verbose comment giving an example side-by-side comparison between the
prior and Concurrent modes of Fortuna, and why one should believe they
produce the same result.

The intent is to flip this on by default prior to 13.0, so testing is
encouraged. To enable, add the following to loader.conf:

kern.random.fortuna.concurrent_read="1"

The intent is also to flip the default blockcipher to the faster Chacha-20
prior to 13.0, so testing of that mode of operation is also appreciated.
To enable, add the following to loader.conf:

kern.random.use_chacha20_cipher="1"

(cherry picked from commit 878a05a4e67a49bccb036b9d323254c0bf17538b)

Details

Provenance
cemAuthored on Aug 15 2019, 12:39 AM
obrienCommitted on Feb 15 2022, 2:09 AM
Parents
rGf3ed4a38b520: random(4): Fix a regression in short AES mode reads
Branches
Unknown
Tags
Unknown