summaryrefslogtreecommitdiffstats
path: root/src/libcryptobox
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcryptobox')
-rw-r--r--src/libcryptobox/cryptobox.c2
-rw-r--r--src/libcryptobox/cryptobox.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/libcryptobox/cryptobox.c b/src/libcryptobox/cryptobox.c
index c0f0eb65c..c4d20f9a4 100644
--- a/src/libcryptobox/cryptobox.c
+++ b/src/libcryptobox/cryptobox.c
@@ -1534,6 +1534,8 @@ rspamd_cryptobox_fast_hash_specific (
return XXH64 (data, len, seed);
case RSPAMD_CRYPTOBOX_MUMHASH:
return mum_hash (data, len, seed);
+ case RSPAMD_CRYPTOBOX_T1HA:
+ return t1ha (data, len, seed);
case RSPAMD_CRYPTOBOX_HASHFAST_INDEPENDENT:
return rspamd_cryptobox_fast_hash_indep (data, len, seed);
case RSPAMD_CRYPTOBOX_HASHFAST:
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h
index d2fcbf2d2..3ae7679d0 100644
--- a/src/libcryptobox/cryptobox.h
+++ b/src/libcryptobox/cryptobox.h
@@ -359,6 +359,7 @@ enum rspamd_cryptobox_fast_hash_type {
RSPAMD_CRYPTOBOX_XXHASH64 = 0,
RSPAMD_CRYPTOBOX_XXHASH32,
RSPAMD_CRYPTOBOX_MUMHASH,
+ RSPAMD_CRYPTOBOX_T1HA,
RSPAMD_CRYPTOBOX_METROHASH,
RSPAMD_CRYPTOBOX_HASHFAST,
RSPAMD_CRYPTOBOX_HASHFAST_INDEPENDENT