2015-12-04 14:47:52 +00:00
|
|
|
u32 digest_tp[4];
|
|
|
|
|
|
|
|
digest_tp[0] = r0;
|
|
|
|
digest_tp[1] = r1;
|
|
|
|
digest_tp[2] = r2;
|
|
|
|
digest_tp[3] = r3;
|
|
|
|
|
|
|
|
if (check (digest_tp,
|
|
|
|
bitmaps_buf_s1_a,
|
|
|
|
bitmaps_buf_s1_b,
|
|
|
|
bitmaps_buf_s1_c,
|
|
|
|
bitmaps_buf_s1_d,
|
|
|
|
bitmaps_buf_s2_a,
|
|
|
|
bitmaps_buf_s2_b,
|
|
|
|
bitmaps_buf_s2_c,
|
|
|
|
bitmaps_buf_s2_d,
|
2022-01-04 17:07:18 +00:00
|
|
|
BITMAP_MASK,
|
|
|
|
BITMAP_SHIFT1,
|
|
|
|
BITMAP_SHIFT2))
|
2015-12-04 14:47:52 +00:00
|
|
|
{
|
2022-01-04 17:07:18 +00:00
|
|
|
int digest_pos = find_hash (digest_tp, DIGESTS_CNT, &digests_buf[DIGESTS_OFFSET_HOST]);
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2016-05-20 16:24:33 +00:00
|
|
|
if (digest_pos != -1)
|
2015-12-04 14:47:52 +00:00
|
|
|
{
|
2022-01-04 17:07:18 +00:00
|
|
|
const u32 final_hash_pos = DIGESTS_OFFSET_HOST + digest_pos;
|
2015-12-04 14:47:52 +00:00
|
|
|
|
2021-04-20 15:47:44 +00:00
|
|
|
if (hc_atomic_inc (&hashes_shown[final_hash_pos]) == 0)
|
2015-12-04 14:47:52 +00:00
|
|
|
{
|
2022-01-04 17:07:18 +00:00
|
|
|
mark_hash (plains_buf, d_return_buf, SALT_POS_HOST, DIGESTS_CNT, digest_pos, final_hash_pos, gid, il_pos, 0, 0);
|
2015-12-04 14:47:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|