/dports/mail/rspamd-devel/rspamd-93430bb/src/libcryptobox/ |
H A D | keypairs_cache.c | 24 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 D | keypair_private.h | 39 guchar id[rspamd_cryptobox_HASHBYTES]; 89 guchar id[rspamd_cryptobox_HASHBYTES];
|
H A D | cryptobox.h | 44 #define rspamd_cryptobox_HASHBYTES 64 macro
|
/dports/mail/rspamd/rspamd-3.1/src/libcryptobox/ |
H A D | keypairs_cache.c | 24 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 D | keypair_private.h | 39 guchar id[rspamd_cryptobox_HASHBYTES]; 89 guchar id[rspamd_cryptobox_HASHBYTES];
|
H A D | cryptobox.h | 44 #define rspamd_cryptobox_HASHBYTES 64 macro
|
/dports/mail/rspamd-devel/rspamd-93430bb/src/libstat/learn_cache/ |
H A D | sqlite3_cache.c | 191 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 D | sqlite3_cache.c | 191 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 D | fuzzy_wire.h | 45 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED() 62 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED()
|
H A D | re_cache.c | 93 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 D | fuzzy_wire.h | 45 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED() 62 gchar digest[rspamd_cryptobox_HASHBYTES]; in RSPAMD_PACKED()
|
H A D | re_cache.c | 93 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 D | multipattern.c | 411 (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 D | shingles.c | 73 guchar shabuf[rspamd_cryptobox_HASHBYTES], *out_key; in rspamd_shingles_get_keys_cached()
|
/dports/mail/rspamd/rspamd-3.1/src/libutil/ |
H A D | multipattern.c | 411 (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 D | shingles.c | 73 guchar shabuf[rspamd_cryptobox_HASHBYTES], *out_key; in rspamd_shingles_get_keys_cached()
|
/dports/mail/rspamd-devel/rspamd-93430bb/src/libmime/ |
H A D | message.h | 112 guchar digest[rspamd_cryptobox_HASHBYTES];
|
H A D | images.c | 381 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 D | message.h | 112 guchar digest[rspamd_cryptobox_HASHBYTES];
|
H A D | images.c | 381 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 D | map_helpers.c | 77 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 D | map_helpers.c | 77 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 D | lua_mimepart.c | 1241 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 D | lua_mimepart.c | 1250 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 D | lua_cryptobox.c | 61 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()
|