]> git.codecow.com Git - Monocypher.git/commit
Use official Blake2b test vectors
authorLoup Vaillant <loup@loup-vaillant.fr>
Thu, 1 Apr 2021 09:19:58 +0000 (11:19 +0200)
committerLoup Vaillant <loup@loup-vaillant.fr>
Thu, 1 Apr 2021 09:19:58 +0000 (11:19 +0200)
commitcfe2af980091726f1a92c722bed2b6d2a7a11334
treef0df0f42c2e19df506e2c1f8cc4db6c5590ae845
parent1bf67d370c9e93f4c043f03ab47088a9339299f4
Use official Blake2b test vectors

Should have done this years ago. The test vectors we had were pretty
good, but the official ones are, well, official.

Note that we kept a good deal of our own vectors: while the official
test vectors tested all possible key sizes, they did not test all
possible hash sizes or all possible key sizes.
tests/gen/blake2b.c
tests/gen/makefile
tests/gen/vectors/blake2b [new file with mode: 0644]