diff options
Diffstat (limited to 'movement/lib/TOTP-MCU/sha1.c')
-rw-r--r-- | movement/lib/TOTP-MCU/sha1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/movement/lib/TOTP-MCU/sha1.c b/movement/lib/TOTP-MCU/sha1.c index 8e918e64..3ac14856 100644 --- a/movement/lib/TOTP-MCU/sha1.c +++ b/movement/lib/TOTP-MCU/sha1.c @@ -38,7 +38,7 @@ uint32_t rol32(uint32_t number, uint8_t bits) { return ((number << bits) | (uint32_t)(number >> (32-bits)));
}
-void hashBlock() {
+void hashBlock(void) {
uint8_t i;
uint32_t a,b,c,d,e,t;
@@ -97,7 +97,7 @@ void writeArray(uint8_t *buffer, uint8_t size){ }
}
-void pad() {
+void pad(void) {
// Implement SHA-1 padding (fips180-2 ��5.1.1)
// Pad with 0x80 followed by 0x00 until the end of the block
|