diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-12-31 14:31:48 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-12-31 14:31:48 -0900 |
| commit | 03c8bfd0ab902dd28266c9acc1ab22b8c3d8264d (patch) | |
| tree | cab79ade711d1b2db94d087afbc942fd042aa7cb /include | |
| parent | 249186761f117221f96133cd1488ca3ab2542c1c (diff) | |
| download | otputils-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.h | 4 |
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 |
| 273 | otputil_hotp_code( | 273 | otputil_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 * |
| 279 | otputil_hotp_str( | 280 | otputil_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 | ||
