totp : rework and add SHA256/512 (#151)
* totp : rework and add SHA256/512 * totp : comment code * totp : fix SHA224/SHA384 and examples * totp : fix bug in totp_face_lfs * totp : init_totp_record to SHA1 * totp : move TOTP-MCU to TOTP, update README and example * totp : SHAX, use size_t n instead of harcoded 8 * clarify what to put in TOTP face Co-authored-by: Emilien <Emilien> Co-authored-by: joeycastillo <joeycastillo@utexas.edu>
This commit is contained in:
@@ -17,7 +17,7 @@ INCLUDES += \
|
||||
-I../watch_faces/sensor/ \
|
||||
-I../watch_faces/demo/ \
|
||||
-I../../littlefs/ \
|
||||
-I../lib/TOTP-MCU/ \
|
||||
-I../lib/TOTP/ \
|
||||
-I../lib/base32/ \
|
||||
-I../lib/sunriset/ \
|
||||
-I../lib/vsop87/ \
|
||||
@@ -30,8 +30,10 @@ INCLUDES += \
|
||||
# ../drivers/lis2dh.c \
|
||||
# ../watch_faces/fitness/step_count_face.c
|
||||
SRCS += \
|
||||
../lib/TOTP-MCU/sha1.c \
|
||||
../lib/TOTP-MCU/TOTP.c \
|
||||
../lib/TOTP/sha1.c \
|
||||
../lib/TOTP/sha256.c \
|
||||
../lib/TOTP/sha512.c \
|
||||
../lib/TOTP/TOTP.c \
|
||||
../lib/base32/base32.c \
|
||||
../lib/sunriset/sunriset.c \
|
||||
../lib/vsop87/vsop87a_milli.c \
|
||||
|
||||
Reference in New Issue
Block a user