diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-10 15:55:54 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-10 15:55:54 -0500 |
commit | e4f9737e21b6489be04e43f0af23aa968dba9ac2 (patch) | |
tree | 17475ccb72febde21425530eddce606f0176e23a /movement/lib | |
parent | 8571bfa74f4de75fbb55b37e97de80351f5e92fe (diff) | |
parent | 762af872d2f2c977e51d6e51b8c3ad622485cc05 (diff) | |
download | Sensor-Watch-e4f9737e21b6489be04e43f0af23aa968dba9ac2.tar.gz Sensor-Watch-e4f9737e21b6489be04e43f0af23aa968dba9ac2.tar.bz2 Sensor-Watch-e4f9737e21b6489be04e43f0af23aa968dba9ac2.zip |
Merge branch 'main' into movement-timer-stuff
Diffstat (limited to 'movement/lib')
-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
|