aboutsummaryrefslogtreecommitdiff
path: root/src/ext/siphash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/siphash.h')
-rw-r--r--src/ext/siphash.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ext/siphash.h b/src/ext/siphash.h
new file mode 100644
index 0000000000..ff372bc5d4
--- /dev/null
+++ b/src/ext/siphash.h
@@ -0,0 +1,9 @@
+#ifndef SIPHASH_H
+#define SIPHASH_H
+struct sipkey {
+ uint64_t k0;
+ uint64_t k1;
+};
+uint64_t siphash24(const void *src, unsigned long src_sz, const struct sipkey *key);
+
+#endif