]> git.codecow.com Git - Monocypher.git/commit
Added ed25519 tests
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 20 Apr 2018 22:37:41 +0000 (00:37 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 20 Apr 2018 22:37:41 +0000 (00:37 +0200)
commitbe33cc35d9288adc7cbaf7909ef4f30318d09cb0
treece12596bd421d0b41f92e97f94e984fa806160af
parent2a930d7e1892f9e570d5614a6a1a2883aec0e30e
Added ed25519 tests

Monocypher failed to compile with -DED25519_SHA512 since we added the
incremental interface.  The error has been corrected by the #95 Pull
Request by @vbmithr.

To make sure this doesn't happen again, the test suite has been expanded
to include the official Ed25519 construction.  You can test it thus:

    $ make clean
    $ make test CFLAGS="-DED25519_SHA512 -O3"

Or just run `tests/test.sh` to have the whole shebang.
tests/gen/ed_25519.c [new file with mode: 0644]
tests/gen/makefile
tests/test.c
tests/test.sh