Systemd/src/shared/siphash24.h
Lennart Poettering 9bf3b53533 shared: switch our hash table implementation over to SipHash
SipHash appears to be the new gold standard for hashing smaller strings
for hashtables these days, so let's make use of it.
2013-12-22 21:12:25 +01:00

7 lines
143 B
C

#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]);