• Home
  • Raw
  • Download

Lines Matching refs:word32

43 		word32	x32[MAXKC];  in rijndaelKeySched()
49 *((word32*)tk[j]) = *((word32*)k[j]); in rijndaelKeySched()
56 *((word32*)W[r][t]) = *((word32*)tk[j]); in rijndaelKeySched()
74 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); in rijndaelKeySched()
78 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); in rijndaelKeySched()
85 *((word32*)tk[j]) ^= *((word32*)tk[j-1]); in rijndaelKeySched()
91 *((word32*)W[r][t]) = *((word32*)tk[j]); in rijndaelKeySched()
109 *((word32*)w) = in rijndaelKeyEncToDec()
110 *((const word32*)U1[w[0]]) in rijndaelKeyEncToDec()
111 ^ *((const word32*)U2[w[1]]) in rijndaelKeyEncToDec()
112 ^ *((const word32*)U3[w[2]]) in rijndaelKeyEncToDec()
113 ^ *((const word32*)U4[w[3]]); in rijndaelKeyEncToDec()
116 *((word32*)w) = in rijndaelKeyEncToDec()
117 *((const word32*)U1[w[0]]) in rijndaelKeyEncToDec()
118 ^ *((const word32*)U2[w[1]]) in rijndaelKeyEncToDec()
119 ^ *((const word32*)U3[w[2]]) in rijndaelKeyEncToDec()
120 ^ *((const word32*)U4[w[3]]); in rijndaelKeyEncToDec()
123 *((word32*)w) = in rijndaelKeyEncToDec()
124 *((const word32*)U1[w[0]]) in rijndaelKeyEncToDec()
125 ^ *((const word32*)U2[w[1]]) in rijndaelKeyEncToDec()
126 ^ *((const word32*)U3[w[2]]) in rijndaelKeyEncToDec()
127 ^ *((const word32*)U4[w[3]]); in rijndaelKeyEncToDec()
130 *((word32*)w) = in rijndaelKeyEncToDec()
131 *((const word32*)U1[w[0]]) in rijndaelKeyEncToDec()
132 ^ *((const word32*)U2[w[1]]) in rijndaelKeyEncToDec()
133 ^ *((const word32*)U3[w[2]]) in rijndaelKeyEncToDec()
134 ^ *((const word32*)U4[w[3]]); in rijndaelKeyEncToDec()
146 word32 x32[4]; in rijndaelEncrypt()
152 word32 x32[4]; in rijndaelEncrypt()
158 *((word32*)temp[0]) = *((word32*)(a )) ^ *((word32*)rk[0][0]); in rijndaelEncrypt()
159 *((word32*)temp[1]) = *((word32*)(a+ 4)) ^ *((word32*)rk[0][1]); in rijndaelEncrypt()
160 *((word32*)temp[2]) = *((word32*)(a+ 8)) ^ *((word32*)rk[0][2]); in rijndaelEncrypt()
161 *((word32*)temp[3]) = *((word32*)(a+12)) ^ *((word32*)rk[0][3]); in rijndaelEncrypt()
162 *((word32*)(b )) = *((const word32*)T1[temp[0][0]]) in rijndaelEncrypt()
163 ^ *((const word32*)T2[temp[1][1]]) in rijndaelEncrypt()
164 ^ *((const word32*)T3[temp[2][2]]) in rijndaelEncrypt()
165 ^ *((const word32*)T4[temp[3][3]]); in rijndaelEncrypt()
166 *((word32*)(b + 4)) = *((const word32*)T1[temp[1][0]]) in rijndaelEncrypt()
167 ^ *((const word32*)T2[temp[2][1]]) in rijndaelEncrypt()
168 ^ *((const word32*)T3[temp[3][2]]) in rijndaelEncrypt()
169 ^ *((const word32*)T4[temp[0][3]]); in rijndaelEncrypt()
170 *((word32*)(b + 8)) = *((const word32*)T1[temp[2][0]]) in rijndaelEncrypt()
171 ^ *((const word32*)T2[temp[3][1]]) in rijndaelEncrypt()
172 ^ *((const word32*)T3[temp[0][2]]) in rijndaelEncrypt()
173 ^ *((const word32*)T4[temp[1][3]]); in rijndaelEncrypt()
174 *((word32*)(b +12)) = *((const word32*)T1[temp[3][0]]) in rijndaelEncrypt()
175 ^ *((const word32*)T2[temp[0][1]]) in rijndaelEncrypt()
176 ^ *((const word32*)T3[temp[1][2]]) in rijndaelEncrypt()
177 ^ *((const word32*)T4[temp[2][3]]); in rijndaelEncrypt()
179 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[r][0]); in rijndaelEncrypt()
180 *((word32*)temp[1]) = *((word32*)(b+ 4)) ^ *((word32*)rk[r][1]); in rijndaelEncrypt()
181 *((word32*)temp[2]) = *((word32*)(b+ 8)) ^ *((word32*)rk[r][2]); in rijndaelEncrypt()
182 *((word32*)temp[3]) = *((word32*)(b+12)) ^ *((word32*)rk[r][3]); in rijndaelEncrypt()
184 *((word32*)(b )) = *((const word32*)T1[temp[0][0]]) in rijndaelEncrypt()
185 ^ *((const word32*)T2[temp[1][1]]) in rijndaelEncrypt()
186 ^ *((const word32*)T3[temp[2][2]]) in rijndaelEncrypt()
187 ^ *((const word32*)T4[temp[3][3]]); in rijndaelEncrypt()
188 *((word32*)(b + 4)) = *((const word32*)T1[temp[1][0]]) in rijndaelEncrypt()
189 ^ *((const word32*)T2[temp[2][1]]) in rijndaelEncrypt()
190 ^ *((const word32*)T3[temp[3][2]]) in rijndaelEncrypt()
191 ^ *((const word32*)T4[temp[0][3]]); in rijndaelEncrypt()
192 *((word32*)(b + 8)) = *((const word32*)T1[temp[2][0]]) in rijndaelEncrypt()
193 ^ *((const word32*)T2[temp[3][1]]) in rijndaelEncrypt()
194 ^ *((const word32*)T3[temp[0][2]]) in rijndaelEncrypt()
195 ^ *((const word32*)T4[temp[1][3]]); in rijndaelEncrypt()
196 *((word32*)(b +12)) = *((const word32*)T1[temp[3][0]]) in rijndaelEncrypt()
197 ^ *((const word32*)T2[temp[0][1]]) in rijndaelEncrypt()
198 ^ *((const word32*)T3[temp[1][2]]) in rijndaelEncrypt()
199 ^ *((const word32*)T4[temp[2][3]]); in rijndaelEncrypt()
202 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[ROUNDS-1][0]); in rijndaelEncrypt()
203 *((word32*)temp[1]) = *((word32*)(b+ 4)) ^ *((word32*)rk[ROUNDS-1][1]); in rijndaelEncrypt()
204 *((word32*)temp[2]) = *((word32*)(b+ 8)) ^ *((word32*)rk[ROUNDS-1][2]); in rijndaelEncrypt()
205 *((word32*)temp[3]) = *((word32*)(b+12)) ^ *((word32*)rk[ROUNDS-1][3]); in rijndaelEncrypt()
222 *((word32*)(b )) ^= *((word32*)rk[ROUNDS][0]); in rijndaelEncrypt()
223 *((word32*)(b+ 4)) ^= *((word32*)rk[ROUNDS][1]); in rijndaelEncrypt()
224 *((word32*)(b+ 8)) ^= *((word32*)rk[ROUNDS][2]); in rijndaelEncrypt()
225 *((word32*)(b+12)) ^= *((word32*)rk[ROUNDS][3]); in rijndaelEncrypt()
249 *((word32*)a[0]) = *((word32*)a[0]) ^ *((word32*)rk[0][0]); in rijndaelEncryptRound()
250 *((word32*)a[1]) = *((word32*)a[1]) ^ *((word32*)rk[0][1]); in rijndaelEncryptRound()
251 *((word32*)a[2]) = *((word32*)a[2]) ^ *((word32*)rk[0][2]); in rijndaelEncryptRound()
252 *((word32*)a[3]) = *((word32*)a[3]) ^ *((word32*)rk[0][3]); in rijndaelEncryptRound()
255 *((word32*)temp[0]) = *((const word32*)T1[a[0][0]]) in rijndaelEncryptRound()
256 ^ *((const word32*)T2[a[1][1]]) in rijndaelEncryptRound()
257 ^ *((const word32*)T3[a[2][2]]) in rijndaelEncryptRound()
258 ^ *((const word32*)T4[a[3][3]]); in rijndaelEncryptRound()
259 *((word32*)temp[1]) = *((const word32*)T1[a[1][0]]) in rijndaelEncryptRound()
260 ^ *((const word32*)T2[a[2][1]]) in rijndaelEncryptRound()
261 ^ *((const word32*)T3[a[3][2]]) in rijndaelEncryptRound()
262 ^ *((const word32*)T4[a[0][3]]); in rijndaelEncryptRound()
263 *((word32*)temp[2]) = *((const word32*)T1[a[2][0]]) in rijndaelEncryptRound()
264 ^ *((const word32*)T2[a[3][1]]) in rijndaelEncryptRound()
265 ^ *((const word32*)T3[a[0][2]]) in rijndaelEncryptRound()
266 ^ *((const word32*)T4[a[1][3]]); in rijndaelEncryptRound()
267 *((word32*)temp[3]) = *((const word32*)T1[a[3][0]]) in rijndaelEncryptRound()
268 ^ *((const word32*)T2[a[0][1]]) in rijndaelEncryptRound()
269 ^ *((const word32*)T3[a[1][2]]) in rijndaelEncryptRound()
270 ^ *((const word32*)T4[a[2][3]]); in rijndaelEncryptRound()
271 *((word32*)a[0]) = *((word32*)temp[0]) ^ *((word32*)rk[r][0]); in rijndaelEncryptRound()
272 *((word32*)a[1]) = *((word32*)temp[1]) ^ *((word32*)rk[r][1]); in rijndaelEncryptRound()
273 *((word32*)a[2]) = *((word32*)temp[2]) ^ *((word32*)rk[r][2]); in rijndaelEncryptRound()
274 *((word32*)a[3]) = *((word32*)temp[3]) ^ *((word32*)rk[r][3]); in rijndaelEncryptRound()
294 *((word32*)a[0]) = *((word32*)temp[0]) ^ *((word32*)rk[ROUNDS][0]); in rijndaelEncryptRound()
295 *((word32*)a[1]) = *((word32*)temp[1]) ^ *((word32*)rk[ROUNDS][1]); in rijndaelEncryptRound()
296 *((word32*)a[2]) = *((word32*)temp[2]) ^ *((word32*)rk[ROUNDS][2]); in rijndaelEncryptRound()
297 *((word32*)a[3]) = *((word32*)temp[3]) ^ *((word32*)rk[ROUNDS][3]); in rijndaelEncryptRound()
311 word32 x32[4]; in rijndaelDecrypt()
317 word32 x32[4]; in rijndaelDecrypt()
323 *((word32*)temp[0]) = *((word32*)(a )) ^ *((word32*)rk[ROUNDS][0]); in rijndaelDecrypt()
324 *((word32*)temp[1]) = *((word32*)(a+ 4)) ^ *((word32*)rk[ROUNDS][1]); in rijndaelDecrypt()
325 *((word32*)temp[2]) = *((word32*)(a+ 8)) ^ *((word32*)rk[ROUNDS][2]); in rijndaelDecrypt()
326 *((word32*)temp[3]) = *((word32*)(a+12)) ^ *((word32*)rk[ROUNDS][3]); in rijndaelDecrypt()
328 *((word32*)(b )) = *((const word32*)T5[temp[0][0]]) in rijndaelDecrypt()
329 ^ *((const word32*)T6[temp[3][1]]) in rijndaelDecrypt()
330 ^ *((const word32*)T7[temp[2][2]]) in rijndaelDecrypt()
331 ^ *((const word32*)T8[temp[1][3]]); in rijndaelDecrypt()
332 *((word32*)(b+ 4)) = *((const word32*)T5[temp[1][0]]) in rijndaelDecrypt()
333 ^ *((const word32*)T6[temp[0][1]]) in rijndaelDecrypt()
334 ^ *((const word32*)T7[temp[3][2]]) in rijndaelDecrypt()
335 ^ *((const word32*)T8[temp[2][3]]); in rijndaelDecrypt()
336 *((word32*)(b+ 8)) = *((const word32*)T5[temp[2][0]]) in rijndaelDecrypt()
337 ^ *((const word32*)T6[temp[1][1]]) in rijndaelDecrypt()
338 ^ *((const word32*)T7[temp[0][2]]) in rijndaelDecrypt()
339 ^ *((const word32*)T8[temp[3][3]]); in rijndaelDecrypt()
340 *((word32*)(b+12)) = *((const word32*)T5[temp[3][0]]) in rijndaelDecrypt()
341 ^ *((const word32*)T6[temp[2][1]]) in rijndaelDecrypt()
342 ^ *((const word32*)T7[temp[1][2]]) in rijndaelDecrypt()
343 ^ *((const word32*)T8[temp[0][3]]); in rijndaelDecrypt()
345 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[r][0]); in rijndaelDecrypt()
346 *((word32*)temp[1]) = *((word32*)(b+ 4)) ^ *((word32*)rk[r][1]); in rijndaelDecrypt()
347 *((word32*)temp[2]) = *((word32*)(b+ 8)) ^ *((word32*)rk[r][2]); in rijndaelDecrypt()
348 *((word32*)temp[3]) = *((word32*)(b+12)) ^ *((word32*)rk[r][3]); in rijndaelDecrypt()
349 *((word32*)(b )) = *((const word32*)T5[temp[0][0]]) in rijndaelDecrypt()
350 ^ *((const word32*)T6[temp[3][1]]) in rijndaelDecrypt()
351 ^ *((const word32*)T7[temp[2][2]]) in rijndaelDecrypt()
352 ^ *((const word32*)T8[temp[1][3]]); in rijndaelDecrypt()
353 *((word32*)(b+ 4)) = *((const word32*)T5[temp[1][0]]) in rijndaelDecrypt()
354 ^ *((const word32*)T6[temp[0][1]]) in rijndaelDecrypt()
355 ^ *((const word32*)T7[temp[3][2]]) in rijndaelDecrypt()
356 ^ *((const word32*)T8[temp[2][3]]); in rijndaelDecrypt()
357 *((word32*)(b+ 8)) = *((const word32*)T5[temp[2][0]]) in rijndaelDecrypt()
358 ^ *((const word32*)T6[temp[1][1]]) in rijndaelDecrypt()
359 ^ *((const word32*)T7[temp[0][2]]) in rijndaelDecrypt()
360 ^ *((const word32*)T8[temp[3][3]]); in rijndaelDecrypt()
361 *((word32*)(b+12)) = *((const word32*)T5[temp[3][0]]) in rijndaelDecrypt()
362 ^ *((const word32*)T6[temp[2][1]]) in rijndaelDecrypt()
363 ^ *((const word32*)T7[temp[1][2]]) in rijndaelDecrypt()
364 ^ *((const word32*)T8[temp[0][3]]); in rijndaelDecrypt()
367 *((word32*)temp[0]) = *((word32*)(b )) ^ *((word32*)rk[1][0]); in rijndaelDecrypt()
368 *((word32*)temp[1]) = *((word32*)(b+ 4)) ^ *((word32*)rk[1][1]); in rijndaelDecrypt()
369 *((word32*)temp[2]) = *((word32*)(b+ 8)) ^ *((word32*)rk[1][2]); in rijndaelDecrypt()
370 *((word32*)temp[3]) = *((word32*)(b+12)) ^ *((word32*)rk[1][3]); in rijndaelDecrypt()
387 *((word32*)(b )) ^= *((word32*)rk[0][0]); in rijndaelDecrypt()
388 *((word32*)(b+ 4)) ^= *((word32*)rk[0][1]); in rijndaelDecrypt()
389 *((word32*)(b+ 8)) ^= *((word32*)rk[0][2]); in rijndaelDecrypt()
390 *((word32*)(b+12)) ^= *((word32*)rk[0][3]); in rijndaelDecrypt()
418 *(word32 *)a[0] ^= *(word32 *)rk[ROUNDS][0]; in rijndaelDecryptRound()
419 *(word32 *)a[1] ^= *(word32 *)rk[ROUNDS][1]; in rijndaelDecryptRound()
420 *(word32 *)a[2] ^= *(word32 *)rk[ROUNDS][2]; in rijndaelDecryptRound()
421 *(word32 *)a[3] ^= *(word32 *)rk[ROUNDS][3]; in rijndaelDecryptRound()
441 *(word32 *)a[0] ^= *(word32 *)rk[r][0]; in rijndaelDecryptRound()
442 *(word32 *)a[1] ^= *(word32 *)rk[r][1]; in rijndaelDecryptRound()
443 *(word32 *)a[2] ^= *(word32 *)rk[r][2]; in rijndaelDecryptRound()
444 *(word32 *)a[3] ^= *(word32 *)rk[r][3]; in rijndaelDecryptRound()
446 *((word32*)a[0]) = in rijndaelDecryptRound()
447 *((const word32*)U1[a[0][0]]) in rijndaelDecryptRound()
448 ^ *((const word32*)U2[a[0][1]]) in rijndaelDecryptRound()
449 ^ *((const word32*)U3[a[0][2]]) in rijndaelDecryptRound()
450 ^ *((const word32*)U4[a[0][3]]); in rijndaelDecryptRound()
452 *((word32*)a[1]) = in rijndaelDecryptRound()
453 *((const word32*)U1[a[1][0]]) in rijndaelDecryptRound()
454 ^ *((const word32*)U2[a[1][1]]) in rijndaelDecryptRound()
455 ^ *((const word32*)U3[a[1][2]]) in rijndaelDecryptRound()
456 ^ *((const word32*)U4[a[1][3]]); in rijndaelDecryptRound()
458 *((word32*)a[2]) = in rijndaelDecryptRound()
459 *((const word32*)U1[a[2][0]]) in rijndaelDecryptRound()
460 ^ *((const word32*)U2[a[2][1]]) in rijndaelDecryptRound()
461 ^ *((const word32*)U3[a[2][2]]) in rijndaelDecryptRound()
462 ^ *((const word32*)U4[a[2][3]]); in rijndaelDecryptRound()
464 *((word32*)a[3]) = in rijndaelDecryptRound()
465 *((const word32*)U1[a[3][0]]) in rijndaelDecryptRound()
466 ^ *((const word32*)U2[a[3][1]]) in rijndaelDecryptRound()
467 ^ *((const word32*)U3[a[3][2]]) in rijndaelDecryptRound()
468 ^ *((const word32*)U4[a[3][3]]); in rijndaelDecryptRound()
489 *(word32 *)a[0] ^= *(word32 *)rk[0][0]; in rijndaelDecryptRound()
490 *(word32 *)a[1] ^= *(word32 *)rk[0][1]; in rijndaelDecryptRound()
491 *(word32 *)a[2] ^= *(word32 *)rk[0][2]; in rijndaelDecryptRound()
492 *(word32 *)a[3] ^= *(word32 *)rk[0][3]; in rijndaelDecryptRound()