From f03474231fc0e86c66cbe2a74a9d9f6589dd96f9 Mon Sep 17 00:00:00 2001 From: Alain Mosnier Date: Fri, 15 Dec 2017 23:41:17 +0100 Subject: [PATCH] Activated testing of long messages --- sha-256.h | 2 +- test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sha-256.h b/sha-256.h index 37d208f..47f06eb 100644 --- a/sha-256.h +++ b/sha-256.h @@ -1 +1 @@ -void calc_sha_256(uint8_t hash[32], const void * input, size_t len); +void calc_sha_256(uint8_t hash[32], const void *input, size_t len); diff --git a/test.c b/test.c index 871f2ad..aef78a6 100644 --- a/test.c +++ b/test.c @@ -41,7 +41,7 @@ static const struct string_vector STRING_VECTORS[] = { } }; -#define LARGE_MESSAGES 0 +#define LARGE_MESSAGES 1 static uint8_t data1[] = { 0xbd }; static uint8_t data2[] = { 0xc9, 0x8c, 0x8e, 0x55 };