Home
last modified time | relevance | path

Searched refs:rspamd_cryptobox_HASHBYTES (Results 1 – 25 of 58) sorted by relevance

123

/dports/mail/rspamd-devel/rspamd-93430bb/src/libcryptobox/
H A Dkeypairs_cache.c24 guchar pair[rspamd_cryptobox_HASHBYTES * 2];
86 memcpy (search.pair, rk->id, rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
87 memcpy (&search.pair[rspamd_cryptobox_HASHBYTES], lk->id, in rspamd_keypair_cache_process()
88 rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
105 memcpy (new->pair, rk->id, rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
106 memcpy (&new->pair[rspamd_cryptobox_HASHBYTES], lk->id, in rspamd_keypair_cache_process()
107 rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
H A Dkeypair_private.h39 guchar id[rspamd_cryptobox_HASHBYTES];
89 guchar id[rspamd_cryptobox_HASHBYTES];
H A Dcryptobox.h44 #define rspamd_cryptobox_HASHBYTES 64 macro
/dports/mail/rspamd/rspamd-3.1/src/libcryptobox/
H A Dkeypairs_cache.c24 guchar pair[rspamd_cryptobox_HASHBYTES * 2];
86 memcpy (search.pair, rk->id, rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
87 memcpy (&search.pair[rspamd_cryptobox_HASHBYTES], lk->id, in rspamd_keypair_cache_process()
88 rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
105 memcpy (new->pair, rk->id, rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
106 memcpy (&new->pair[rspamd_cryptobox_HASHBYTES], lk->id, in rspamd_keypair_cache_process()
107 rspamd_cryptobox_HASHBYTES); in rspamd_keypair_cache_process()
H A Dkeypair_private.h39 guchar id[rspamd_cryptobox_HASHBYTES];
89 guchar id[rspamd_cryptobox_HASHBYTES];
H A Dcryptobox.h44 #define rspamd_cryptobox_HASHBYTES 64 macro
/dports/mail/rspamd-devel/rspamd-93430bb/src/libstat/learn_cache/
H A Dsqlite3_cache.c191 out = rspamd_mempool_alloc (task->task_pool, rspamd_cryptobox_HASHBYTES); in rspamd_stat_cache_sqlite3_check()
212 RSPAMD_STAT_CACHE_GET_LEARN, (gint64)rspamd_cryptobox_HASHBYTES, in rspamd_stat_cache_sqlite3_check()
225 rspamd_cryptobox_HASHBYTES, out); in rspamd_stat_cache_sqlite3_check()
262 (gint64)rspamd_cryptobox_HASHBYTES, h, flag); in rspamd_stat_cache_sqlite3_learn()
272 (gint64)rspamd_cryptobox_HASHBYTES, h); in rspamd_stat_cache_sqlite3_learn()
/dports/mail/rspamd/rspamd-3.1/src/libstat/learn_cache/
H A Dsqlite3_cache.c191 out = rspamd_mempool_alloc (task->task_pool, rspamd_cryptobox_HASHBYTES); in rspamd_stat_cache_sqlite3_check()
212 RSPAMD_STAT_CACHE_GET_LEARN, (gint64)rspamd_cryptobox_HASHBYTES, in rspamd_stat_cache_sqlite3_check()
225 rspamd_cryptobox_HASHBYTES, out); in rspamd_stat_cache_sqlite3_check()
262 (gint64)rspamd_cryptobox_HASHBYTES, h, flag); in rspamd_stat_cache_sqlite3_learn()
272 (gint64)rspamd_cryptobox_HASHBYTES, h); in rspamd_stat_cache_sqlite3_learn()
/dports/mail/rspamd-devel/rspamd-93430bb/src/libserver/
H A Dfuzzy_wire.h45 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED()
62 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED()
H A Dre_cache.c93 gchar hash[rspamd_cryptobox_HASHBYTES + 1];
125 gchar hash[rspamd_cryptobox_HASHBYTES + 1];
393 guchar hash_out[rspamd_cryptobox_HASHBYTES]; in rspamd_re_cache_init()
423 rspamd_cryptobox_HASHBYTES); in rspamd_re_cache_init()
425 rspamd_cryptobox_HASHBYTES); in rspamd_re_cache_init()
453 (gint) rspamd_cryptobox_HASHBYTES, hash_out); in rspamd_re_cache_init()
472 (gint) rspamd_cryptobox_HASHBYTES, hash_out); in rspamd_re_cache_init()
2286 if (len < sizeof (rspamd_cryptobox_HASHBYTES + 3)) { in rspamd_re_cache_is_valid_hyperscan_file()
/dports/mail/rspamd/rspamd-3.1/src/libserver/
H A Dfuzzy_wire.h45 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED()
62 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED()
H A Dre_cache.c93 gchar hash[rspamd_cryptobox_HASHBYTES + 1];
125 gchar hash[rspamd_cryptobox_HASHBYTES + 1];
393 guchar hash_out[rspamd_cryptobox_HASHBYTES]; in rspamd_re_cache_init()
423 rspamd_cryptobox_HASHBYTES); in rspamd_re_cache_init()
425 rspamd_cryptobox_HASHBYTES); in rspamd_re_cache_init()
453 (gint) rspamd_cryptobox_HASHBYTES, hash_out); in rspamd_re_cache_init()
472 (gint) rspamd_cryptobox_HASHBYTES, hash_out); in rspamd_re_cache_init()
2286 if (len < sizeof (rspamd_cryptobox_HASHBYTES + 3)) { in rspamd_re_cache_is_valid_hyperscan_file()
/dports/mail/rspamd-devel/rspamd-93430bb/src/libutil/
H A Dmultipattern.c411 (gint)rspamd_cryptobox_HASHBYTES / 2, hash); in rspamd_multipattern_try_load_hs()
441 (gint)rspamd_cryptobox_HASHBYTES / 2, hash); in rspamd_multipattern_try_save_hs()
456 (gint)rspamd_cryptobox_HASHBYTES / 2, hash); in rspamd_multipattern_try_save_hs()
488 guchar hash[rspamd_cryptobox_HASHBYTES]; in rspamd_multipattern_compile()
H A Dshingles.c73 guchar shabuf[rspamd_cryptobox_HASHBYTES], *out_key; in rspamd_shingles_get_keys_cached()
/dports/mail/rspamd/rspamd-3.1/src/libutil/
H A Dmultipattern.c411 (gint)rspamd_cryptobox_HASHBYTES / 2, hash); in rspamd_multipattern_try_load_hs()
441 (gint)rspamd_cryptobox_HASHBYTES / 2, hash); in rspamd_multipattern_try_save_hs()
456 (gint)rspamd_cryptobox_HASHBYTES / 2, hash); in rspamd_multipattern_try_save_hs()
488 guchar hash[rspamd_cryptobox_HASHBYTES]; in rspamd_multipattern_compile()
H A Dshingles.c73 guchar shabuf[rspamd_cryptobox_HASHBYTES], *out_key; in rspamd_shingles_get_keys_cached()
/dports/mail/rspamd-devel/rspamd-93430bb/src/libmime/
H A Dmessage.h112 guchar digest[rspamd_cryptobox_HASHBYTES];
H A Dimages.c381 return rspamd_cryptobox_fast_hash (p, rspamd_cryptobox_HASHBYTES, in rspamd_image_dct_hash()
388 return memcmp (a, b, rspamd_cryptobox_HASHBYTES) == 0; in rspamd_image_dct_equal()
/dports/mail/rspamd/rspamd-3.1/src/libmime/
H A Dmessage.h112 guchar digest[rspamd_cryptobox_HASHBYTES];
H A Dimages.c381 return rspamd_cryptobox_fast_hash (p, rspamd_cryptobox_HASHBYTES, in rspamd_image_dct_hash()
388 return memcmp (a, b, rspamd_cryptobox_HASHBYTES) == 0; in rspamd_image_dct_equal()
/dports/mail/rspamd-devel/rspamd-93430bb/src/libserver/maps/
H A Dmap_helpers.c77 guchar re_digest[rspamd_cryptobox_HASHBYTES];
1150 (gint)rspamd_cryptobox_HASHBYTES / 2, re_map->re_digest); in rspamd_try_load_re_map_cache()
1190 (gint)rspamd_cryptobox_HASHBYTES / 2, re_map->re_digest); in rspamd_try_save_re_map_cache()
1206 (gint)rspamd_cryptobox_HASHBYTES / 2, re_map->re_digest); in rspamd_try_save_re_map_cache()
1248 (gint)rspamd_cryptobox_HASHBYTES / 2, old_re_map->re_digest); in rspamd_re_map_cache_cleanup_old()
/dports/mail/rspamd/rspamd-3.1/src/libserver/maps/
H A Dmap_helpers.c77 guchar re_digest[rspamd_cryptobox_HASHBYTES];
1150 (gint)rspamd_cryptobox_HASHBYTES / 2, re_map->re_digest); in rspamd_try_load_re_map_cache()
1190 (gint)rspamd_cryptobox_HASHBYTES / 2, re_map->re_digest); in rspamd_try_save_re_map_cache()
1206 (gint)rspamd_cryptobox_HASHBYTES / 2, re_map->re_digest); in rspamd_try_save_re_map_cache()
1248 (gint)rspamd_cryptobox_HASHBYTES / 2, old_re_map->re_digest); in rspamd_re_map_cache_cleanup_old()
/dports/mail/rspamd/rspamd-3.1/src/lua/
H A Dlua_mimepart.c1241 guchar key[rspamd_cryptobox_HASHBYTES], digest[rspamd_cryptobox_HASHBYTES], in lua_textpart_get_fuzzy_hashes()
1242 hexdigest[rspamd_cryptobox_HASHBYTES * 2 + 1], numbuf[64]; in lua_textpart_get_fuzzy_hashes()
2005 gchar digestbuf[rspamd_cryptobox_HASHBYTES * 2 + 1]; in lua_mimepart_get_digest()
/dports/mail/rspamd-devel/rspamd-93430bb/src/lua/
H A Dlua_mimepart.c1250 guchar key[rspamd_cryptobox_HASHBYTES], digest[rspamd_cryptobox_HASHBYTES], in lua_textpart_get_fuzzy_hashes()
1251 hexdigest[rspamd_cryptobox_HASHBYTES * 2 + 1], numbuf[64]; in lua_textpart_get_fuzzy_hashes()
2047 gchar digestbuf[rspamd_cryptobox_HASHBYTES * 2 + 1]; in lua_mimepart_get_digest()
H A Dlua_cryptobox.c61 unsigned char out[rspamd_cryptobox_HASHBYTES];
1034 h->out_len = rspamd_cryptobox_HASHBYTES; in rspamd_lua_hash_init_default()
1512 guchar out[rspamd_cryptobox_HASHBYTES]; in lua_cryptobox_hash_finish()
1557 guchar out_hex[rspamd_cryptobox_HASHBYTES * 2 + 1], *r; in lua_cryptobox_hash_hex()
1599 guchar out_b32[rspamd_cryptobox_HASHBYTES * 2], *r; in lua_cryptobox_hash_base32()

123