cpython: ddc95a9bc2e0 (original) (raw)
Mercurial > cpython
changeset 103221:ddc95a9bc2e0
Issue #16113: one more C90 violation in big endian code. [#16113]
Christian Heimes christian@python.org | |
---|---|
date | Wed, 07 Sep 2016 13🔞40 +0200 |
parents | 68df416e94ba |
children | 871bdb06c1cf |
files | Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c 2 |
line wrap: on
line diff
--- 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 for(lanePosition=0; lanePosition<laneCount; lanePosition++) { UINT32 stateAsHalfLanes = (UINT32)state; UINT32 low, high, temp, temp0, temp1;
UINT8 laneAsBytes[8];[](#l1.7) fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1);[](#l1.8)
UINT8 laneAsBytes[8];[](#l1.9) laneAsBytes[0] = low & 0xFF;[](#l1.10) laneAsBytes[1] = (low >> 8) & 0xFF;[](#l1.11) laneAsBytes[2] = (low >> 16) & 0xFF;[](#l1.12)