1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +00:00

Improve scrypt cracking speed on CPU by 20%, preparation for Ethereum KDF

This commit is contained in:
Jens Steube 2017-06-03 19:19:03 +02:00
parent b5f149476d
commit 872f2b4f8b
2 changed files with 12 additions and 2 deletions

View File

@ -464,3 +464,10 @@ ALIAS_Apple_Iris_Pro * 13733 1 1
DEVICE_TYPE_GPU * 14600 1 2 1024 DEVICE_TYPE_GPU * 14600 1 2 1024
DEVICE_TYPE_GPU * 14800 1 2 1000 DEVICE_TYPE_GPU * 14800 1 2 1000
###########
## SCRYPT #
###########
DEVICE_TYPE_CPU * 8900 1 1 1
DEVICE_TYPE_CPU * 9300 1 1 1

View File

@ -3716,8 +3716,11 @@ int opencl_session_begin (hashcat_ctx_t *hashcat_ctx)
} }
} }
device_param->kernel_accel_min = 1; if (user_options->kernel_accel_chgd == false)
device_param->kernel_accel_max = 8; {
device_param->kernel_accel_min = 1;
device_param->kernel_accel_max = 8;
}
const u32 kernel_power_max = device_param->hardware_power * device_param->kernel_accel_max; const u32 kernel_power_max = device_param->hardware_power * device_param->kernel_accel_max;