Index: firmware/lib/cryptolib/include/sha.h |
diff --git a/firmware/lib/cryptolib/include/sha.h b/firmware/lib/cryptolib/include/sha.h |
index 8beb296b5b32bf5558772486737f8dda629b40b3..46e417d9df77acc624023142756fff9a83f1f169 100644 |
--- a/firmware/lib/cryptolib/include/sha.h |
+++ b/firmware/lib/cryptolib/include/sha.h |
@@ -58,11 +58,11 @@ void SHA1_update(SHA1_CTX* ctx, const uint8_t* data, uint64_t len); |
uint8_t* SHA1_final(SHA1_CTX* ctx); |
void SHA256_init(SHA256_CTX* ctx); |
-void SHA256_update(SHA256_CTX* ctx, const uint8_t* data, uint32_t len); |
+void SHA256_update(SHA256_CTX* ctx, const uint8_t* data, uint64_t len); |
uint8_t* SHA256_final(SHA256_CTX* ctx); |
void SHA512_init(SHA512_CTX* ctx); |
-void SHA512_update(SHA512_CTX* ctx, const uint8_t* data, uint32_t len); |
+void SHA512_update(SHA512_CTX* ctx, const uint8_t* data, uint64_t len); |
uint8_t* SHA512_final(SHA512_CTX* ctx); |
/* Convenience function for SHA-1. Computes hash on [data] of length [len]. |