1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-28 09:28:12 +00:00

Fix Blake2b in generic mode

This commit is contained in:
Jens Steube 2021-08-02 14:12:36 +02:00
parent b2d1f42905
commit 0810126145
2 changed files with 3 additions and 1 deletions

View File

@ -2300,6 +2300,8 @@ DECLSPEC int hc_enc_next_global (hc_enc_t *hc_enc, GLOBAL_AS const u32 *src_buf,
if ((dst_pos + 2) == dst_sz)
{
// this section seems to break intel opencl runtime but is unknown why
dst_ptr[dst_pos++] = (a >> 0) & 0xff;
dst_ptr[dst_pos++] = (a >> 8) & 0xff;

View File

@ -113,7 +113,7 @@ DECLSPEC u64 blake2b_rot24_S (const u64 a)
#else
return hc_rotr64_S (a, 16);
return hc_rotr64_S (a, 24);
#endif
}