summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
new file mode 100644
index 0000000..bdc6cbd
--- /dev/null
+++ b/src/hash.h
@@ -0,0 +1,8 @@
+#define OUTPUT_LENGTH 16
+
+
+int
+hash_init(void);
+
+void
+hash(const size_t in_len, const void *const in, uint8_t out[OUTPUT_LENGTH]);