mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-10 15:51:10 +00:00
Thread limits on bitsliced kernels no longer required
This commit is contained in:
parent
81b229c08a
commit
ba5f23474e
@ -25957,15 +25957,8 @@ 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
|
||||
@ -25977,10 +25970,7 @@ 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