1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 00:28:11 +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:
Jens Steube 2020-01-02 12:51:25 +01:00
parent 1cbd02b1b5
commit 09c0cfcc04
2 changed files with 3 additions and 3 deletions

View File

@ -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 * 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 #define FIXED_ITER_INCR 8 // seems to be a good trade-off between memory reads and available registers
#ifdef REAL_SHM #ifdef REAL_SHM

View File

@ -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) 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; 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) 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; return kernel_loops_max;
} }