diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-24 16:49:57 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-08-24 16:49:57 +0100 |
commit | efd981202a374cc75b2d5d1e61b518267e8527d8 (patch) | |
tree | b93d28a00c28eb70a5deda98b2707d082fe590a8 /src/libutil/util.h | |
parent | e1659e40db3f5da8492bf75a3e270146ce6cca32 (diff) | |
download | rspamd-efd981202a374cc75b2d5d1e61b518267e8527d8.tar.gz rspamd-efd981202a374cc75b2d5d1e61b518267e8527d8.zip |
Replace murmur with xxhash32.
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index 9bef49a7e..3a44cb1d8 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -387,41 +387,6 @@ GThread * rspamd_create_thread (const gchar *name, GError **err); /** - * Return 32bit murmur hash value for specified input - * @param in input data - * @param len length of the input data - * @code - * MurmurHash3 was created by Austin Appleby in 2008. The cannonical - * implementations are in C++ and placed in the public. - * - * https://sites.google.com/site/murmurhash/ - * - * Seungyoung Kim has ported it's cannonical implementation to C language - * in 2012 and published it as a part of qLibc component. - * @endcode - * @return - */ -guint32 murmur32_hash (const guint8 *in, gsize len); - -/** - * Return 32bit murmur hash value for specified input - * @param in input data - * @param len length of the input data - * @param out array of 2 guint64 variables - * @code - * MurmurHash3 was created by Austin Appleby in 2008. The cannonical - * implementations are in C++ and placed in the public. - * - * https://sites.google.com/site/murmurhash/ - * - * Seungyoung Kim has ported it's cannonical implementation to C language - * in 2012 and published it as a part of qLibc component. - * @endcode - * @return - */ -void murmur128_hash (const guint8 *in, gsize len, guint64 out[]); - -/** * Deep copy of one hash table to another * @param src source hash * @param dst destination hash |