summaryrefslogtreecommitdiff
path: root/sys/crypto/siphash.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-08-26 18:54:31 +0000
committerIan Moffett <ian@osmora.org>2025-08-26 18:55:31 +0000
commite8414b96ba94dbc761ee97d7a67b7a28cfc3a8af (patch)
tree31264552547d8974a6f3a646efba4e0e29f46012 /sys/crypto/siphash.c
parent996114589d036918f77036ece745249b35687da0 (diff)
kernel: style: Clean up and remove extra newlinesexpt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/crypto/siphash.c')
-rw-r--r--sys/crypto/siphash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/crypto/siphash.c b/sys/crypto/siphash.c
index e0cad44..5df2ad2 100644
--- a/sys/crypto/siphash.c
+++ b/sys/crypto/siphash.c
@@ -59,7 +59,6 @@
#endif
-
#define ROTATE(x, b) (uint64_t)( ((x) << (b)) | ( (x) >> (64 - (b))) )
#define HALF_ROUND(a,b,c,d,s,t) \
@@ -74,7 +73,6 @@
HALF_ROUND(v0,v1,v2,v3,13,16); \
HALF_ROUND(v2,v1,v0,v3,17,21);
-
uint64_t siphash24(const void *src, unsigned long src_sz, const char key[16]) {
const uint64_t *_key = (uint64_t *)key;
uint64_t k0 = _le64toh(_key[0]);