Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eaa3f5f

Browse files
committed
Issue #16113: one more C90 violation in big endian code.
1 parent fa15c85 commit eaa3f5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
333333
for(lanePosition=0; lanePosition<laneCount; lanePosition++) {
334334
UINT32 *stateAsHalfLanes = (UINT32*)state;
335335
UINT32 low, high, temp, temp0, temp1;
336-
fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
337336
UINT8 laneAsBytes[8];
337+
fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
338338
laneAsBytes[0] = low & 0xFF;
339339
laneAsBytes[1] = (low >> 8) & 0xFF;
340340
laneAsBytes[2] = (low >> 16) & 0xFF;

0 commit comments

Comments
 (0)