mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-26 01:50:10 +00:00
Fix Blake2b in generic mode
This commit is contained in:
parent
b2d1f42905
commit
0810126145
@ -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;
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user