1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-25 04:55:07 -07:00

Add Blake2b test vectors from the reference code

This commit is contained in:
Frank Denis 2015-10-18 00:55:10 +02:00
parent f01c303631
commit 1cfa5ec6c1
3 changed files with 1336 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,8 @@
#define TEST_NAME "generichash2" #define TEST_NAME "generichash2"
#include "cmptest.h" #include "cmptest.h"
int main(void) int
main(void)
{ {
#define MAXLEN 64 #define MAXLEN 64
crypto_generichash_state st; crypto_generichash_state st;

View File

@ -2,7 +2,8 @@
#define TEST_NAME "generichash3" #define TEST_NAME "generichash3"
#include "cmptest.h" #include "cmptest.h"
int main(void) int
main(void)
{ {
#define MAXLEN 64 #define MAXLEN 64
crypto_generichash_blake2b_state st; crypto_generichash_blake2b_state st;