]> git.codecow.com Git - Monocypher.git/commit
Allow the test suite to customise its random seed
authorLoup Vaillant <loup@loup-vaillant.fr>
Sat, 26 Jan 2019 14:44:01 +0000 (15:44 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sat, 26 Jan 2019 14:44:01 +0000 (15:44 +0100)
commit6e972aa1445f6009b2a3b47492a5f2bc2d50e666
treef9f3cfe3526798f42ec47a1fac91a5ba79857f05
parent1094802ef4ed0c1a9429be5a3e8ef487aa62bee4
Allow the test suite to customise its random seed

This will only affect the property based tests, not the test vectors
themselves.  The idea is to let paranoid users run the test suite with
lots and lots of different streams of random numbers, just to be safe.

Test vector generation could undergo a similar transformation, though it
is less likely to be worth the trouble (we'd have to generate the test
vectors, compile the test suite all over again).
tests/test.c
tests/utils.h