There was an error while loading. Please reload this page.
1 parent fa15c85 commit eaa3f5fCopy full SHA for eaa3f5f
1 file changed
Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c
@@ -333,8 +333,8 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
333
for(lanePosition=0; lanePosition<laneCount; lanePosition++) {
334
UINT32 *stateAsHalfLanes = (UINT32*)state;
335
UINT32 low, high, temp, temp0, temp1;
336
- fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
337
UINT8 laneAsBytes[8];
+ fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
338
laneAsBytes[0] = low & 0xFF;
339
laneAsBytes[1] = (low >> 8) & 0xFF;
340
laneAsBytes[2] = (low >> 16) & 0xFF;
0 commit comments