mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 01:50:10 +00:00
Revert "Thread limits on bitsliced kernels no longer required"
This reverts commit ba5f23474e
.
This commit is contained in:
parent
ba5f23474e
commit
7674c3a556
@ -25957,8 +25957,15 @@ u32 hashconfig_forced_kernel_threads (hashcat_ctx_t *hashcat_ctx)
|
||||
|
||||
u32 kernel_threads = 0;
|
||||
|
||||
// DES kernels needs to have a minimum thread count only
|
||||
// because of the bitsliced kernel and the workgroup division done on it
|
||||
|
||||
if (hashconfig->hash_mode == 1500) kernel_threads = 64; // DES
|
||||
if (hashconfig->hash_mode == 3000) kernel_threads = 64; // DES
|
||||
if (hashconfig->hash_mode == 3100) kernel_threads = 64; // DES
|
||||
if (hashconfig->hash_mode == 3200) kernel_threads = 8; // Blowfish
|
||||
if (hashconfig->hash_mode == 7500) kernel_threads = 64; // RC4
|
||||
if (hashconfig->hash_mode == 8500) kernel_threads = 64; // DES
|
||||
if (hashconfig->hash_mode == 8900) kernel_threads = 16; // SCRYPT
|
||||
if (hashconfig->hash_mode == 9000) kernel_threads = 8; // Blowfish
|
||||
if (hashconfig->hash_mode == 9300) kernel_threads = 8; // SCRYPT
|
||||
@ -25970,7 +25977,10 @@ u32 hashconfig_forced_kernel_threads (hashcat_ctx_t *hashcat_ctx)
|
||||
if (hashconfig->hash_mode == 10410) kernel_threads = 64; // RC4
|
||||
if (hashconfig->hash_mode == 10500) kernel_threads = 64; // RC4
|
||||
if (hashconfig->hash_mode == 13100) kernel_threads = 64; // RC4
|
||||
if (hashconfig->hash_mode == 14000) kernel_threads = 64; // DES
|
||||
if (hashconfig->hash_mode == 14100) kernel_threads = 64; // DES
|
||||
if (hashconfig->hash_mode == 15700) kernel_threads = 1; // SCRYPT
|
||||
if (hashconfig->hash_mode == 16000) kernel_threads = 64; // DES
|
||||
|
||||
return kernel_threads;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user