1
mirror of https://github.com/hashcat/hashcat synced 2024-11-28 05:21:38 +01:00

fixed overwrite_at_le_4x4 () function (if offset is 32)

This commit is contained in:
philsmd 2016-03-07 13:45:02 +01:00
parent 536f9c955e
commit c43a7539d4

View File

@ -5591,7 +5591,7 @@ static void overwrite_at_le_4x4 (u32x w0[4], u32x w1[4], u32x w2[4], u32x w3[4],
case 31: w1[3] = amd_bytealign (wx, w1[3] << 8, 1); case 31: w1[3] = amd_bytealign (wx, w1[3] << 8, 1);
w2[0] = amd_bytealign (w2[0] >> 24, wx, 1); w2[0] = amd_bytealign (w2[0] >> 24, wx, 1);
break; break;
case 32: w0[0] = wx; case 32: w2[0] = wx;
break; break;
case 33: w2[0] = amd_bytealign (wx, w2[0] << 24, 3); case 33: w2[0] = amd_bytealign (wx, w2[0] << 24, 3);
w2[1] = amd_bytealign (w2[1] >> 8, wx, 3); w2[1] = amd_bytealign (w2[1] >> 8, wx, 3);