summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/cryptobox.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-11 14:59:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-11 14:59:29 +0100
commit63eb2e602070feb5536c08009e494cbab20ad921 (patch)
tree73e186d1e1ce4f7274efb6b15849bd1ab9e7b09a /src/libcryptobox/cryptobox.h
parent1cf6562bcc216a1182ab8e60c29253e2207c6cfa (diff)
downloadrspamd-63eb2e602070feb5536c08009e494cbab20ad921.tar.gz
rspamd-63eb2e602070feb5536c08009e494cbab20ad921.zip
[Feature] Add and use mumhash for non-crypto hashing
Diffstat (limited to 'src/libcryptobox/cryptobox.h')
-rw-r--r--src/libcryptobox/cryptobox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h
index 9bab560ee..18e66df60 100644
--- a/src/libcryptobox/cryptobox.h
+++ b/src/libcryptobox/cryptobox.h
@@ -356,7 +356,8 @@ guint64 rspamd_cryptobox_fast_hash (const void *data,
enum rspamd_cryptobox_fast_hash_type {
RSPAMD_CRYPTOBOX_XXHASH64 = 0,
- RSPAMD_CRYPTOBOX_XXHASH32
+ RSPAMD_CRYPTOBOX_XXHASH32,
+ RSPAMD_CRYPTOBOX_MUMHASH
};
/**
* Platform independent version