summaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-28 07:33:30 -0300
committerEuAndreh <eu@euandre.org>2024-01-01 12:35:01 -0300
commit9f554a72b01705ebf6be66143c5e69b09b3c1372 (patch)
treefadf04038b2d5df32fd4b5bc93ba291269c322a0 /src/hash.h
downloadpindaiba-9f554a72b01705ebf6be66143c5e69b09b3c1372.tar.gz
pindaiba-9f554a72b01705ebf6be66143c5e69b09b3c1372.tar.xz
Init project: copy files and skeletons from others
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]);