diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-12-29 01:42:18 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-12-29 01:42:18 -0900 |
| commit | 2812056f9d2844ebf7ec4662ca1e869be6b984c1 (patch) | |
| tree | 86113b3ee1982c785a4b1287eb5976aad4e4bc17 /include | |
| parent | 245902b8b802a3bd578ee89058bfc5ffbac7c7ab (diff) | |
| download | otputils-2812056f9d2844ebf7ec4662ca1e869be6b984c1.tar.gz otputils-2812056f9d2844ebf7ec4662ca1e869be6b984c1.tar.bz2 otputils-2812056f9d2844ebf7ec4662ca1e869be6b984c1.tar.xz otputils-2812056f9d2844ebf7ec4662ca1e869be6b984c1.zip | |
libtotputils: refactoring totputils_totp_code()
Diffstat (limited to 'include')
| -rw-r--r-- | include/totputils.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/totputils.h b/include/totputils.h index 21edafc..0c87039 100644 --- a/include/totputils.h +++ b/include/totputils.h | |||
| @@ -293,8 +293,11 @@ totputils_hotp_str( | |||
| 293 | 293 | ||
| 294 | _TOTPUTILS_F int | 294 | _TOTPUTILS_F int |
| 295 | totputils_totp_code( | 295 | totputils_totp_code( |
| 296 | totputils_t * tud, | 296 | const totputils_bv_t * totp_k, |
| 297 | uint64_t totp_time ); | 297 | uint64_t totp_t0, |
| 298 | uint64_t totp_tx, | ||
| 299 | uint64_t totp_time, | ||
| 300 | uint64_t totp_hmac ); | ||
| 298 | 301 | ||
| 299 | 302 | ||
| 300 | _TOTPUTILS_F char * | 303 | _TOTPUTILS_F char * |
