mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-22 14:48:12 +00:00
Fix -m 10100 multihash and benchmark
This commit is contained in:
parent
c0a38846e3
commit
518fcb387a
@ -151,10 +151,10 @@ __kernel void m10100_m04 (__global pw_t *pws, __global kernel_rule_t * rules_bu
|
||||
|
||||
const u32x a = l32_from_64 (v);
|
||||
const u32x b = h32_from_64 (v);
|
||||
const u32x c = 0;
|
||||
const u32x d = 0;
|
||||
|
||||
COMPARE_M_SIMD (a, b, c, d);
|
||||
const u32x z = 0;
|
||||
|
||||
COMPARE_M_SIMD (a, b, z, z);
|
||||
}
|
||||
}
|
||||
|
||||
@ -218,8 +218,8 @@ __kernel void m10100_s04 (__global pw_t *pws, __global kernel_rule_t * rules_bu
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
@ -290,10 +290,10 @@ __kernel void m10100_s04 (__global pw_t *pws, __global kernel_rule_t * rules_bu
|
||||
|
||||
const u32x a = l32_from_64 (v);
|
||||
const u32x b = h32_from_64 (v);
|
||||
const u32x c = 0;
|
||||
const u32x d = 0;
|
||||
|
||||
COMPARE_S_SIMD (a, b, c, d);
|
||||
const u32x z = 0;
|
||||
|
||||
COMPARE_S_SIMD (a, b, z, z);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -209,10 +209,10 @@ __kernel void m10100_m04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
|
||||
|
||||
const u32x a = l32_from_64 (v);
|
||||
const u32x b = h32_from_64 (v);
|
||||
const u32x c = 0;
|
||||
const u32x d = 0;
|
||||
|
||||
COMPARE_M_SIMD (a, b, c, d);
|
||||
const u32x z = 0;
|
||||
|
||||
COMPARE_M_SIMD (a, b, z, z);
|
||||
}
|
||||
}
|
||||
|
||||
@ -276,8 +276,8 @@ __kernel void m10100_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
@ -408,10 +408,10 @@ __kernel void m10100_s04 (__global pw_t *pws, __global kernel_rule_t *rules_buf,
|
||||
|
||||
const u32x a = l32_from_64 (v);
|
||||
const u32x b = h32_from_64 (v);
|
||||
const u32x c = 0;
|
||||
const u32x d = 0;
|
||||
|
||||
COMPARE_S_SIMD (a, b, c, d);
|
||||
const u32x z = 0;
|
||||
|
||||
COMPARE_S_SIMD (a, b, z, z);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -119,10 +119,10 @@ void m10100m (u32 w[16], const u32 pw_len, __global pw_t *pws, __global kernel_r
|
||||
|
||||
const u32x a = l32_from_64 (v);
|
||||
const u32x b = h32_from_64 (v);
|
||||
const u32x c = 0;
|
||||
const u32x d = 0;
|
||||
|
||||
COMPARE_M_SIMD (a, b, c, d);
|
||||
const u32x z = 0;
|
||||
|
||||
COMPARE_M_SIMD (a, b, z, z);
|
||||
}
|
||||
}
|
||||
|
||||
@ -161,8 +161,8 @@ void m10100s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global kernel_r
|
||||
{
|
||||
digests_buf[digests_offset].digest_buf[DGST_R0],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R1],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R2],
|
||||
digests_buf[digests_offset].digest_buf[DGST_R3]
|
||||
0,
|
||||
0
|
||||
};
|
||||
|
||||
/**
|
||||
@ -221,10 +221,10 @@ void m10100s (u32 w[16], const u32 pw_len, __global pw_t *pws, __global kernel_r
|
||||
|
||||
const u32x a = l32_from_64 (v);
|
||||
const u32x b = h32_from_64 (v);
|
||||
const u32x c = 0;
|
||||
const u32x d = 0;
|
||||
|
||||
COMPARE_S_SIMD (a, b, c, d);
|
||||
const u32x z = 0;
|
||||
|
||||
COMPARE_S_SIMD (a, b, z, z);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user