1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 23:19:09 +00:00

Update default scrypt tmto to be ideal for latest NV and AMD top models

This commit is contained in:
jsteube 2017-08-17 17:46:54 +02:00
parent 694cc0b740
commit c8da13c3aa
2 changed files with 6 additions and 6 deletions

View File

@ -24929,11 +24929,11 @@ u32 hashconfig_get_kernel_threads (hashcat_ctx_t *hashcat_ctx, const hc_device_p
if (scrypt_l)
{
kernel_threads = 256 / scrypt_l;
kernel_threads = KERNEL_THREADS_MAX / scrypt_l;
}
else
{
kernel_threads = 256;
kernel_threads = KERNEL_THREADS_MAX;
}
}

View File

@ -3922,22 +3922,22 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
{
if (device_param->device_vendor_id == VENDOR_ID_AMD)
{
tmto_start = 3;
tmto_start = 4;
}
else if (device_param->device_vendor_id == VENDOR_ID_NV)
{
tmto_start = 2;
tmto_start = 3;
}
}
else if (hashconfig->hash_mode == 9300)
{
if (device_param->device_vendor_id == VENDOR_ID_AMD)
{
tmto_start = 2;
tmto_start = 5;
}
else if (device_param->device_vendor_id == VENDOR_ID_NV)
{
tmto_start = 4;
tmto_start = 3;
}
}
}