chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared: switch our hash table implementation over to SipHash
[elogind.git]
/
src
/
shared
/
siphash24.h
diff --git a/src/shared/siphash24.h
b/src/shared/siphash24.h
new file mode 100644
(file)
index 0000000..
62e1168
--- /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]);