| 87 | extern "C" uint64_t siphash_nocase(const uint8_t *in, const size_t inlen, const uint8_t *k); |
| 88 | |
| 89 | uint64_t dictGenHashFunction(const void *key, int len) { |
| 90 | return siphash((const uint8_t*)key,len,dict_hash_function_seed); |
| 91 | } |
| 92 | |
| 93 | uint64_t dictGenCaseHashFunction(const unsigned char *buf, int len) { |
| 94 | return siphash_nocase(buf,len,dict_hash_function_seed); |
no test coverage detected