]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
random(4): Remove "EXPERIMENTAL" verbiage from concurrent operation
authorcem <cem@FreeBSD.org>
Thu, 15 Aug 2019 00:39:53 +0000 (00:39 +0000)
committercem <cem@FreeBSD.org>
Thu, 15 Aug 2019 00:39:53 +0000 (00:39 +0000)
commitbbe643329136731f83688907323d7d2883ca1087
tree57abc2ff25a415b9666f6e5725c8ba83223077cf
parent060f336a1835332ac54562d178474836cde0c300
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"

Approved by: secteam(implicit)
sys/dev/random/fortuna.c