1 // An implementation of the SipHash algorithm. 2 3 #pragma once 4 5 #include <stddef.h> 6 #include <stdint.h> 7 8 #include "util.h" 9 10 // This value will be randomized on startup in tomo_init(): 11 extern uint64_t TOMO_HASH_KEY[2]; 12 13 PUREFUNC uint64_t siphash24(const uint8_t *src, size_t src_sz);