diff options
author | Pauli <paul.dale@oracle.com> | 2019-05-29 09:54:29 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-05-29 09:54:29 +1000 |
commit | 5d2f3e4a6c3e62677cdf3b33d8b9b08ff7d52dc7 (patch) | |
tree | 36c697b0b6bc6552ff3471e26c8c49bcf5410d9e /INSTALL | |
parent | d4e2d5db621a512eff8a0ab07d3ac44d7122428a (diff) |
Test of uniformity of BN_rand_range output.
Rework the test so that it fails far less often.
A number of independent tests are executed and 5% are expected to fail.
The number of such failures follows a binomial distribution which permits
a statistical test a 0.01% expected failure rate.
There is a command line option to enable the stochastic range checking.
It is off by default.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8830)
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1200,6 +1200,11 @@ $ make TESTS='[89]? -90' +To stochastically verify that the algorithm that produces uniformly distributed +random numbers is operating correctly (with a false positive rate of 0.01%): + + $ ./util/shlib_wrap.sh test/bntest -stochastic + Note on multi-threading ----------------------- |