1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-01-22 21:51:07 +00:00

Do not check for COPY_PW limits in outside kernels

This commit is contained in:
Jens Steube 2019-12-31 21:25:37 +01:00
parent 80a872121a
commit 5d1d48f5d7

View File

@ -9401,6 +9401,8 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
// __local pw_t s_pws[64];
if (user_options->attack_mode == ATTACK_MODE_STRAIGHT)
{
if (hashconfig->attack_exec == ATTACK_EXEC_INSIDE_KERNEL)
{
if (hashconfig->opti_type & OPTI_TYPE_OPTIMIZED_KERNEL)
{
@ -9411,6 +9413,7 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
device_param->kernel_threads_max = MIN (device_param->kernel_threads_max, 64);
}
}
}
/**
* now everything that depends on threads and accel, basically dynamic workload