summaryrefslogtreecommitdiff
path: root/usual/hashing/lookup3.h
blob: 33e227fe00a1813f3106b59a8aecbe38328fdff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * @file
 *
 * Jenkins' lookup3 non-cryptographic hash.
 */
#ifndef _USUAL_HASHING_LOOKUP3_H_
#define _USUAL_HASHING_LOOKUP3_H_

#include <usual/base.h>

/**
 * Calculate 64-bit hash over data
 */
uint64_t hash_lookup3(const void *data, size_t len);

#endif