Lines Matching refs:x3
56 #define S0_1(x0, x1, x2, x3, x4) \ argument
57 movdqa x3, x4; \
58 por x0, x3; \
62 pxor x1, x3; \
66 #define S0_2(x0, x1, x2, x3, x4) \ argument
67 pxor x3, x0; \
71 pxor x2, x3; \
76 #define S1_1(x0, x1, x2, x3, x4) \ argument
79 pxor x3, x0; \
80 pxor RNOT, x3; \
83 pxor x2, x3; \
84 pxor x3, x0; \
85 pxor x3, x1;
86 #define S1_2(x0, x1, x2, x3, x4) \ argument
87 pxor x4, x3; \
97 #define S2_1(x0, x1, x2, x3, x4) \ argument
98 pxor RNOT, x3; \
102 pxor x3, x0; \
103 por x4, x3; \
105 pxor x1, x3; \
107 #define S2_2(x0, x1, x2, x3, x4) \ argument
109 pand x3, x2; \
110 por x1, x3; \
112 pxor x0, x3; \
117 #define S3_1(x0, x1, x2, x3, x4) \ argument
119 pxor x3, x1; \
120 por x0, x3; \
124 pand x3, x1; \
125 pxor x3, x2; \
127 pxor x3, x4;
128 #define S3_2(x0, x1, x2, x3, x4) \ argument
130 pand x3, x0; \
131 pand x4, x3; \
132 pxor x2, x3; \
135 pxor x3, x4; \
136 pxor x3, x0; \
137 pxor x2, x3;
139 #define S4_1(x0, x1, x2, x3, x4) \ argument
140 movdqa x3, x4; \
141 pand x0, x3; \
143 pxor x2, x3; \
146 pxor x3, x4; \
149 #define S4_2(x0, x1, x2, x3, x4) \ argument
153 pxor x3, x2; \
155 por x1, x3; \
157 pxor x0, x3;
159 #define S5_1(x0, x1, x2, x3, x4) \ argument
163 pxor RNOT, x3; \
167 por x3, x4; \
169 #define S5_2(x0, x1, x2, x3, x4) \ argument
170 pand x3, x0; \
171 pxor x3, x1; \
172 pxor x2, x3; \
177 pxor x2, x3;
179 #define S6_1(x0, x1, x2, x3, x4) \ argument
181 pxor x0, x3; \
184 pand x3, x0; \
185 por x3, x1; \
189 #define S6_2(x0, x1, x2, x3, x4) \ argument
190 pxor x4, x3; \
194 pxor x3, x2; \
195 pand x1, x3; \
196 pxor x0, x3; \
199 #define S7_1(x0, x1, x2, x3, x4) \ argument
204 pxor x3, x1; \
205 por x4, x3; \
207 pxor x3, x2; \
208 pxor x0, x3; \
210 #define S7_2(x0, x1, x2, x3, x4) \ argument
213 pxor x3, x4; \
214 pand x0, x3; \
217 pxor x1, x3; \
221 #define SI0_1(x0, x1, x2, x3, x4) \ argument
222 movdqa x3, x4; \
224 por x1, x3; \
227 pxor x3, x2; \
228 pxor x0, x3; \
231 #define SI0_2(x0, x1, x2, x3, x4) \ argument
232 pand x3, x2; \
233 pxor x4, x3; \
234 pxor x3, x2; \
235 pxor x3, x1; \
236 pand x0, x3; \
239 pxor x3, x4;
241 #define SI1_1(x0, x1, x2, x3, x4) \ argument
242 pxor x3, x1; \
247 pxor x3, x4; \
248 pand x1, x3; \
251 #define SI1_2(x0, x1, x2, x3, x4) \ argument
253 por x3, x1; \
254 pxor x0, x3; \
261 #define SI2_1(x0, x1, x2, x3, x4) \ argument
263 movdqa x3, x4; \
264 pxor RNOT, x3; \
265 por x2, x3; \
268 pxor x1, x3; \
271 #define SI2_2(x0, x1, x2, x3, x4) \ argument
273 por x3, x4; \
274 pxor x3, x2; \
277 pxor x3, x2; \
278 pxor x4, x3; \
281 #define SI3_1(x0, x1, x2, x3, x4) \ argument
287 pxor x3, x4; \
288 pxor x3, x0; \
289 por x1, x3; \
291 #define SI3_2(x0, x1, x2, x3, x4) \ argument
292 pxor x3, x1; \
294 pxor x3, x2; \
295 pand x1, x3; \
298 pxor x3, x4; \
299 pxor x0, x3; \
302 #define SI4_1(x0, x1, x2, x3, x4) \ argument
303 pxor x3, x2; \
307 por x3, x2; \
312 #define SI4_2(x0, x1, x2, x3, x4) \ argument
315 pxor x3, x0; \
316 pand x2, x3; \
317 pxor x3, x4; \
318 pxor x1, x3; \
321 pxor x3, x0;
323 #define SI5_1(x0, x1, x2, x3, x4) \ argument
327 pxor x3, x1; \
328 pand x4, x3; \
329 pxor x3, x2; \
330 por x0, x3; \
332 pxor x2, x3; \
334 #define SI5_2(x0, x1, x2, x3, x4) \ argument
339 pxor x3, x1; \
341 pxor x3, x2; \
344 pxor x3, x4;
346 #define SI6_1(x0, x1, x2, x3, x4) \ argument
349 pand x3, x0; \
350 pxor x3, x2; \
352 pxor x1, x3; \
354 pxor x3, x2; \
355 pand x0, x3;
356 #define SI6_2(x0, x1, x2, x3, x4) \ argument
358 pxor x1, x3; \
361 pxor x4, x3; \
366 #define SI7_1(x0, x1, x2, x3, x4) \ argument
367 movdqa x3, x4; \
368 pand x0, x3; \
373 por x3, x1; \
377 #define SI7_2(x0, x1, x2, x3, x4) \ argument
379 pxor x2, x3; \
380 pxor x3, x4; \
381 pand x3, x2; \
382 por x0, x3; \
384 pxor x4, x3; \
392 #define K2(x0, x1, x2, x3, x4, i) \ argument
400 pxor RK3, x3 ## 1; \
404 pxor RK3, x3 ## 2;
406 #define LK2(x0, x1, x2, x3, x4, i) \ argument
433 pxor x2 ## 1, x3 ## 1; \
434 pxor x4 ## 1, x3 ## 1; \
435 movdqa x3 ## 1, x4 ## 1; \
443 pxor x2 ## 2, x3 ## 2; \
444 pxor x4 ## 2, x3 ## 2; \
445 movdqa x3 ## 2, x4 ## 2; \
447 pslld $7, x3 ## 1; \
449 por x4 ## 1, x3 ## 1; \
453 pxor x3 ## 1, x0 ## 1; \
454 pxor x3 ## 1, x2 ## 1; \
457 pslld $7, x3 ## 2; \
459 por x4 ## 2, x3 ## 2; \
463 pxor x3 ## 2, x0 ## 2; \
464 pxor x3 ## 2, x2 ## 2; \
468 pxor RK3, x3 ## 1; \
480 pxor RK3, x3 ## 2; \
492 #define KL2(x0, x1, x2, x3, x4, i) \ argument
499 pxor RK3, x3 ## 1; \
505 pxor x3 ## 1, x2 ## 1; \
512 pxor RK3, x3 ## 2; \
518 pxor x3 ## 2, x2 ## 2; \
519 pxor x3 ## 1, x0 ## 1; \
528 pxor x3 ## 2, x0 ## 2; \
537 movdqa x3 ## 1, x4 ## 1; \
538 psrld $7, x3 ## 1; \
540 por x4 ## 1, x3 ## 1; \
544 pxor x4 ## 1, x3 ## 1; \
546 movdqa x3 ## 2, x4 ## 2; \
547 psrld $7, x3 ## 2; \
549 por x4 ## 2, x3 ## 2; \
553 pxor x4 ## 2, x3 ## 2; \
559 pxor x2 ## 1, x3 ## 1; \
568 pxor x2 ## 2, x3 ## 2; \
574 #define S(SBOX, x0, x1, x2, x3, x4) \ argument
575 SBOX ## _1(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
576 SBOX ## _2(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
577 SBOX ## _1(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
578 SBOX ## _2(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2);
580 #define SP(SBOX, x0, x1, x2, x3, x4, i) \ argument
582 SBOX ## _1(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
584 SBOX ## _1(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
586 SBOX ## _2(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
588 SBOX ## _2(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
590 #define transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \ argument
595 punpckhdq x3, x2; \
596 punpckldq x3, t1; \
600 movdqa t2, x3; \
602 punpckhqdq x2, x3; \
605 #define read_blocks(in, x0, x1, x2, x3, t0, t1, t2) \ argument
609 movdqu (3*4*4)(in), x3; \
611 transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
613 #define write_blocks(out, x0, x1, x2, x3, t0, t1, t2) \ argument
614 transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \
619 movdqu x3, (3*4*4)(out);
621 #define xor_blocks(out, x0, x1, x2, x3, t0, t1, t2) \ argument
622 transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \
634 pxor t0, x3; \
635 movdqu x3, (3*4*4)(out);