Fix self-test functionality if FIXED_LOCAL_SIZE_COMP is used
Fix -m 25700 datatype in -a 3 mode and maximum password length in pure kernel mode Fix -m 12500, 23700 and 23800 if password is exactly length 128
This commit is contained in:
+11
-1
@@ -11111,7 +11111,7 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
||||
{
|
||||
device_param->skipped = true;
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -11629,6 +11629,16 @@ int backend_session_begin (hashcat_ctx_t *hashcat_ctx)
|
||||
device_param->kernel_threads_min = fixed_local_size;
|
||||
device_param->kernel_threads_max = fixed_local_size;
|
||||
}
|
||||
else
|
||||
{
|
||||
// kernels specific minimum needs to be set so that self-test wont fail
|
||||
|
||||
if (sscanf (jit_build_options, "-D FIXED_LOCAL_SIZE_COMP=%u", &fixed_local_size) == 1)
|
||||
{
|
||||
device_param->kernel_threads_min = fixed_local_size;
|
||||
// device_param->kernel_threads_max = fixed_local_size;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user