aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2022-12-31 14:31:48 -0900
committerDavid M. Syzdek <david@syzdek.net>2022-12-31 14:31:48 -0900
commit03c8bfd0ab902dd28266c9acc1ab22b8c3d8264d (patch)
treecab79ade711d1b2db94d087afbc942fd042aa7cb /include
parent249186761f117221f96133cd1488ca3ab2542c1c (diff)
downloadotputils-03c8bfd0ab902dd28266c9acc1ab22b8c3d8264d.tar.gz
otputils-03c8bfd0ab902dd28266c9acc1ab22b8c3d8264d.tar.bz2
otputils-03c8bfd0ab902dd28266c9acc1ab22b8c3d8264d.tar.xz
otputils-03c8bfd0ab902dd28266c9acc1ab22b8c3d8264d.zip
libotputil: adding arguments to otputil_hotp_code() and otputil_hotp_str()
Diffstat (limited to 'include')
-rw-r--r--include/otputil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/otputil.h b/include/otputil.h
index 128f778..4e54f8b 100644
--- a/include/otputil.h
+++ b/include/otputil.h
@@ -272,13 +272,15 @@ otputil_str(
272_OTPUTIL_F int 272_OTPUTIL_F int
273otputil_hotp_code( 273otputil_hotp_code(
274 const otputil_bv_t * hotp_k, 274 const otputil_bv_t * hotp_k,
275 uint64_t hotp_c ); 275 uint64_t hotp_c,
276 int hotp_digits );
276 277
277 278
278_OTPUTIL_F char * 279_OTPUTIL_F char *
279otputil_hotp_str( 280otputil_hotp_str(
280 const otputil_bv_t * hotp_k, 281 const otputil_bv_t * hotp_k,
281 uint64_t hotp_c, 282 uint64_t hotp_c,
283 int hotp_digits,
282 char * dst, 284 char * dst,
283 size_t dstlen ); 285 size_t dstlen );
284 286