aboutsummaryrefslogtreecommitdiff
path: root/src/hmac.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-26 09:04:11 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-26 09:04:11 +0200
commit3621a04cf020cba747ba75136aec7a575890cceb (patch)
tree1cb7e00db51863beb015f349ac8990db9261a873 /src/hmac.h
parent94ea8d1ac53b3aada2c616f84b8e4686ae51054c (diff)
Huge overhall; fix code; remove external deps
Diffstat (limited to 'src/hmac.h')
-rw-r--r--src/hmac.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/hmac.h b/src/hmac.h
new file mode 100644
index 0000000..3c3e8e7
--- /dev/null
+++ b/src/hmac.h
@@ -0,0 +1,11 @@
+#ifndef TOTP_HMAC_H
+#define TOTP_HMAC_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+void hmac_sha1(uint8_t *restrict,
+ const uint8_t *restrict, size_t,
+ const uint8_t *restrict, size_t);
+
+#endif /* !TOTP_HMAC_H */