Lines Matching refs:UINT32

22 typedef unsigned int UINT32;  typedef
26 #define ROL32(a, offset) ((((UINT32)a) << (offset)) ^ (((UINT32)a) >> (32-(offset))))
85 UINT32 low, high; in KeccakP1600_SetBytesInLaneToZero()
86 UINT32 temp, temp0, temp1; in KeccakP1600_SetBytesInLaneToZero()
87 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_SetBytesInLaneToZero()
93 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_SetBytesInLaneToZero()
94 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_SetBytesInLaneToZero()
97 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_SetBytesInLaneToZero()
98 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_SetBytesInLaneToZero()
99 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_SetBytesInLaneToZero()
101 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_SetBytesInLaneToZero()
102 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_SetBytesInLaneToZero()
103 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_SetBytesInLaneToZero()
121 UINT32 low, high; in KeccakP1600_AddByte()
122 UINT32 temp, temp0, temp1; in KeccakP1600_AddByte()
123 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddByte()
126 low = (UINT32)byte << (offsetInLane*8); in KeccakP1600_AddByte()
131 high = (UINT32)byte << ((offsetInLane-4)*8); in KeccakP1600_AddByte()
141 UINT32 low, high; in KeccakP1600_AddBytesInLane()
142 UINT32 temp, temp0, temp1; in KeccakP1600_AddBytesInLane()
143 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddBytesInLane()
148 low = *((UINT32*)(laneAsBytes+0)); in KeccakP1600_AddBytesInLane()
149 high = *((UINT32*)(laneAsBytes+4)); in KeccakP1600_AddBytesInLane()
152 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_AddBytesInLane()
153 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_AddBytesInLane()
154 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_AddBytesInLane()
156 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_AddBytesInLane()
157 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_AddBytesInLane()
158 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_AddBytesInLane()
168 const UINT32 * pI = (const UINT32 *)data; in KeccakP1600_AddLanes()
169 UINT32 * pS = (UINT32*)state; in KeccakP1600_AddLanes()
170 UINT32 t, x0, x1; in KeccakP1600_AddLanes()
174 UINT32 low; in KeccakP1600_AddLanes()
175 UINT32 high; in KeccakP1600_AddLanes()
188 UINT32 low = laneAsBytes[0] in KeccakP1600_AddLanes()
189 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_AddLanes()
190 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_AddLanes()
191 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_AddLanes()
192 UINT32 high = laneAsBytes[4] in KeccakP1600_AddLanes()
193 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_AddLanes()
194 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_AddLanes()
195 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_AddLanes()
196 UINT32 even, odd, temp, temp0, temp1; in KeccakP1600_AddLanes()
197 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_AddLanes()
223 const UINT32 * pI = (const UINT32 *)data; in KeccakP1600_OverwriteLanes()
224 UINT32 * pS = (UINT32 *)state; in KeccakP1600_OverwriteLanes()
225 UINT32 t, x0, x1; in KeccakP1600_OverwriteLanes()
229 UINT32 low; in KeccakP1600_OverwriteLanes()
230 UINT32 high; in KeccakP1600_OverwriteLanes()
243 UINT32 low = laneAsBytes[0] in KeccakP1600_OverwriteLanes()
244 | ((UINT32)(laneAsBytes[1]) << 8) in KeccakP1600_OverwriteLanes()
245 | ((UINT32)(laneAsBytes[2]) << 16) in KeccakP1600_OverwriteLanes()
246 | ((UINT32)(laneAsBytes[3]) << 24); in KeccakP1600_OverwriteLanes()
247 UINT32 high = laneAsBytes[4] in KeccakP1600_OverwriteLanes()
248 | ((UINT32)(laneAsBytes[5]) << 8) in KeccakP1600_OverwriteLanes()
249 | ((UINT32)(laneAsBytes[6]) << 16) in KeccakP1600_OverwriteLanes()
250 | ((UINT32)(laneAsBytes[7]) << 24); in KeccakP1600_OverwriteLanes()
251 UINT32 even, odd, temp, temp0, temp1; in KeccakP1600_OverwriteLanes()
252 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteLanes()
269 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_OverwriteWithZeroes()
284 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractBytesInLane()
285 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractBytesInLane()
290 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractBytesInLane()
291 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractBytesInLane()
310 UINT32 * pI = (UINT32 *)data; in KeccakP1600_ExtractLanes()
311 const UINT32 * pS = ( const UINT32 *)state; in KeccakP1600_ExtractLanes()
312 UINT32 t, x0, x1; in KeccakP1600_ExtractLanes()
316 UINT32 low; in KeccakP1600_ExtractLanes()
317 UINT32 high; in KeccakP1600_ExtractLanes()
328 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractLanes()
329 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractLanes()
356 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddBytesInLane()
357 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddBytesInLane()
363 *((UINT32*)(laneAsBytes+0)) = low; in KeccakP1600_ExtractAndAddBytesInLane()
364 *((UINT32*)(laneAsBytes+4)) = high; in KeccakP1600_ExtractAndAddBytesInLane()
384 const UINT32 * pI = (const UINT32 *)input; in KeccakP1600_ExtractAndAddLanes()
385 UINT32 * pO = (UINT32 *)output; in KeccakP1600_ExtractAndAddLanes()
386 const UINT32 * pS = (const UINT32 *)state; in KeccakP1600_ExtractAndAddLanes()
387 UINT32 t, x0, x1; in KeccakP1600_ExtractAndAddLanes()
391 UINT32 low; in KeccakP1600_ExtractAndAddLanes()
392 UINT32 high; in KeccakP1600_ExtractAndAddLanes()
403 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_ExtractAndAddLanes()
404 UINT32 low, high, temp, temp0, temp1; in KeccakP1600_ExtractAndAddLanes()
415 …((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
416 …((UINT32*)(output+lanePosition*8))[1] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(l… in KeccakP1600_ExtractAndAddLanes()
429 static const UINT32 KeccakF1600RoundConstants_int2[2*24+1] =
960 UINT32 Da0, De0, Di0, Do0, Du0; in KeccakP1600_Permute_Nrounds()
961 UINT32 Da1, De1, Di1, Do1, Du1; in KeccakP1600_Permute_Nrounds()
962 UINT32 Ba, Be, Bi, Bo, Bu; in KeccakP1600_Permute_Nrounds()
963 UINT32 Cx, Cy, Cz, Cw; in KeccakP1600_Permute_Nrounds()
964 const UINT32 *pRoundConstants = KeccakF1600RoundConstants_int2+(24-nRounds)*2; in KeccakP1600_Permute_Nrounds()
965 UINT32 *stateAsHalfLanes = (UINT32*)state; in KeccakP1600_Permute_Nrounds()