aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-01-04 01:56:49 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-01-04 01:56:49 -0900
commit23b044938d84fa0b2c173195d1d017b9fb3e809d (patch)
treef68eeb0e71e82165313e0be1576446ecb1aa77f2 /include
parent04012e2d8a610e4740cea6bd75514920161bf678 (diff)
downloadotputils-23b044938d84fa0b2c173195d1d017b9fb3e809d.tar.gz
otputils-23b044938d84fa0b2c173195d1d017b9fb3e809d.tar.bz2
otputils-23b044938d84fa0b2c173195d1d017b9fb3e809d.tar.xz
otputils-23b044938d84fa0b2c173195d1d017b9fb3e809d.zip
libotputil: adding support for sha3-256 and sha3-512 to TOTP/HOTP
Diffstat (limited to 'include')
-rw-r--r--include/otputil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/otputil.h b/include/otputil.h
index 9f29ef3..a5b8c8b 100644
--- a/include/otputil.h
+++ b/include/otputil.h
@@ -132,6 +132,8 @@
132#define OTPUTIL_MD_SHA1 1 132#define OTPUTIL_MD_SHA1 1
133#define OTPUTIL_MD_SHA256 2 133#define OTPUTIL_MD_SHA256 2
134#define OTPUTIL_MD_SHA512 3 134#define OTPUTIL_MD_SHA512 3
135#define OTPUTIL_MD_SHA3_256 4
136#define OTPUTIL_MD_SHA3_512 5
135 137
136 138
137#define OTPUTIL_METH_RFC4226 0x0001 139#define OTPUTIL_METH_RFC4226 0x0001