1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Use hc_byte_perm_S only for NV compute device in -m 17010

This commit is contained in:
Jens Steube 2021-12-05 22:03:18 +01:00
parent 3d53188cc3
commit 3331c2fad9

View File

@ -47,7 +47,9 @@ DECLSPEC u32 hc_bytealign_le_S (const u32 a, const u32 b, const int c)
{
const int c_mod_4 = c & 3;
#if defined IS_NV
const u32 r = hc_byte_perm_S (b, a, (0x76543210 >> (c_mod_4 * 4)) & 0xffff);
#endif
return r;
}