Lines Matching refs:low

29 #define prepareToBitInterleaving(low, high, temp, temp0, temp1) \  argument
30 temp0 = (low); \
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
74 low = temp0; \
85 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero() local
93 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_SetBytesInLaneToZero()
96 low = laneAsBytes[0] in KeccakP1600_SetBytesInLaneToZero()
105 …toBitInterleavingAndAND(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_SetBytesInLaneToZero()
121 UINT32 low, high; in KeccakP1600_AddByte() local
126 low = (UINT32)byte << (offsetInLane*8); in KeccakP1600_AddByte()
130 low = 0; in KeccakP1600_AddByte()
133 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddByte()
141 UINT32 low, high; in KeccakP1600_AddBytesInLane() local
148 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_AddBytesInLane()
151 low = laneAsBytes[0] in KeccakP1600_AddBytesInLane()
160 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddBytesInLane()
174 UINT32 low; in KeccakP1600_AddLanes() local
176 memcpy(&low, pI++, 4); in KeccakP1600_AddLanes()
178 toBitInterleavingAndXOR(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_AddLanes()
188 UINT32 low = laneAsBytes[0] in KeccakP1600_AddLanes()
198 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddLanes()
229 UINT32 low; in KeccakP1600_OverwriteLanes() local
231 memcpy(&low, pI++, 4); in KeccakP1600_OverwriteLanes()
233 toBitInterleavingAndSet(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_OverwriteLanes()
243 UINT32 low = laneAsBytes[0] 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 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractBytesInLane()
290 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractBytesInLane()
293 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractBytesInLane()
294 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractBytesInLane()
295 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractBytesInLane()
296 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractBytesInLane()
316 UINT32 low; in KeccakP1600_ExtractLanes() local
318 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractLanes()
319 memcpy(pI++, &low, 4); in KeccakP1600_ExtractLanes()
329 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
330 …ving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0,… in KeccakP1600_ExtractLanes()
332 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractLanes()
333 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractLanes()
334 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractLanes()
335 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractLanes()
357 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane() local
361 …fromBitInterleaving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, hig… in KeccakP1600_ExtractAndAddBytesInLane()
363 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractAndAddBytesInLane()
366 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
367 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
368 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
369 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
391 UINT32 low; in KeccakP1600_ExtractAndAddLanes() local
393 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractAndAddLanes()
394 *(pO++) = *(pI++) ^ low; in KeccakP1600_ExtractAndAddLanes()
404 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
405 …ving(stateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0,… in KeccakP1600_ExtractAndAddLanes()
407 laneAsBytes[0] = low & 0xFF; in KeccakP1600_ExtractAndAddLanes()
408 laneAsBytes[1] = (low >> 8) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
409 laneAsBytes[2] = (low >> 16) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
410 laneAsBytes[3] = (low >> 24) & 0xFF; in KeccakP1600_ExtractAndAddLanes()