protover: Fix old tor hardcoded version check
[tor.git] / src / ext / siphash.h
blobd9b34b8980f43dae70ab72d5fca5c354f993b210
1 #ifndef SIPHASH_H
2 #define SIPHASH_H
4 struct sipkey {
5 uint64_t k0;
6 uint64_t k1;
7 };
8 uint64_t siphash24(const void *src, unsigned long src_sz, const struct sipkey *key);
10 void siphash_set_global_key(const struct sipkey *key);
11 uint64_t siphash24g(const void *src, unsigned long src_sz);
13 #endif