Home
last modified time | relevance | path

Searched hist:"4 a0fc138e5eb343e45388e66698a4765b308a622" (Results 1 – 2 of 2) sorted by relevance

/freebsd/tools/test/arc4random/
H A Dbiastest.c4a0fc138e5eb343e45388e66698a4765b308a622 Wed Nov 27 18:37:58 CET 2024 Robert Clausecker <fuz@FreeBSD.org> tools: add arc4random_uniform() bias test

This test program executed arc4random_uniform() repeatedly and
analyzes the distribution of return values, showing how similar
the parameters of the observed outcome are to the expected
parameters of an equidistribution.

This cannot be a unit test as it takes quite a while to run and
lots of memory (~3 GB) to execute.

Reviewed by: cem
Approved by: emaste
Differential Revision: https://reviews.freebsd.org/D47659
/freebsd/tools/test/
H A DREADMEdiff 4a0fc138e5eb343e45388e66698a4765b308a622 Wed Nov 27 18:37:58 CET 2024 Robert Clausecker <fuz@FreeBSD.org> tools: add arc4random_uniform() bias test

This test program executed arc4random_uniform() repeatedly and
analyzes the distribution of return values, showing how similar
the parameters of the observed outcome are to the expected
parameters of an equidistribution.

This cannot be a unit test as it takes quite a while to run and
lots of memory (~3 GB) to execute.

Reviewed by: cem
Approved by: emaste
Differential Revision: https://reviews.freebsd.org/D47659