]> git.codecow.com Git - Monocypher.git/commit
Faster crypto_verify*() tests
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 17 Jun 2018 17:47:46 +0000 (19:47 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 17 Jun 2018 17:47:46 +0000 (19:47 +0200)
commite1a3ef37d4e1e5fe81b4f10aba132c07a532c600
tree93aa3c21d01e62c93ce24ff8f2e537aeaf079217
parentab2010f1c1f4ec7f5ee10ba524c4e9c29792ae81
Faster crypto_verify*() tests

There was no need to test every possible value to catch the errors the
tests caugth.  Cutting them down makes the test 64000 times faster,
which matters quite a lot when we run the TIS interpreter.

The new tests catch just as many errors as the old ones.
tests/test.c