mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-22 16:18:09 +00:00
Set -u for -m 22100 to 4k with the idea to force -n value to go down to 1
This commit is contained in:
parent
1cbd02b1b5
commit
09c0cfcc04
@ -252,7 +252,7 @@ KERNEL_FQ void m22100_loop (KERN_ATTR_TMPS_ESALT (bitlocker_tmp_t, bitlocker_t))
|
||||
* in order for this to work we need to set a fixed loop count to FIXED_ITER_TOTAL in module
|
||||
*/
|
||||
|
||||
#define FIXED_ITER_TOTAL 1024
|
||||
#define FIXED_ITER_TOTAL 4096
|
||||
#define FIXED_ITER_INCR 8 // seems to be a good trade-off between memory reads and available registers
|
||||
|
||||
#ifdef REAL_SHM
|
||||
|
@ -80,14 +80,14 @@ u64 module_tmp_size (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED c
|
||||
|
||||
u32 module_kernel_loops_min (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
||||
{
|
||||
const u32 kernel_loops_min = 1024;
|
||||
const u32 kernel_loops_min = 4096;
|
||||
|
||||
return kernel_loops_min;
|
||||
}
|
||||
|
||||
u32 module_kernel_loops_max (MAYBE_UNUSED const hashconfig_t *hashconfig, MAYBE_UNUSED const user_options_t *user_options, MAYBE_UNUSED const user_options_extra_t *user_options_extra)
|
||||
{
|
||||
const u32 kernel_loops_max = 1024;
|
||||
const u32 kernel_loops_max = 4096;
|
||||
|
||||
return kernel_loops_max;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user