1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/etc
Conrad Meyer 403c041316 random(4): Add regression tests for uint128 implementation, Chacha CTR
Add some basic regression tests to verify behavior of both uint128
implementations at typical boundary conditions, to run on all architectures.

Test uint128 increment behavior of Chacha in keystream mode, as used by
'kern.random.use_chacha20_cipher=1' (r344913) to verify assumptions at edge
cases.  These assumptions are critical to the safety of using Chacha as a
PRF in Fortuna (as implemented).

(Chacha's use in arc4random is safe regardless of these tests, as it is
limited to far less than 4 billion blocks of output in that API.)

Reviewed by:	markm
Approved by:	secteam(gordon)
Differential Revision:	https://reviews.freebsd.org/D20392
2019-06-17 14:59:45 +00:00
..
gss
mail Add support for the authinfo map 2019-02-04 02:18:27 +00:00
mtree random(4): Add regression tests for uint128 implementation, Chacha CTR 2019-06-17 14:59:45 +00:00
root Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/. 2018-08-29 16:59:19 +00:00
sendmail pkgbase: Add the correct package for sendmail configuration files 2019-06-12 09:17:32 +00:00
group Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +00:00
Makefile pkgbase: Add some tags to files installed in distribution target 2019-06-12 09:18:23 +00:00
Makefile.depend
master.passwd Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +00:00
shells Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +00:00