mirror of
https://github.com/torvalds/linux.git
synced 2024-11-13 23:51:39 +00:00
a3957b1f3e
MurmurHash3 is a fast, non-cryptographic, 128-bit hash. It was originally written by Austin Appleby and placed in the public domain. This version has been modified to produce the same result on both big endian and little endian processors, making it suitable for use in portable persistent data. Co-developed-by: J. corwin Coburn <corwin@hurlbutnet.net> Signed-off-by: J. corwin Coburn <corwin@hurlbutnet.net> Co-developed-by: Ken Raeburn <raeburn@redhat.com> Signed-off-by: Ken Raeburn <raeburn@redhat.com> Co-developed-by: John Wiele <jwiele@redhat.com> Signed-off-by: John Wiele <jwiele@redhat.com> Signed-off-by: Matthew Sakai <msakai@redhat.com> Signed-off-by: Mike Snitzer <snitzer@kernel.org>
16 lines
395 B
C
16 lines
395 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
/*
|
|
* MurmurHash3 was written by Austin Appleby, and is placed in the public
|
|
* domain. The author hereby disclaims copyright to this source code.
|
|
*/
|
|
|
|
#ifndef _MURMURHASH3_H_
|
|
#define _MURMURHASH3_H_
|
|
|
|
#include <linux/compiler.h>
|
|
#include <linux/types.h>
|
|
|
|
void murmurhash3_128(const void *key, int len, u32 seed, void *out);
|
|
|
|
#endif /* _MURMURHASH3_H_ */
|