You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hashcat/nv/check_single_vect2_comp4.c

30 lines
637 B

if ((r0.x == search[0])
&& (r1.x == search[1])
&& (r2.x == search[2])
&& (r3.x == search[3]))
{
const u32 final_hash_pos = digests_offset + 0;
if (atomicAdd (&hashes_shown[final_hash_pos], 1) == 0)
{
mark_hash_s0 (plains_buf, hashes_shown, final_hash_pos, gid, il_pos);
d_return_buf[lid] = 1;
}
}
if ((r0.y == search[0])
&& (r1.y == search[1])
&& (r2.y == search[2])
&& (r3.y == search[3]))
{
const u32 final_hash_pos = digests_offset + 0;
if (atomicAdd (&hashes_shown[final_hash_pos], 1) == 0)
{
mark_hash_s1 (plains_buf, hashes_shown, final_hash_pos, gid, il_pos);
d_return_buf[lid] = 1;
}
}