summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox/cryptobox.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-12 12:45:17 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-05-12 12:45:17 +0100
commitb00d4cd3cc0e70e90f50a8fed294754a4c6e9475 (patch)
treefe8cae67a6bf5b59117ffd280fee29d0d069f225 /src/libcryptobox/cryptobox.h
parent57d8d8f8cbaff95ec64c3e281043849fa490ee2d (diff)
downloadrspamd-b00d4cd3cc0e70e90f50a8fed294754a4c6e9475.tar.gz
rspamd-b00d4cd3cc0e70e90f50a8fed294754a4c6e9475.zip
[Feature] Use metrohash as well
Diffstat (limited to 'src/libcryptobox/cryptobox.h')
-rw-r--r--src/libcryptobox/cryptobox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h
index c44044f48..6facf0a0e 100644
--- a/src/libcryptobox/cryptobox.h
+++ b/src/libcryptobox/cryptobox.h
@@ -358,7 +358,9 @@ enum rspamd_cryptobox_fast_hash_type {
RSPAMD_CRYPTOBOX_XXHASH64 = 0,
RSPAMD_CRYPTOBOX_XXHASH32,
RSPAMD_CRYPTOBOX_MUMHASH,
- RSPAMD_CRYPTOBOX_HASHFAST
+ RSPAMD_CRYPTOBOX_METROHASH,
+ RSPAMD_CRYPTOBOX_HASHFAST,
+ RSPAMD_CRYPTOBOX_HASHFAST_INDEPENDENT
};
/**
* Platform independent version