Lines Matching +full:4 +full:x2
41 uint64_t x0, x1, x2, x3, x4, x5, x6, x7; in br_aes_ct64_bitslice_Sbox() local
58 x2 = q[5]; in br_aes_ct64_bitslice_Sbox()
59 x3 = q[4]; in br_aes_ct64_bitslice_Sbox()
72 t0 = x1 ^ x2; in br_aes_ct64_bitslice_Sbox()
197 q[4] = s3; in br_aes_ct64_bitslice_Sbox()
218 #define SWAP8(x, y) SWAPN(0x0F0F0F0F0F0F0F0F, 0xF0F0F0F0F0F0F0F0, 4, x, y) in br_aes_ct64_ortho()
222 SWAP2(q[4], q[5]); in br_aes_ct64_ortho()
227 SWAP4(q[4], q[6]); in br_aes_ct64_ortho()
230 SWAP8(q[0], q[4]); in br_aes_ct64_ortho()
240 uint64_t x0, x1, x2, x3; in br_aes_ct64_interleave_in() local
244 x2 = w[2]; in br_aes_ct64_interleave_in()
248 x2 |= (x2 << 16); in br_aes_ct64_interleave_in()
252 x2 &= (uint64_t)0x0000FFFF0000FFFF; in br_aes_ct64_interleave_in()
256 x2 |= (x2 << 8); in br_aes_ct64_interleave_in()
260 x2 &= (uint64_t)0x00FF00FF00FF00FF; in br_aes_ct64_interleave_in()
262 *q0 = x0 | (x2 << 8); in br_aes_ct64_interleave_in()
270 uint64_t x0, x1, x2, x3; in br_aes_ct64_interleave_out() local
274 x2 = (q0 >> 8) & (uint64_t)0x00FF00FF00FF00FF; in br_aes_ct64_interleave_out()
278 x2 |= (x2 >> 8); in br_aes_ct64_interleave_out()
282 x2 &= (uint64_t)0x0000FFFF0000FFFF; in br_aes_ct64_interleave_out()
286 w[2] = (uint32_t)x2 | (uint32_t)(x2 >> 16); in br_aes_ct64_interleave_out()
338 } else if (nk > 6 && j == 4) { in br_aes_ct64_keysched()
349 for (i = 0, j = 0; i < nkf; i += 4, j += 2) { in br_aes_ct64_keysched()
352 br_aes_ct64_interleave_in(&q[0], &q[4], skey + i); in br_aes_ct64_keysched()
356 q[5] = q[4]; in br_aes_ct64_keysched()
357 q[6] = q[4]; in br_aes_ct64_keysched()
358 q[7] = q[4]; in br_aes_ct64_keysched()
366 (q[4] & (uint64_t)0x1111111111111111) in br_aes_ct64_keysched()
382 for (u = 0, v = 0; u < n; u ++, v += 4) { in br_aes_ct64_skey_expand()
383 uint64_t x0, x1, x2, x3; in br_aes_ct64_skey_expand() local
385 x0 = x1 = x2 = x3 = comp_skey[u]; in br_aes_ct64_skey_expand()
388 x2 &= (uint64_t)0x4444444444444444; in br_aes_ct64_skey_expand()
391 x2 >>= 2; in br_aes_ct64_skey_expand()
393 skey[v + 0] = (x0 << 4) - x0; in br_aes_ct64_skey_expand()
394 skey[v + 1] = (x1 << 4) - x1; in br_aes_ct64_skey_expand()
395 skey[v + 2] = (x2 << 4) - x2; in br_aes_ct64_skey_expand()
396 skey[v + 3] = (x3 << 4) - x3; in br_aes_ct64_skey_expand()