1
mirror of https://github.com/hashcat/hashcat synced 2025-01-25 05:17:27 +01:00

Also switch optimized kernels rule engine to make use of kernel rules in constant memory

This commit is contained in:
jsteube 2017-08-23 12:46:14 +02:00
parent 1d04de3a8e
commit a5659d5619

View File

@ -2547,7 +2547,7 @@ static u32 apply_rules (__constant const u32 *cmds, u32 buf0[4], u32 buf1[4], co
return out_len;
}
static u32x apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, __global const kernel_rule_t *rules_buf, const u32 il_pos, u32x buf0[4], u32x buf1[4])
static u32x apply_rules_vect (const u32 pw_buf0[4], const u32 pw_buf1[4], const u32 pw_len, __constant const kernel_rule_t *rules_buf, const u32 il_pos, u32x buf0[4], u32x buf1[4])
{
#if VECT_SIZE == 1