Lines Matching refs:x1
51 #define S0_1(x0, x1, x2, x3, x4) \ argument
56 vpxor x1, tp, x3; \
57 vpand x0, x1, x1; \
58 vpxor x4, x1, x1; \
60 #define S0_2(x0, x1, x2, x3, x4) \ argument
64 vpand x1, x2, x2; \
66 vpxor RNOT, x1, x1; \
68 vpxor x2, x1, x1;
70 #define S1_1(x0, x1, x2, x3, x4) \ argument
71 vpxor x0, x1, tp; \
74 vpand tp, x1, x4; \
78 vpxor x3, tp, x1;
79 #define S1_2(x0, x1, x2, x3, x4) \ argument
81 vpor x4, x1, x1; \
84 vpxor x1, x2, x2; \
85 vpor x0, x1, x1; \
88 vpxor x1, x4, x4;
90 #define S2_1(x0, x1, x2, x3, x4) \ argument
92 vpxor x0, x1, x1; \
96 vpxor x1, x2, x2; \
97 vpxor x1, x3, x3; \
98 vpand tp, x1, x1;
99 #define S2_2(x0, x1, x2, x3, x4) \ argument
102 vpor x1, x3, x3; \
107 vpor x2, x1, x1;
109 #define S3_1(x0, x1, x2, x3, x4) \ argument
110 vpxor x3, x1, tp; \
112 vpand x0, x1, x4; \
115 vpand x3, tp, x1; \
119 #define S3_2(x0, x1, x2, x3, x4) \ argument
120 vpxor x0, x1, x1; \
124 vpor x1, x4, x4; \
125 vpand x1, x2, x2; \
130 #define S4_1(x0, x1, x2, x3, x4) \ argument
135 vpxor x1, x0, x0; \
138 vpxor x1, x2, x2;
139 #define S4_2(x0, x1, x2, x3, x4) \ argument
140 vpand x0, x1, x1; \
141 vpxor x4, x1, x1; \
145 vpor x1, tp, x3; \
146 vpxor RNOT, x1, x1; \
149 #define S5_1(x0, x1, x2, x3, x4) \ argument
150 vpor x0, x1, tp; \
153 vpxor x0, x1, x4; \
155 vpand x4, tp, x1; \
158 #define S5_2(x0, x1, x2, x3, x4) \ argument
160 vpxor x3, x1, x1; \
162 vpxor x1, x0, x0; \
164 vpxor x2, x1, x1; \
168 #define S6_1(x0, x1, x2, x3, x4) \ argument
170 vpxor x2, x1, tp; \
174 vpxor RNOT, x1, x4; \
176 vpxor x2, tp, x1;
177 #define S6_2(x0, x1, x2, x3, x4) \ argument
181 vpxor x1, x4, x4; \
183 vpand x1, x3, x3; \
185 vpxor x2, x1, x1;
187 #define S7_1(x0, x1, x2, x3, x4) \ argument
188 vpxor RNOT, x1, tp; \
190 vpand x2, tp, x1; \
191 vpxor x3, x1, x1; \
196 vpor x1, x0, x0;
197 #define S7_2(x0, x1, x2, x3, x4) \ argument
202 vpxor x1, x4, x4; \
204 vpxor x1, x3, x3; \
206 vpxor x1, x4, x4;
208 #define SI0_1(x0, x1, x2, x3, x4) \ argument
209 vpxor x0, x1, x1; \
210 vpor x1, x3, tp; \
211 vpxor x1, x3, x4; \
215 vpand x1, x0, x0; \
217 #define SI0_2(x0, x1, x2, x3, x4) \ argument
221 vpxor x3, x1, x1; \
223 vpxor x0, x1, x1; \
227 #define SI1_1(x0, x1, x2, x3, x4) \ argument
228 vpxor x3, x1, x1; \
231 vpor x1, x0, x4; \
233 vpand x1, x3, x3; \
234 vpxor x2, x1, x1; \
236 #define SI1_2(x0, x1, x2, x3, x4) \ argument
237 vpxor x1, x4, x4; \
238 vpor x3, x1, x1; \
243 vpxor x0, x1, x1; \
244 vpxor x1, x4, x4;
246 #define SI2_1(x0, x1, x2, x3, x4) \ argument
247 vpxor x1, x2, x2; \
252 vpxor x1, tp, x3; \
253 vpor x2, x1, x1; \
255 #define SI2_2(x0, x1, x2, x3, x4) \ argument
256 vpxor x4, x1, x1; \
260 vpand x1, x2, x2; \
265 #define SI3_1(x0, x1, x2, x3, x4) \ argument
266 vpxor x1, x2, x2; \
267 vpand x2, x1, tp; \
269 vpor x1, x0, x0; \
270 vpxor x3, x1, x4; \
273 vpxor x2, tp, x1;
274 #define SI3_2(x0, x1, x2, x3, x4) \ argument
275 vpxor x3, x1, x1; \
278 vpand x1, x3, x3; \
279 vpxor x0, x1, x1; \
283 vpxor x1, x0, x0;
285 #define SI4_1(x0, x1, x2, x3, x4) \ argument
287 vpand x1, x0, tp; \
291 vpxor tp, x1, x1; \
294 #define SI4_2(x0, x1, x2, x3, x4) \ argument
300 vpxor x1, x3, x3; \
301 vpand x0, x1, x1; \
302 vpxor x1, x4, x4; \
305 #define SI5_1(x0, x1, x2, x3, x4) \ argument
306 vpor x2, x1, tp; \
307 vpxor x1, x2, x2; \
309 vpand x1, x3, x3; \
315 #define SI5_2(x0, x1, x2, x3, x4) \ argument
316 vpxor tp, x1, x4; \
320 vpxor x3, tp, x1; \
327 #define SI6_1(x0, x1, x2, x3, x4) \ argument
332 vpxor x1, x3, x3; \
336 #define SI6_2(x0, x1, x2, x3, x4) \ argument
338 vpxor x1, x3, x3; \
339 vpand x2, x1, x1; \
343 vpxor x1, tp, x0; \
346 #define SI7_1(x0, x1, x2, x3, x4) \ argument
350 vpxor x1, x3, x4; \
352 vpor tp, x1, x1; \
355 vpxor x1, x0, x0;
356 #define SI7_2(x0, x1, x2, x3, x4) \ argument
357 vpand x2, x1, x1; \
362 vpxor x4, x1, x1; \
370 #define K2(x0, x1, x2, x3, x4, i) \ argument
376 vpxor RK1, x1 ## 1, x1 ## 1; \
380 vpxor RK1, x1 ## 2, x1 ## 2; \
384 #define LK2(x0, x1, x2, x3, x4, i) \ argument
388 vpxor x0 ## 1, x1 ## 1, x1 ## 1; \
392 vpxor x2 ## 1, x1 ## 1, x1 ## 1; \
396 vpxor x0 ## 2, x1 ## 2, x1 ## 2; \
400 vpxor x2 ## 2, x1 ## 2, x1 ## 2; \
401 vpslld $1, x1 ## 1, x4 ## 1; \
402 vpsrld $(32 - 1), x1 ## 1, x1 ## 1; \
403 vpor x4 ## 1, x1 ## 1, x1 ## 1; \
408 vpslld $1, x1 ## 2, x4 ## 2; \
409 vpsrld $(32 - 1), x1 ## 2, x1 ## 2; \
410 vpor x4 ## 2, x1 ## 2, x1 ## 2; \
418 vpslld $7, x1 ## 1, x4 ## 1; \
419 vpxor x1 ## 1, x0 ## 1, x0 ## 1; \
427 vpslld $7, x1 ## 2, x4 ## 2; \
428 vpxor x1 ## 2, x0 ## 2, x0 ## 2; \
433 vpxor RK1, x1 ## 1, x1 ## 1; \
443 vpxor RK1, x1 ## 2, x1 ## 2; \
454 #define KL2(x0, x1, x2, x3, x4, i) \ argument
461 vpxor RK1, x1 ## 1, x1 ## 1; \
472 vpxor RK1, x1 ## 2, x1 ## 2; \
478 vpslld $7, x1 ## 1, x4 ## 1; \
479 vpxor x1 ## 1, x0 ## 1, x0 ## 1; \
481 vpsrld $1, x1 ## 1, x4 ## 1; \
482 vpslld $(32 - 1), x1 ## 1, x1 ## 1; \
483 vpor x4 ## 1, x1 ## 1, x1 ## 1; \
485 vpslld $7, x1 ## 2, x4 ## 2; \
486 vpxor x1 ## 2, x0 ## 2, x0 ## 2; \
488 vpsrld $1, x1 ## 2, x4 ## 2; \
489 vpslld $(32 - 1), x1 ## 2, x1 ## 2; \
490 vpor x4 ## 2, x1 ## 2, x1 ## 2; \
494 vpxor x0 ## 1, x1 ## 1, x1 ## 1; \
500 vpxor x0 ## 2, x1 ## 2, x1 ## 2; \
506 vpxor x2 ## 1, x1 ## 1, x1 ## 1; \
514 vpxor x2 ## 2, x1 ## 2, x1 ## 2; \
520 #define S(SBOX, x0, x1, x2, x3, x4) \ argument
521 SBOX ## _1(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
522 SBOX ## _2(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
523 SBOX ## _1(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
524 SBOX ## _2(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2);
526 #define SP(SBOX, x0, x1, x2, x3, x4, i) \ argument
528 SBOX ## _1(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
530 SBOX ## _2(x0 ## 1, x1 ## 1, x2 ## 1, x3 ## 1, x4 ## 1); \
532 SBOX ## _1(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
534 SBOX ## _2(x0 ## 2, x1 ## 2, x2 ## 2, x3 ## 2, x4 ## 2); \
536 #define transpose_4x4(x0, x1, x2, x3, t0, t1, t2) \ argument
537 vpunpckldq x1, x0, t0; \
538 vpunpckhdq x1, x0, t2; \
543 vpunpckhqdq t1, t0, x1; \
547 #define read_blocks(x0, x1, x2, x3, t0, t1, t2) \ argument
548 transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
550 #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ argument
551 transpose_4x4(x0, x1, x2, x3, t0, t1, t2)