]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
random(4): Flip default Fortuna generator over to Chacha20
authorcem <cem@FreeBSD.org>
Fri, 20 Dec 2019 21:11:00 +0000 (21:11 +0000)
committercem <cem@FreeBSD.org>
Fri, 20 Dec 2019 21:11:00 +0000 (21:11 +0000)
commit3c1bed235f1f26cff1c7cee6a337390880612cad
tree5b0d003f3ca86fe2599f7b778e03084e552c4d24
parent41b7f699dcaedbec92b71740e74175782c52c93b
random(4): Flip default Fortuna generator over to Chacha20

The implementation was landed in r344913 and has had some bake time (at
least on my personal systems).  There is some discussion of the motivation
for defaulting to this cipher as a PRF in the commit log for r344913.

As documented in that commit, administrators can retain the prior (AES-ICM)
mode of operation by setting the 'kern.random.use_chacha20_cipher' tunable
to 0 in loader.conf(5).

Approved by: csprng(delphij, markm)
Differential Revision: https://reviews.freebsd.org/D22878
sys/dev/random/hash.c