summaryrefslogtreecommitdiff
path: root/src/shared/siphash24.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/siphash24.h')
-rw-r--r--src/shared/siphash24.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/siphash24.h b/src/shared/siphash24.h
new file mode 100644
index 0000000000..62e1168a79
--- /dev/null
+++ b/src/shared/siphash24.h
@@ -0,0 +1,6 @@
+#pragma once
+
+#include <inttypes.h>
+#include <sys/types.h>
+
+void siphash24(uint8_t out[8], const void *in, size_t inlen, const uint8_t k[16]);