Lines Matching refs:UINT32

30 typedef unsigned int UINT32;  typedef
34 #define ROL32(a, offset) ((((UINT32)a) << (offset)) ^ (((UINT32)a) >> (32-(offset))))
93 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero()
94 UINT32 temp, temp0, temp1; in KeccakP1600_SetBytesInLaneToZero()
95 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_SetBytesInLaneToZero()
101 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_SetBytesInLaneToZero()
102 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_SetBytesInLaneToZero()
105 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_SetBytesInLaneToZero()
106 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_SetBytesInLaneToZero()
107 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_SetBytesInLaneToZero()
109 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_SetBytesInLaneToZero()
110 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_SetBytesInLaneToZero()
111 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_SetBytesInLaneToZero()
129 UINT32 low, high; in KeccakP1600_AddByte()
130 UINT32 temp, temp0, temp1; in KeccakP1600_AddByte()
131 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddByte()
134 low = (UINT32)byte << (offsetInLane*8); in KeccakP1600_AddByte()
139 high = (UINT32)byte << ((offsetInLane-4)*8); in KeccakP1600_AddByte()
149 UINT32 low, high; in KeccakP1600_AddBytesInLane()
150 UINT32 temp, temp0, temp1; in KeccakP1600_AddBytesInLane()
151 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddBytesInLane()
156 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_AddBytesInLane()
157 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_AddBytesInLane()
160 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_AddBytesInLane()
161 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_AddBytesInLane()
162 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_AddBytesInLane()
164 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_AddBytesInLane()
165 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_AddBytesInLane()
166 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_AddBytesInLane()
177 const UINT32 * pI = (const UINT32 *)data; in KeccakP1600_AddLanes()
178 UINT32 * pS = (UINT32*)state; in KeccakP1600_AddLanes()
179 UINT32 t, x0, x1; in KeccakP1600_AddLanes()
183 UINT32 low; in KeccakP1600_AddLanes()
184 UINT32 high; in KeccakP1600_AddLanes()
197 UINT32 low = laneAsBytes[0] in KeccakP1600_AddLanes()
198 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_AddLanes()
199 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_AddLanes()
200 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_AddLanes()
201 UINT32 high = laneAsBytes[4] in KeccakP1600_AddLanes()
202 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_AddLanes()
203 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_AddLanes()
204 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_AddLanes()
205 UINT32 even, odd, temp, temp0, temp1; in KeccakP1600_AddLanes()
206 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddLanes()
233 const UINT32 * pI = (const UINT32 *)data; in KeccakP1600_OverwriteLanes()
234 UINT32 * pS = (UINT32 *)state; in KeccakP1600_OverwriteLanes()
235 UINT32 t, x0, x1; in KeccakP1600_OverwriteLanes()
239 UINT32 low; in KeccakP1600_OverwriteLanes()
240 UINT32 high; in KeccakP1600_OverwriteLanes()
253 UINT32 low = laneAsBytes[0] in KeccakP1600_OverwriteLanes()
254 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_OverwriteLanes()
255 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_OverwriteLanes()
256 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_OverwriteLanes()
257 UINT32 high = laneAsBytes[4] in KeccakP1600_OverwriteLanes()
258 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_OverwriteLanes()
259 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_OverwriteLanes()
260 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_OverwriteLanes()
261 UINT32 even, odd, temp, temp0, temp1; in KeccakP1600_OverwriteLanes()
262 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteLanes()
279 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteWithZeroes()
294 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractBytesInLane()
295 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractBytesInLane()
300 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractBytesInLane()
301 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractBytesInLane()
321 UINT32 * pI = (UINT32 *)data; in KeccakP1600_ExtractLanes()
322 const UINT32 * pS = ( const UINT32 *)state; in KeccakP1600_ExtractLanes()
323 UINT32 t, x0, x1; in KeccakP1600_ExtractLanes()
327 UINT32 low; in KeccakP1600_ExtractLanes()
328 UINT32 high; in KeccakP1600_ExtractLanes()
339 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractLanes()
340 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
367 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddBytesInLane()
368 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane()
374 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractAndAddBytesInLane()
375 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractAndAddBytesInLane()
396 const UINT32 * pI = (const UINT32 *)input; in KeccakP1600_ExtractAndAddLanes()
397 UINT32 * pO = (UINT32 *)output; in KeccakP1600_ExtractAndAddLanes()
398 const UINT32 * pS = (const UINT32 *)state; in KeccakP1600_ExtractAndAddLanes()
399 UINT32 t, x0, x1; in KeccakP1600_ExtractAndAddLanes()
403 UINT32 low; in KeccakP1600_ExtractAndAddLanes()
404 UINT32 high; in KeccakP1600_ExtractAndAddLanes()
415 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddLanes()
416 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
427 …((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
428 …((UINT32*)(output+lanePosition*8))[1] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
441 static const UINT32 KeccakF1600RoundConstants_int2[2*24+1] =
972 UINT32 Da0, De0, Di0, Do0, Du0; in KeccakP1600_Permute_Nrounds()
973 UINT32 Da1, De1, Di1, Do1, Du1; in KeccakP1600_Permute_Nrounds()
974 UINT32 Ba, Be, Bi, Bo, Bu; in KeccakP1600_Permute_Nrounds()
975 UINT32 Cx, Cy, Cz, Cw; in KeccakP1600_Permute_Nrounds()
976 const UINT32 *pRoundConstants = KeccakF1600RoundConstants_int2+(24-nRounds)*2; in KeccakP1600_Permute_Nrounds()
977 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_Permute_Nrounds()