• Home
  • Raw
  • Download

Lines Matching refs:x3

438     EXPAND_ASSIST(x0, x1, x2, x3, 85, aes_const);                                                  \
439 x3 = _mm_xor_si128(x3, _mm_slli_si128(x3, 4)); \
440 x3 = _mm_xor_si128(x3, _mm_shuffle_epi32(x0, 255)); \
443 _mm_castps_si128(_mm_shuffle_ps(_mm_castsi128_ps(x0), _mm_castsi128_ps(x3), 78)); \
444 EXPAND_ASSIST(x0, x1, x2, x3, 85, (aes_const * 2)); \
445 x3 = _mm_xor_si128(x3, _mm_slli_si128(x3, 4)); \
446 x3 = _mm_xor_si128(x3, _mm_shuffle_epi32(x0, 255)); \
448 tmp = x3
478 __m128i x0, x1, x2, x3, tmp, *kp = (__m128i*)key; in AES_192_Key_Expansion() local
480 tmp = x3 = _mm_loadu_si128((__m128i*)(userkey + 16)); in AES_192_Key_Expansion()
489 __m128i x0, x1, x2, x3, *kp = (__m128i*)key; in AES_256_Key_Expansion() local
491 kp[1] = x3 = _mm_loadu_si128((__m128i*)(userkey + 16)); in AES_256_Key_Expansion()
493 EXPAND_ASSIST(x0, x1, x2, x3, 255, 1); in AES_256_Key_Expansion()
495 EXPAND_ASSIST(x3, x1, x2, x0, 170, 1); in AES_256_Key_Expansion()
496 kp[3] = x3; in AES_256_Key_Expansion()
497 EXPAND_ASSIST(x0, x1, x2, x3, 255, 2); in AES_256_Key_Expansion()
499 EXPAND_ASSIST(x3, x1, x2, x0, 170, 2); in AES_256_Key_Expansion()
500 kp[5] = x3; in AES_256_Key_Expansion()
501 EXPAND_ASSIST(x0, x1, x2, x3, 255, 4); in AES_256_Key_Expansion()
503 EXPAND_ASSIST(x3, x1, x2, x0, 170, 4); in AES_256_Key_Expansion()
504 kp[7] = x3; in AES_256_Key_Expansion()
505 EXPAND_ASSIST(x0, x1, x2, x3, 255, 8); in AES_256_Key_Expansion()
507 EXPAND_ASSIST(x3, x1, x2, x0, 170, 8); in AES_256_Key_Expansion()
508 kp[9] = x3; in AES_256_Key_Expansion()
509 EXPAND_ASSIST(x0, x1, x2, x3, 255, 16); in AES_256_Key_Expansion()
511 EXPAND_ASSIST(x3, x1, x2, x0, 170, 16); in AES_256_Key_Expansion()
512 kp[11] = x3; in AES_256_Key_Expansion()
513 EXPAND_ASSIST(x0, x1, x2, x3, 255, 32); in AES_256_Key_Expansion()
515 EXPAND_ASSIST(x3, x1, x2, x0, 170, 32); in AES_256_Key_Expansion()
516 kp[13] = x3; in AES_256_Key_Expansion()
517 EXPAND_ASSIST(x0, x1, x2, x3, 255, 64); in AES_256_Key_Expansion()