Lines Matching refs:low

37 #define prepareToBitInterleaving(low, high, temp, temp0, temp1) \  argument
38 temp0 = (low); \
49 #define toBitInterleavingAndXOR(low, high, even, odd, temp, temp0, temp1) \ argument
50 prepareToBitInterleaving(low, high, temp, temp0, temp1) \
54 #define toBitInterleavingAndAND(low, high, even, odd, temp, temp0, temp1) \ argument
55 prepareToBitInterleaving(low, high, temp, temp0, temp1) \
59 #define toBitInterleavingAndSet(low, high, even, odd, temp, temp0, temp1) \ argument
60 prepareToBitInterleaving(low, high, temp, temp0, temp1) \
80 #define fromBitInterleaving(even, odd, low, high, temp, temp0, temp1) \ argument
82 low = temp0; \
93 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero() local
101 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_SetBytesInLaneToZero()
104 low = laneAsBytes[0] in KeccakP1600_SetBytesInLaneToZero()
113 …toBitInterleavingAndAND(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_SetBytesInLaneToZero()
129 UINT32 low, high; in KeccakP1600_AddByte() local
134 low = (UINT32)byte << (offsetInLane*8); in KeccakP1600_AddByte()
138 low = 0; in KeccakP1600_AddByte()
141 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddByte()
149 UINT32 low, high; in KeccakP1600_AddBytesInLane() local
156 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_AddBytesInLane()
159 low = laneAsBytes[0] in KeccakP1600_AddBytesInLane()
168 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddBytesInLane()
183 UINT32 low; in KeccakP1600_AddLanes() local
185 memcpy(&low, pI++, 4); in KeccakP1600_AddLanes()
187 toBitInterleavingAndXOR(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_AddLanes()
197 UINT32 low = laneAsBytes[0] in KeccakP1600_AddLanes()
207 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddLanes()
239 UINT32 low; in KeccakP1600_OverwriteLanes() local
241 memcpy(&low, pI++, 4); in KeccakP1600_OverwriteLanes()
243 toBitInterleavingAndSet(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_OverwriteLanes()
253 UINT32 low = laneAsBytes[0] in KeccakP1600_OverwriteLanes()
263 …toBitInterleavingAndSet(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_OverwriteLanes()
295 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractBytesInLane() local
298 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractBytesInLane()
300 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractBytesInLane()
303 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractBytesInLane()
304 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractBytesInLane()
305 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractBytesInLane()
306 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractBytesInLane()
327 UINT32 low; in KeccakP1600_ExtractLanes() local
329 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractLanes()
330 memcpy(pI++, &low, 4); in KeccakP1600_ExtractLanes()
340 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
341 …ving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0,… in KeccakP1600_ExtractLanes()
343 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractLanes()
344 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractLanes()
345 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractLanes()
346 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractLanes()
368 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane() local
372 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractAndAddBytesInLane()
374 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractAndAddBytesInLane()
377 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
378 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
379 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
380 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
403 UINT32 low; in KeccakP1600_ExtractAndAddLanes() local
405 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractAndAddLanes()
406 *(pO++) = *(pI++) ^ low; in KeccakP1600_ExtractAndAddLanes()
416 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
417 …ving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0,… in KeccakP1600_ExtractAndAddLanes()
419 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractAndAddLanes()
420 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
421 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
422 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractAndAddLanes()