summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2016-09-07 11:18:40 (GMT)
committerChristian Heimes <christian@python.org>2016-09-07 11:18:40 (GMT)
commiteaa3f5f1ee96943f6d0612505a61fc76768c43db (patch)
tree941c467fe763eccc4ed7963ff873c1ba26f6f65a /Modules
parentfa15c854d2dca4dd1ebce6ddb4082224354e4e94 (diff)
downloadcpython-eaa3f5f1ee96943f6d0612505a61fc76768c43db.zip
cpython-eaa3f5f1ee96943f6d0612505a61fc76768c43db.tar.gz
cpython-eaa3f5f1ee96943f6d0612505a61fc76768c43db.tar.bz2
Issue #16113: one more C90 violation in big endian code.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c b/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c
index 8382ae5..a2f9ffe 100644
--- a/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c
+++ b/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c
@@ -333,8 +333,8 @@ void KeccakP1600_ExtractLanes(const void *state, unsigned char *data, unsigned i
for(lanePosition=0; lanePosition<laneCount; lanePosition++) {
UINT32 *stateAsHalfLanes = (UINT32*)state;
UINT32 low, high, temp, temp0, temp1;
- fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
UINT8 laneAsBytes[8];
+ fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);
laneAsBytes[0] = low & 0xFF;
laneAsBytes[1] = (low >> 8) & 0xFF;
laneAsBytes[2] = (low >> 16) & 0xFF;