diff --git a/src/crypto/groestl.c b/src/crypto/groestl.c index 00bf987..8884a74 100644 --- a/src/crypto/groestl.c +++ b/src/crypto/groestl.c @@ -8,6 +8,8 @@ * */ +#include + #include "groestl.h" #include "groestl_tables.h" @@ -204,7 +206,7 @@ static void OutputTransformation(hashState *ctx) { /* initialise context */ static void Init(hashState* ctx) { - int i = 0; + size_t i = 0; /* allocate memory for state and data buffer */ for(;i<(SIZE512/sizeof(uint32_t));i++) @@ -357,4 +359,4 @@ static int crypto_hash(unsigned char *out, return 0; } -*/ \ No newline at end of file +*/