1
mirror of https://github.com/hashcat/hashcat synced 2024-11-20 23:27:31 +01:00
hashcat/OpenCL/check_single_comp4.c

13 lines
293 B
C
Raw Normal View History

2015-12-04 15:47:52 +01:00
if ((r0 == search[0])
&& (r1 == search[1])
&& (r2 == search[2])
&& (r3 == search[3]))
{
const u32 final_hash_pos = digests_offset + 0;
if (atomic_add (&hashes_shown[final_hash_pos], 1) == 0)
{
2016-05-20 19:05:54 +02:00
mark_hash (plains_buf, d_return_buf, salt_pos, 0, final_hash_pos, gid, il_pos);
2015-12-04 15:47:52 +01:00
}
}