Lines Matching refs:UINT32

22 typedef unsigned int UINT32;  typedef
28 #define ROL32(a, offset) ((((UINT32)a) << (offset)) ^ (((UINT32)a) >> (32-(offset))))
89 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero()
90 UINT32 temp, temp0, temp1; in KeccakP1600_SetBytesInLaneToZero()
91 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_SetBytesInLaneToZero()
97 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_SetBytesInLaneToZero()
98 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_SetBytesInLaneToZero()
101 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_SetBytesInLaneToZero()
102 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_SetBytesInLaneToZero()
103 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_SetBytesInLaneToZero()
105 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_SetBytesInLaneToZero()
106 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_SetBytesInLaneToZero()
107 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_SetBytesInLaneToZero()
125 UINT32 low, high; in KeccakP1600_AddByte()
126 UINT32 temp, temp0, temp1; in KeccakP1600_AddByte()
127 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddByte()
130 low = (UINT32)byte << (offsetInLane*8); in KeccakP1600_AddByte()
135 high = (UINT32)byte << ((offsetInLane-4)*8); in KeccakP1600_AddByte()
145 UINT32 low, high; in KeccakP1600_AddBytesInLane()
146 UINT32 temp, temp0, temp1; in KeccakP1600_AddBytesInLane()
147 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddBytesInLane()
152 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_AddBytesInLane()
153 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_AddBytesInLane()
156 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_AddBytesInLane()
157 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_AddBytesInLane()
158 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_AddBytesInLane()
160 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_AddBytesInLane()
161 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_AddBytesInLane()
162 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_AddBytesInLane()
172 const UINT32 * pI = (const UINT32 *)data; in KeccakP1600_AddLanes()
173 UINT32 * pS = (UINT32*)state; in KeccakP1600_AddLanes()
174 UINT32 t, x0, x1; in KeccakP1600_AddLanes()
178 UINT32 low; in KeccakP1600_AddLanes()
179 UINT32 high; in KeccakP1600_AddLanes()
191 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_AddLanes()
192 UINT32 *stateAsHalfLanes; in KeccakP1600_AddLanes()
195 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_AddLanes()
196 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_AddLanes()
197 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_AddLanes()
199 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_AddLanes()
200 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_AddLanes()
201 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_AddLanes()
202 stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddLanes()
228 const UINT32 * pI = (const UINT32 *)data; in KeccakP1600_OverwriteLanes()
229 UINT32 * pS = (UINT32 *)state; in KeccakP1600_OverwriteLanes()
230 UINT32 t, x0, x1; in KeccakP1600_OverwriteLanes()
234 UINT32 low; in KeccakP1600_OverwriteLanes()
235 UINT32 high; in KeccakP1600_OverwriteLanes()
247 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_OverwriteLanes()
248 UINT32 *stateAsHalfLanes; in KeccakP1600_OverwriteLanes()
251 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_OverwriteLanes()
252 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_OverwriteLanes()
253 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_OverwriteLanes()
255 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_OverwriteLanes()
256 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_OverwriteLanes()
257 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_OverwriteLanes()
258 stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteLanes()
275 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteWithZeroes()
290 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractBytesInLane()
291 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractBytesInLane()
296 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractBytesInLane()
297 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractBytesInLane()
316 UINT32 * pI = (UINT32 *)data; in KeccakP1600_ExtractLanes()
317 const UINT32 * pS = ( const UINT32 *)state; in KeccakP1600_ExtractLanes()
318 UINT32 t, x0, x1; in KeccakP1600_ExtractLanes()
322 UINT32 low; in KeccakP1600_ExtractLanes()
323 UINT32 high; in KeccakP1600_ExtractLanes()
334 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractLanes()
335 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
362 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddBytesInLane()
363 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane()
369 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractAndAddBytesInLane()
370 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractAndAddBytesInLane()
390 const UINT32 * pI = (const UINT32 *)input; in KeccakP1600_ExtractAndAddLanes()
391 UINT32 * pO = (UINT32 *)output; in KeccakP1600_ExtractAndAddLanes()
392 const UINT32 * pS = (const UINT32 *)state; in KeccakP1600_ExtractAndAddLanes()
393 UINT32 t, x0, x1; in KeccakP1600_ExtractAndAddLanes()
397 UINT32 low; in KeccakP1600_ExtractAndAddLanes()
398 UINT32 high; in KeccakP1600_ExtractAndAddLanes()
409 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddLanes()
410 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
421 …((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
422 …((UINT32*)(output+lanePosition*8))[1] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
435 static const UINT32 KeccakF1600RoundConstants_int2[2*24+1] =
571 UINT32 Da0, De0, Di0, Do0, Du0; in KeccakP1600_Permute_Nrounds()
572 UINT32 Da1, De1, Di1, Do1, Du1; in KeccakP1600_Permute_Nrounds()
573 UINT32 Ca0, Ce0, Ci0, Co0, Cu0; in KeccakP1600_Permute_Nrounds()
574 UINT32 Cx, Cy, Cz, Cw; in KeccakP1600_Permute_Nrounds()
580 const UINT32 *pRoundConstants = KeccakF1600RoundConstants_int2+(24-nRounds)*2; in KeccakP1600_Permute_Nrounds()
581 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_Permute_Nrounds()