aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-12-29 01:42:18 -0900
committerDavid M. Syzdek <david@syzdek.net>2022-12-29 01:42:18 -0900
commit2812056f9d2844ebf7ec4662ca1e869be6b984c1 (patch)
tree86113b3ee1982c785a4b1287eb5976aad4e4bc17 /include
parent245902b8b802a3bd578ee89058bfc5ffbac7c7ab (diff)
downloadotputils-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.h7
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
295totputils_totp_code( 295totputils_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 *