Lines Matching refs:x4
41 #define S0_1(x0, x1, x2, x3, x4) \ argument
42 movdqa x3, x4; \
44 pxor x4, x0; \
45 pxor x2, x4; \
46 pxor RNOT, x4; \
49 pxor x4, x1; \
51 #define S0_2(x0, x1, x2, x3, x4) \ argument
53 por x0, x4; \
58 pxor x4, x2; \
61 #define S1_1(x0, x1, x2, x3, x4) \ argument
62 movdqa x1, x4; \
66 pand x1, x4; \
71 #define S1_2(x0, x1, x2, x3, x4) \ argument
72 pxor x4, x3; \
73 por x4, x1; \
74 pxor x2, x4; \
80 pxor x1, x4;
82 #define S2_1(x0, x1, x2, x3, x4) \ argument
85 movdqa x0, x4; \
88 por x4, x3; \
92 #define S2_2(x0, x1, x2, x3, x4) \ argument
98 pxor x0, x4; \
102 #define S3_1(x0, x1, x2, x3, x4) \ argument
103 movdqa x1, x4; \
106 pand x0, x4; \
111 por x4, x0; \
112 pxor x3, x4;
113 #define S3_2(x0, x1, x2, x3, x4) \ argument
116 pand x4, x3; \
118 por x1, x4; \
120 pxor x3, x4; \
124 #define S4_1(x0, x1, x2, x3, x4) \ argument
125 movdqa x3, x4; \
127 pxor x4, x0; \
129 por x4, x2; \
131 pxor x3, x4; \
134 #define S4_2(x0, x1, x2, x3, x4) \ argument
136 pxor x4, x1; \
137 pand x2, x4; \
139 pxor x0, x4; \
144 #define S5_1(x0, x1, x2, x3, x4) \ argument
145 movdqa x1, x4; \
149 pxor x0, x4; \
151 pand x4, x1; \
152 por x3, x4; \
153 pxor x0, x4;
154 #define S5_2(x0, x1, x2, x3, x4) \ argument
159 pand x4, x2; \
164 #define S6_1(x0, x1, x2, x3, x4) \ argument
165 movdqa x1, x4; \
171 pxor RNOT, x4; \
174 #define S6_2(x0, x1, x2, x3, x4) \ argument
175 pxor x4, x3; \
176 pxor x0, x4; \
178 pxor x1, x4; \
184 #define S7_1(x0, x1, x2, x3, x4) \ argument
186 movdqa x1, x4; \
190 por x4, x3; \
191 pxor x2, x4; \
195 #define S7_2(x0, x1, x2, x3, x4) \ argument
197 pxor x4, x0; \
198 pxor x3, x4; \
200 pxor x1, x4; \
201 pxor x4, x2; \
203 por x0, x4; \
204 pxor x1, x4;
206 #define SI0_1(x0, x1, x2, x3, x4) \ argument
207 movdqa x3, x4; \
210 pxor x1, x4; \
216 #define SI0_2(x0, x1, x2, x3, x4) \ argument
218 pxor x4, x3; \
224 pxor x3, x4;
226 #define SI1_1(x0, x1, x2, x3, x4) \ argument
228 movdqa x0, x4; \
231 por x1, x4; \
232 pxor x3, x4; \
235 pand x4, x2;
236 #define SI1_2(x0, x1, x2, x3, x4) \ argument
237 pxor x1, x4; \
241 por x4, x0; \
242 pxor x4, x2; \
244 pxor x1, x4;
246 #define SI2_1(x0, x1, x2, x3, x4) \ argument
248 movdqa x3, x4; \
251 pxor x4, x2; \
252 pxor x0, x4; \
256 #define SI2_2(x0, x1, x2, x3, x4) \ argument
257 pxor x4, x1; \
258 por x3, x4; \
260 pxor x2, x4; \
263 pxor x4, x3; \
264 pxor x0, x4;
266 #define SI3_1(x0, x1, x2, x3, x4) \ argument
268 movdqa x1, x4; \
271 por x4, x0; \
272 pxor x3, x4; \
276 #define SI3_2(x0, x1, x2, x3, x4) \ argument
283 pxor x3, x4; \
287 #define SI4_1(x0, x1, x2, x3, x4) \ argument
289 movdqa x0, x4; \
293 pxor RNOT, x4; \
296 pand x4, x2;
297 #define SI4_2(x0, x1, x2, x3, x4) \ argument
299 por x4, x0; \
302 pxor x3, x4; \
305 pxor x1, x4; \
308 #define SI5_1(x0, x1, x2, x3, x4) \ argument
309 movdqa x1, x4; \
311 pxor x4, x2; \
313 pand x4, x3; \
319 #define SI5_2(x0, x1, x2, x3, x4) \ argument
320 pxor x1, x4; \
321 pxor x4, x2; \
322 pand x0, x4; \
328 pxor x4, x2; \
329 pxor x3, x4;
331 #define SI6_1(x0, x1, x2, x3, x4) \ argument
333 movdqa x0, x4; \
338 por x4, x2; \
341 #define SI6_2(x0, x1, x2, x3, x4) \ argument
345 pxor x0, x4; \
346 pxor x4, x3; \
347 pxor x2, x4; \
351 #define SI7_1(x0, x1, x2, x3, x4) \ argument
352 movdqa x3, x4; \
355 por x4, x2; \
356 pxor x1, x4; \
359 pxor x0, x4; \
362 #define SI7_2(x0, x1, x2, x3, x4) \ argument
365 pxor x3, x4; \
368 pxor x4, x1; \
369 pxor x4, x3; \
370 pand x0, x4; \
371 pxor x2, x4;
377 #define K2(x0, x1, x2, x3, x4, i) \ argument
391 #define LK2(x0, x1, x2, x3, x4, i) \ argument
392 movdqa x0 ## 1, x4 ## 1; \
394 psrld $(32 - 13), x4 ## 1; \
395 por x4 ## 1, x0 ## 1; \
397 movdqa x2 ## 1, x4 ## 1; \
399 psrld $(32 - 3), x4 ## 1; \
400 por x4 ## 1, x2 ## 1; \
402 movdqa x0 ## 2, x4 ## 2; \
404 psrld $(32 - 13), x4 ## 2; \
405 por x4 ## 2, x0 ## 2; \
407 movdqa x2 ## 2, x4 ## 2; \
409 psrld $(32 - 3), x4 ## 2; \
410 por x4 ## 2, x2 ## 2; \
412 movdqa x1 ## 1, x4 ## 1; \
414 psrld $(32 - 1), x4 ## 1; \
415 por x4 ## 1, x1 ## 1; \
416 movdqa x0 ## 1, x4 ## 1; \
417 pslld $3, x4 ## 1; \
419 pxor x4 ## 1, x3 ## 1; \
420 movdqa x3 ## 1, x4 ## 1; \
422 movdqa x1 ## 2, x4 ## 2; \
424 psrld $(32 - 1), x4 ## 2; \
425 por x4 ## 2, x1 ## 2; \
426 movdqa x0 ## 2, x4 ## 2; \
427 pslld $3, x4 ## 2; \
429 pxor x4 ## 2, x3 ## 2; \
430 movdqa x3 ## 2, x4 ## 2; \
433 psrld $(32 - 7), x4 ## 1; \
434 por x4 ## 1, x3 ## 1; \
435 movdqa x1 ## 1, x4 ## 1; \
436 pslld $7, x4 ## 1; \
440 pxor x4 ## 1, x2 ## 1; \
443 psrld $(32 - 7), x4 ## 2; \
444 por x4 ## 2, x3 ## 2; \
445 movdqa x1 ## 2, x4 ## 2; \
446 pslld $7, x4 ## 2; \
450 pxor x4 ## 2, x2 ## 2; \
454 movdqa x0 ## 1, x4 ## 1; \
456 psrld $(32 - 5), x4 ## 1; \
457 por x4 ## 1, x0 ## 1; \
458 movdqa x2 ## 1, x4 ## 1; \
460 psrld $(32 - 22), x4 ## 1; \
461 por x4 ## 1, x2 ## 1; \
466 movdqa x0 ## 2, x4 ## 2; \
468 psrld $(32 - 5), x4 ## 2; \
469 por x4 ## 2, x0 ## 2; \
470 movdqa x2 ## 2, x4 ## 2; \
472 psrld $(32 - 22), x4 ## 2; \
473 por x4 ## 2, x2 ## 2; \
477 #define KL2(x0, x1, x2, x3, x4, i) \ argument
480 movdqa x0 ## 1, x4 ## 1; \
482 pslld $(32 - 5), x4 ## 1; \
483 por x4 ## 1, x0 ## 1; \
486 movdqa x2 ## 1, x4 ## 1; \
488 pslld $(32 - 22), x4 ## 1; \
489 por x4 ## 1, x2 ## 1; \
493 movdqa x0 ## 2, x4 ## 2; \
495 pslld $(32 - 5), x4 ## 2; \
496 por x4 ## 2, x0 ## 2; \
499 movdqa x2 ## 2, x4 ## 2; \
501 pslld $(32 - 22), x4 ## 2; \
502 por x4 ## 2, x2 ## 2; \
505 movdqa x1 ## 1, x4 ## 1; \
506 pslld $7, x4 ## 1; \
508 pxor x4 ## 1, x2 ## 1; \
509 movdqa x1 ## 1, x4 ## 1; \
511 pslld $(32 - 1), x4 ## 1; \
512 por x4 ## 1, x1 ## 1; \
514 movdqa x1 ## 2, x4 ## 2; \
515 pslld $7, x4 ## 2; \
517 pxor x4 ## 2, x2 ## 2; \
518 movdqa x1 ## 2, x4 ## 2; \
520 pslld $(32 - 1), x4 ## 2; \
521 por x4 ## 2, x1 ## 2; \
522 movdqa x3 ## 1, x4 ## 1; \
524 pslld $(32 - 7), x4 ## 1; \
525 por x4 ## 1, x3 ## 1; \
527 movdqa x0 ## 1, x4 ## 1; \
528 pslld $3, x4 ## 1; \
529 pxor x4 ## 1, x3 ## 1; \
530 movdqa x0 ## 1, x4 ## 1; \
531 movdqa x3 ## 2, x4 ## 2; \
533 pslld $(32 - 7), x4 ## 2; \
534 por x4 ## 2, x3 ## 2; \
536 movdqa x0 ## 2, x4 ## 2; \
537 pslld $3, x4 ## 2; \
538 pxor x4 ## 2, x3 ## 2; \
539 movdqa x0 ## 2, x4 ## 2; \
541 pslld $(32 - 13), x4 ## 1; \
542 por x4 ## 1, x0 ## 1; \
545 movdqa x2 ## 1, x4 ## 1; \
547 pslld $(32 - 3), x4 ## 1; \
548 por x4 ## 1, x2 ## 1; \
550 pslld $(32 - 13), x4 ## 2; \
551 por x4 ## 2, x0 ## 2; \
554 movdqa x2 ## 2, x4 ## 2; \
556 pslld $(32 - 3), x4 ## 2; \
557 por x4 ## 2, x2 ## 2;
559 #define S(SBOX, x0, x1, x2, x3, x4) \ argument
560 SBOX ## _1(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
561 SBOX ## _2(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
562 SBOX ## _1(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
563 SBOX ## _2(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2);
565 #define SP(SBOX, x0, x1, x2, x3, x4, i) \ argument
567 SBOX ## _1(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
569 SBOX ## _1(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
571 SBOX ## _2(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
573 SBOX ## _2(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \