|
|
|
@ -241,7 +241,7 @@ int user_options_init (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
user_options->metal_compiler_runtime = METAL_COMPILER_RUNTIME;
|
|
|
|
|
user_options->nonce_error_corrections = NONCE_ERROR_CORRECTIONS;
|
|
|
|
|
user_options->opencl_device_types = NULL;
|
|
|
|
|
user_options->optimized_kernel_enable = OPTIMIZED_KERNEL_ENABLE;
|
|
|
|
|
user_options->optimized_kernel = OPTIMIZED_KERNEL;
|
|
|
|
|
user_options->multiply_accel = MULTIPLY_ACCEL;
|
|
|
|
|
user_options->outfile_autohex = OUTFILE_AUTOHEX;
|
|
|
|
|
user_options->outfile_check_dir = NULL;
|
|
|
|
@ -485,7 +485,7 @@ int user_options_getopt (hashcat_ctx_t *hashcat_ctx, int argc, char **argv)
|
|
|
|
|
case IDX_BACKEND_VECTOR_WIDTH: user_options->backend_vector_width = hc_strtoul (optarg, NULL, 10);
|
|
|
|
|
user_options->backend_vector_width_chgd = true; break;
|
|
|
|
|
case IDX_OPENCL_DEVICE_TYPES: user_options->opencl_device_types = optarg; break;
|
|
|
|
|
case IDX_OPTIMIZED_KERNEL_ENABLE: user_options->optimized_kernel_enable = true; break;
|
|
|
|
|
case IDX_OPTIMIZED_KERNEL_ENABLE: user_options->optimized_kernel = true; break;
|
|
|
|
|
case IDX_MULTIPLY_ACCEL_DISABLE: user_options->multiply_accel = false; break;
|
|
|
|
|
case IDX_WORKLOAD_PROFILE: user_options->workload_profile = hc_strtoul (optarg, NULL, 10);
|
|
|
|
|
user_options->workload_profile_chgd = true; break;
|
|
|
|
@ -1900,8 +1900,8 @@ void user_options_preprocess (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
|
|
|
|
|
if (user_options->workload_profile_chgd == false)
|
|
|
|
|
{
|
|
|
|
|
user_options->optimized_kernel_enable = true;
|
|
|
|
|
user_options->workload_profile = 3;
|
|
|
|
|
user_options->optimized_kernel = true;
|
|
|
|
|
user_options->workload_profile = 3;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -2133,7 +2133,7 @@ void user_options_info (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
event_log_info (hashcat_ctx, "* --opencl-device-types=%s", user_options->opencl_device_types);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (user_options->optimized_kernel_enable == true)
|
|
|
|
|
if (user_options->optimized_kernel == true)
|
|
|
|
|
{
|
|
|
|
|
event_log_info (hashcat_ctx, "* --optimized-kernel-enable");
|
|
|
|
|
}
|
|
|
|
@ -2197,7 +2197,7 @@ void user_options_info (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
event_log_info (hashcat_ctx, "# option: --opencl-device-types=%s", user_options->opencl_device_types);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (user_options->optimized_kernel_enable == true)
|
|
|
|
|
if (user_options->optimized_kernel == true)
|
|
|
|
|
{
|
|
|
|
|
event_log_info (hashcat_ctx, "# option: --optimized-kernel-enable");
|
|
|
|
|
}
|
|
|
|
@ -3258,7 +3258,7 @@ void user_options_logger (hashcat_ctx_t *hashcat_ctx)
|
|
|
|
|
logfile_top_uint (user_options->multiply_accel);
|
|
|
|
|
logfile_top_uint (user_options->backend_info);
|
|
|
|
|
logfile_top_uint (user_options->backend_vector_width);
|
|
|
|
|
logfile_top_uint (user_options->optimized_kernel_enable);
|
|
|
|
|
logfile_top_uint (user_options->optimized_kernel);
|
|
|
|
|
logfile_top_uint (user_options->outfile_autohex);
|
|
|
|
|
logfile_top_uint (user_options->outfile_check_timer);
|
|
|
|
|
logfile_top_uint (user_options->outfile_format);
|
|
|
|
|