aboutsummaryrefslogtreecommitdiff
path: root/src/algo/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/algo/hash.h')
-rw-r--r--src/algo/hash.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/algo/hash.h b/src/algo/hash.h
new file mode 100644
index 0000000..2b168b9
--- /dev/null
+++ b/src/algo/hash.h
@@ -0,0 +1,10 @@
+#ifndef CRYPTOBENCH_SRC_ALGO_HASH_H
+#define CRYPTOBENCH_SRC_ALGO_HASH_H
+
+#include <stddef.h>
+#include <stdint.h>
+
+uint64_t xor64_hash(uint64_t const *const bytes, size_t size);
+uint64_t djb2_hash(char const *const bytes, size_t size);
+
+#endif