fixing sha256
[arm-crypto-lib.git] / sha2 / sha2_small_common.h
index 9010cfb3f968e94045029c5d4bbd96bb95d9aa80..a771d5dffdc3f9e07e8a2eda329d02d4b8e224fd 100644 (file)
@@ -22,7 +22,7 @@
 
 typedef struct {
        uint32_t h[8];
-       uint64_t length;
+       uint32_t length;
 } sha2_small_common_ctx_t;
 
 void sha2_small_common_nextBlock(sha2_small_common_ctx_t* state, const void* block);