1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-16 17:42:04 +00:00

Removing unnecessary memset calls in potfile_remove_parse

This commit is contained in:
Arseniy Sharoglazov 2024-04-17 18:58:00 +03:00
parent fafb277e07
commit 7077865b0d
2 changed files with 1 additions and 15 deletions

View File

@ -67,6 +67,7 @@
##
- DEScrypt Kernel (1500): Improved performance from 950MH/s to 2200MH/s (RX6900XT) on HIP backend by workaround invalid compile time optimizer
- Performance of --show feature has been improved by removing unnecessary memset calls in potfile_remove_parse function.
##
## Bugs

View File

@ -535,21 +535,6 @@ int potfile_remove_parse (hashcat_ctx_t *hashcat_ctx)
if (line_hash_len == 0) continue;
if (hash_buf.salt)
{
memset (hash_buf.salt, 0, sizeof (salt_t));
}
if (hash_buf.esalt)
{
memset (hash_buf.esalt, 0, hashconfig->esalt_size);
}
if (hash_buf.hook_salt)
{
memset (hash_buf.hook_salt, 0, hashconfig->hook_salt_size);
}
if (module_ctx->module_hash_decode_potfile != MODULE_DEFAULT)
{
if (module_ctx->module_potfile_custom_check != MODULE_DEFAULT)