Lines Matching refs:x3
41 #define S0_1(x0, x1, x2, x3, x4) \ argument
42 movdqa x3, x4; \
43 por x0, x3; \
47 pxor x1, x3; \
51 #define S0_2(x0, x1, x2, x3, x4) \ argument
52 pxor x3, x0; \
56 pxor x2, x3; \
61 #define S1_1(x0, x1, x2, x3, x4) \ argument
64 pxor x3, x0; \
65 pxor RNOT, x3; \
68 pxor x2, x3; \
69 pxor x3, x0; \
70 pxor x3, x1;
71 #define S1_2(x0, x1, x2, x3, x4) \ argument
72 pxor x4, x3; \
82 #define S2_1(x0, x1, x2, x3, x4) \ argument
83 pxor RNOT, x3; \
87 pxor x3, x0; \
88 por x4, x3; \
90 pxor x1, x3; \
92 #define S2_2(x0, x1, x2, x3, x4) \ argument
94 pand x3, x2; \
95 por x1, x3; \
97 pxor x0, x3; \
102 #define S3_1(x0, x1, x2, x3, x4) \ argument
104 pxor x3, x1; \
105 por x0, x3; \
109 pand x3, x1; \
110 pxor x3, x2; \
112 pxor x3, x4;
113 #define S3_2(x0, x1, x2, x3, x4) \ argument
115 pand x3, x0; \
116 pand x4, x3; \
117 pxor x2, x3; \
120 pxor x3, x4; \
121 pxor x3, x0; \
122 pxor x2, x3;
124 #define S4_1(x0, x1, x2, x3, x4) \ argument
125 movdqa x3, x4; \
126 pand x0, x3; \
128 pxor x2, x3; \
131 pxor x3, x4; \
134 #define S4_2(x0, x1, x2, x3, x4) \ argument
138 pxor x3, x2; \
140 por x1, x3; \
142 pxor x0, x3;
144 #define S5_1(x0, x1, x2, x3, x4) \ argument
148 pxor RNOT, x3; \
152 por x3, x4; \
154 #define S5_2(x0, x1, x2, x3, x4) \ argument
155 pand x3, x0; \
156 pxor x3, x1; \
157 pxor x2, x3; \
162 pxor x2, x3;
164 #define S6_1(x0, x1, x2, x3, x4) \ argument
166 pxor x0, x3; \
169 pand x3, x0; \
170 por x3, x1; \
174 #define S6_2(x0, x1, x2, x3, x4) \ argument
175 pxor x4, x3; \
179 pxor x3, x2; \
180 pand x1, x3; \
181 pxor x0, x3; \
184 #define S7_1(x0, x1, x2, x3, x4) \ argument
189 pxor x3, x1; \
190 por x4, x3; \
192 pxor x3, x2; \
193 pxor x0, x3; \
195 #define S7_2(x0, x1, x2, x3, x4) \ argument
198 pxor x3, x4; \
199 pand x0, x3; \
202 pxor x1, x3; \
206 #define SI0_1(x0, x1, x2, x3, x4) \ argument
207 movdqa x3, x4; \
209 por x1, x3; \
212 pxor x3, x2; \
213 pxor x0, x3; \
216 #define SI0_2(x0, x1, x2, x3, x4) \ argument
217 pand x3, x2; \
218 pxor x4, x3; \
219 pxor x3, x2; \
220 pxor x3, x1; \
221 pand x0, x3; \
224 pxor x3, x4;
226 #define SI1_1(x0, x1, x2, x3, x4) \ argument
227 pxor x3, x1; \
232 pxor x3, x4; \
233 pand x1, x3; \
236 #define SI1_2(x0, x1, x2, x3, x4) \ argument
238 por x3, x1; \
239 pxor x0, x3; \
246 #define SI2_1(x0, x1, x2, x3, x4) \ argument
248 movdqa x3, x4; \
249 pxor RNOT, x3; \
250 por x2, x3; \
253 pxor x1, x3; \
256 #define SI2_2(x0, x1, x2, x3, x4) \ argument
258 por x3, x4; \
259 pxor x3, x2; \
262 pxor x3, x2; \
263 pxor x4, x3; \
266 #define SI3_1(x0, x1, x2, x3, x4) \ argument
272 pxor x3, x4; \
273 pxor x3, x0; \
274 por x1, x3; \
276 #define SI3_2(x0, x1, x2, x3, x4) \ argument
277 pxor x3, x1; \
279 pxor x3, x2; \
280 pand x1, x3; \
283 pxor x3, x4; \
284 pxor x0, x3; \
287 #define SI4_1(x0, x1, x2, x3, x4) \ argument
288 pxor x3, x2; \
292 por x3, x2; \
297 #define SI4_2(x0, x1, x2, x3, x4) \ argument
300 pxor x3, x0; \
301 pand x2, x3; \
302 pxor x3, x4; \
303 pxor x1, x3; \
306 pxor x3, x0;
308 #define SI5_1(x0, x1, x2, x3, x4) \ argument
312 pxor x3, x1; \
313 pand x4, x3; \
314 pxor x3, x2; \
315 por x0, x3; \
317 pxor x2, x3; \
319 #define SI5_2(x0, x1, x2, x3, x4) \ argument
324 pxor x3, x1; \
326 pxor x3, x2; \
329 pxor x3, x4;
331 #define SI6_1(x0, x1, x2, x3, x4) \ argument
334 pand x3, x0; \
335 pxor x3, x2; \
337 pxor x1, x3; \
339 pxor x3, x2; \
340 pand x0, x3;
341 #define SI6_2(x0, x1, x2, x3, x4) \ argument
343 pxor x1, x3; \
346 pxor x4, x3; \
351 #define SI7_1(x0, x1, x2, x3, x4) \ argument
352 movdqa x3, x4; \
353 pand x0, x3; \
358 por x3, x1; \
362 #define SI7_2(x0, x1, x2, x3, x4) \ argument
364 pxor x2, x3; \
365 pxor x3, x4; \
366 pand x3, x2; \
367 por x0, x3; \
369 pxor x4, x3; \
377 #define K2(x0, x1, x2, x3, x4, i) \ argument
385 pxor RK3, x3 ## 1; \
389 pxor RK3, x3 ## 2;
391 #define LK2(x0, x1, x2, x3, x4, i) \ argument
418 pxor x2 ## 1, x3 ## 1; \
419 pxor x4 ## 1, x3 ## 1; \
420 movdqa x3 ## 1, x4 ## 1; \
428 pxor x2 ## 2, x3 ## 2; \
429 pxor x4 ## 2, x3 ## 2; \
430 movdqa x3 ## 2, x4 ## 2; \
432 pslld $7, x3 ## 1; \
434 por x4 ## 1, x3 ## 1; \
438 pxor x3 ## 1, x0 ## 1; \
439 pxor x3 ## 1, x2 ## 1; \
442 pslld $7, x3 ## 2; \
444 por x4 ## 2, x3 ## 2; \
448 pxor x3 ## 2, x0 ## 2; \
449 pxor x3 ## 2, x2 ## 2; \
453 pxor RK3, x3 ## 1; \
465 pxor RK3, x3 ## 2; \
477 #define KL2(x0, x1, x2, x3, x4, i) \ argument
484 pxor RK3, x3 ## 1; \
490 pxor x3 ## 1, x2 ## 1; \
497 pxor RK3, x3 ## 2; \
503 pxor x3 ## 2, x2 ## 2; \
504 pxor x3 ## 1, x0 ## 1; \
513 pxor x3 ## 2, x0 ## 2; \
522 movdqa x3 ## 1, x4 ## 1; \
523 psrld $7, x3 ## 1; \
525 por x4 ## 1, x3 ## 1; \
529 pxor x4 ## 1, x3 ## 1; \
531 movdqa x3 ## 2, x4 ## 2; \
532 psrld $7, x3 ## 2; \
534 por x4 ## 2, x3 ## 2; \
538 pxor x4 ## 2, x3 ## 2; \
544 pxor x2 ## 1, x3 ## 1; \
553 pxor x2 ## 2, x3 ## 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); \
575 #define transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \ argument
580 punpckhdq x3, x2; \
581 punpckldq x3, t1; \
585 movdqa t2, x3; \
587 punpckhqdq x2, x3; \
590 #define read_blocks(in, x0, x1, x2, x3, t0, t1, t2) \ argument
594 movdqu (3*4*4)(in), x3; \
596 transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
598 #define write_blocks(out, x0, x1, x2, x3, t0, t1, t2) \ argument
599 transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \
604 movdqu x3, (3*4*4)(out);
606 #define xor_blocks(out, x0, x1, x2, x3, t0, t1, t2) \ argument
607 transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \
619 pxor t0, x3; \
620 movdqu x3, (3*4*4)(out);