mirror of
https://github.com/cryb-to/cryb-to.git
synced 2024-11-30 17:45:42 +00:00
f82bbc1400
Add an oath_mode(3) function which translates from mode names to numbers. Consistently use UINT_MAX, not -1, to indicate an invalid response. Change the meaning of the window parameter to always indicate the number of codes to check *in addition* to the current code. Note that for TOTP, the window goes in both directions; a window of 1 means to check the current code plus the previous and next. |
||
---|---|---|
.. | ||
Makefile.am | ||
oath_hotp.c | ||
oath_impl.h | ||
oath_key.c | ||
oath_key_alloc.c | ||
oath_key_create.c | ||
oath_key_dummy.c | ||
oath_key_free.c | ||
oath_key_from_file.c | ||
oath_key_from_uri.c | ||
oath_mode.c | ||
oath_totp.c |