Lines Matching refs:high

29 #define prepareToBitInterleaving(low, high, temp, temp0, temp1) \  argument
35 temp1 = (high); \
41 #define toBitInterleavingAndXOR(low, high, even, odd, temp, temp0, temp1) \ argument
42 prepareToBitInterleaving(low, high, temp, temp0, temp1) \
46 #define toBitInterleavingAndAND(low, high, even, odd, temp, temp0, temp1) \ argument
47 prepareToBitInterleaving(low, high, temp, temp0, temp1) \
51 #define toBitInterleavingAndSet(low, high, even, odd, temp, temp0, temp1) \ argument
52 prepareToBitInterleaving(low, high, temp, temp0, temp1) \
72 #define fromBitInterleaving(even, odd, low, high, temp, temp0, temp1) \ argument
75 high = temp1;
85 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero() local
94 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_SetBytesInLaneToZero()
100 high = laneAsBytes[4] in KeccakP1600_SetBytesInLaneToZero()
105 …toBitInterleavingAndAND(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_SetBytesInLaneToZero()
121 UINT32 low, high; in KeccakP1600_AddByte() local
127 high = 0; in KeccakP1600_AddByte()
131 high = (UINT32)byte << ((offsetInLane-4)*8); in KeccakP1600_AddByte()
133 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddByte()
141 UINT32 low, high; in KeccakP1600_AddBytesInLane() local
149 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_AddBytesInLane()
155 high = laneAsBytes[4] in KeccakP1600_AddBytesInLane()
160 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddBytesInLane()
175 UINT32 high; in KeccakP1600_AddLanes() local
177 memcpy(&high, pI++, 4); in KeccakP1600_AddLanes()
178 toBitInterleavingAndXOR(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_AddLanes()
192 UINT32 high = laneAsBytes[4] in KeccakP1600_AddLanes()
198 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddLanes()
230 UINT32 high; in KeccakP1600_OverwriteLanes() local
232 memcpy(&high, pI++, 4); in KeccakP1600_OverwriteLanes()
233 toBitInterleavingAndSet(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_OverwriteLanes()
247 UINT32 high = laneAsBytes[4] in KeccakP1600_OverwriteLanes()
253 …toBitInterleavingAndSet(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_OverwriteLanes()
285 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractBytesInLane() local
288 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractBytesInLane()
291 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractBytesInLane()
297 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractBytesInLane()
298 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractBytesInLane()
299 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractBytesInLane()
300 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractBytesInLane()
317 UINT32 high; in KeccakP1600_ExtractLanes() local
318 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractLanes()
320 memcpy(pI++, &high, 4); in KeccakP1600_ExtractLanes()
329 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
330 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractLanes()
336 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractLanes()
337 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractLanes()
338 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractLanes()
339 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractLanes()
357 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane() local
361 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractAndAddBytesInLane()
364 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractAndAddBytesInLane()
370 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
371 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
372 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
373 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
392 UINT32 high; in KeccakP1600_ExtractAndAddLanes() local
393 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractAndAddLanes()
395 *(pO++) = *(pI++) ^ high; in KeccakP1600_ExtractAndAddLanes()
404 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
405 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractAndAddLanes()
411 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractAndAddLanes()
412 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
413 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
414 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractAndAddLanes()