Lines Matching refs:high

37 #define prepareToBitInterleaving(low, high, temp, temp0, temp1) \  argument
43 temp1 = (high); \
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
83 high = temp1;
93 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero() local
102 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_SetBytesInLaneToZero()
108 high = laneAsBytes[4] in KeccakP1600_SetBytesInLaneToZero()
113 …toBitInterleavingAndAND(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_SetBytesInLaneToZero()
129 UINT32 low, high; in KeccakP1600_AddByte() local
135 high = 0; in KeccakP1600_AddByte()
139 high = (UINT32)byte << ((offsetInLane-4)*8); in KeccakP1600_AddByte()
141 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddByte()
149 UINT32 low, high; in KeccakP1600_AddBytesInLane() local
157 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_AddBytesInLane()
163 high = laneAsBytes[4] in KeccakP1600_AddBytesInLane()
168 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddBytesInLane()
184 UINT32 high; in KeccakP1600_AddLanes() local
186 memcpy(&high, pI++, 4); in KeccakP1600_AddLanes()
187 toBitInterleavingAndXOR(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_AddLanes()
201 UINT32 high = laneAsBytes[4] in KeccakP1600_AddLanes()
207 …toBitInterleavingAndXOR(low, high, stateAsHalfLanes[lanePosition*2+0], stateAsHalfLanes[lanePositi… in KeccakP1600_AddLanes()
240 UINT32 high; in KeccakP1600_OverwriteLanes() local
242 memcpy(&high, pI++, 4); in KeccakP1600_OverwriteLanes()
243 toBitInterleavingAndSet(low, high, *(pS++), *(pS++), t, x0, x1); in KeccakP1600_OverwriteLanes()
257 UINT32 high = laneAsBytes[4] 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 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractBytesInLane()
301 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractBytesInLane()
307 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractBytesInLane()
308 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractBytesInLane()
309 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractBytesInLane()
310 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractBytesInLane()
328 UINT32 high; in KeccakP1600_ExtractLanes() local
329 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractLanes()
331 memcpy(pI++, &high, 4); in KeccakP1600_ExtractLanes()
340 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
341 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractLanes()
347 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractLanes()
348 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractLanes()
349 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractLanes()
350 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractLanes()
368 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane() local
372 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractAndAddBytesInLane()
375 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractAndAddBytesInLane()
381 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
382 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
383 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
384 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractAndAddBytesInLane()
404 UINT32 high; in KeccakP1600_ExtractAndAddLanes() local
405 fromBitInterleaving(*(pS++), *(pS++), low, high, t, x0, x1); in KeccakP1600_ExtractAndAddLanes()
407 *(pO++) = *(pI++) ^ high; in KeccakP1600_ExtractAndAddLanes()
416 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
417 …tateAsHalfLanes[lanePosition*2], stateAsHalfLanes[lanePosition*2+1], low, high, temp, temp0, temp1… in KeccakP1600_ExtractAndAddLanes()
423 laneAsBytes[4] = high & 0xFF; in KeccakP1600_ExtractAndAddLanes()
424 laneAsBytes[5] = (high >> 8) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
425 laneAsBytes[6] = (high >> 16) & 0xFF; in KeccakP1600_ExtractAndAddLanes()
426 laneAsBytes[7] = (high >> 24) & 0xFF; in KeccakP1600_ExtractAndAddLanes()