Activated testing of long messages

This commit is contained in:
Alain Mosnier 2017-12-15 23:41:17 +01:00
parent a222d72880
commit f03474231f
2 changed files with 2 additions and 2 deletions

View File

@ -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);

2
test.c
View File

@ -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 };