summaryrefslogtreecommitdiff
path: root/src/shared/siphash24.h
diff options
context:
space:
mode:
authorblueness <basile@opensource.dyc.edu>2014-08-06 06:36:03 -0400
committerblueness <basile@opensource.dyc.edu>2014-08-06 06:36:03 -0400
commitcb2823bc026644ae56c9d257591d28a4f3110f4b (patch)
tree28cdd75fec8c6c6a2cf69c9668add048c10370f8 /src/shared/siphash24.h
parent4b8733ffe9c0fe8e5a527186d323dab93e43fb37 (diff)
parentb1ac60946d1625e14029ea9b7fa3aa4c06e0795f (diff)
Merge pull request #96 from gentoo/refactor-shared
src/shared: refactor shared code
Diffstat (limited to 'src/shared/siphash24.h')
-rw-r--r--src/shared/siphash24.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/siphash24.h b/src/shared/siphash24.h
new file mode 100644
index 0000000000..3253c179b6
--- /dev/null
+++ b/src/shared/siphash24.h
@@ -0,0 +1,4 @@
+#include <inttypes.h>
+#include <sys/types.h>
+
+void siphash24(uint8_t out[8], const void *in, size_t inlen, const uint8_t k[16]);