]> git.earman.xyz Git - sensor-watch.git/commit
totp : rework and add SHA256/512 (#151)
authorEmilienCourt <emilien.court@telecomnancy.net>
Sat, 14 Jan 2023 16:58:03 +0000 (17:58 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Jan 2023 16:58:03 +0000 (11:58 -0500)
commit9ebea46300bd1bc4e3ba51b1c7915e3ba42c471a
tree013dfc56976b23c31e5501c9cc31f8ca0aa1c2c2
parent2e618850702bc9a55b1a530c89ab928c2d09501c
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>
21 files changed:
movement/lib/TOTP-MCU/LICENSE [deleted file]
movement/lib/TOTP-MCU/README.md [deleted file]
movement/lib/TOTP-MCU/TOTP.c [deleted file]
movement/lib/TOTP-MCU/TOTP.h [deleted file]
movement/lib/TOTP-MCU/blink.c [deleted file]
movement/lib/TOTP-MCU/sha1.c [deleted file]
movement/lib/TOTP-MCU/sha1.h [deleted file]
movement/lib/TOTP/LICENSE [new file with mode: 0644]
movement/lib/TOTP/README.md [new file with mode: 0644]
movement/lib/TOTP/TOTP.c [new file with mode: 0644]
movement/lib/TOTP/TOTP.h [new file with mode: 0644]
movement/lib/TOTP/example.c [new file with mode: 0644]
movement/lib/TOTP/sha1.c [new file with mode: 0644]
movement/lib/TOTP/sha1.h [new file with mode: 0644]
movement/lib/TOTP/sha256.c [new file with mode: 0644]
movement/lib/TOTP/sha256.h [new file with mode: 0644]
movement/lib/TOTP/sha512.c [new file with mode: 0644]
movement/lib/TOTP/sha512.h [new file with mode: 0644]
movement/make/Makefile
movement/watch_faces/complication/totp_face.c
movement/watch_faces/complication/totp_face_lfs.c