Command-line interface for HOTP and TOTP
Go to file
Lucas 22333c5d6e Change totp to take a uint64_t instead of time_t
Let the application deal with converting time_t to uint64_t. For TOTP,
it's just a counter.

While there, rename 'granularity' to 'step', as it's used in RFC 6238.
2020-06-14 17:13:07 +00:00
COPYING Initial commit 2020-06-14 03:23:29 +00:00
Makefile Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
cli.c Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
err.c Small update to err.[ch] 2020-06-14 15:00:33 +00:00
err.h Small update to err.[ch] 2020-06-14 15:00:33 +00:00
mystrtonum.c Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
mystrtonum.h Use strtonum-like functions for parsing numeric arguments 2020-06-14 17:12:55 +00:00
otp.c Change totp to take a uint64_t instead of time_t 2020-06-14 17:13:07 +00:00
otp.h Change totp to take a uint64_t instead of time_t 2020-06-14 17:13:07 +00:00
run-tests.sh Add test cases for HOTP 2020-06-14 04:21:11 +00:00