]> git.codecow.com Git - Monocypher.git/commit
Tests for crypto_verify*() catch more errors
authorLoup Vaillant <loup@loup-vaillant.fr>
Sun, 17 Jun 2018 18:05:36 +0000 (20:05 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Sun, 17 Jun 2018 18:05:36 +0000 (20:05 +0200)
commit5614f339881949bb2d0d0c12648250074e652bfd
treec9291cdf00b75984296264d39ad7e2d90866328d
parente1a3ef37d4e1e5fe81b4f10aba132c07a532c600
Tests for crypto_verify*() catch more errors

The test had a symmetry that caused them to miss a possible error, where
the implementer would replace an `|` operator by an `&` operator.
Breaking that symmetry allow them to catch that error.

The other errors are caught all the same.
tests/test.c