Lines Matching refs:kp
441 kp[idx] = _mm_castps_si128(_mm_shuffle_ps(_mm_castsi128_ps(tmp), _mm_castsi128_ps(x0), 68)); \
442 kp[idx + 1] = \
447 kp[idx + 2] = x0; \
452 __m128i* kp = (__m128i*)key; in AES_128_Key_Expansion() local
453 kp[0] = x0 = _mm_loadu_si128((__m128i*)userkey); in AES_128_Key_Expansion()
456 kp[1] = x0; in AES_128_Key_Expansion()
458 kp[2] = x0; in AES_128_Key_Expansion()
460 kp[3] = x0; in AES_128_Key_Expansion()
462 kp[4] = x0; in AES_128_Key_Expansion()
464 kp[5] = x0; in AES_128_Key_Expansion()
466 kp[6] = x0; in AES_128_Key_Expansion()
468 kp[7] = x0; in AES_128_Key_Expansion()
470 kp[8] = x0; in AES_128_Key_Expansion()
472 kp[9] = x0; in AES_128_Key_Expansion()
474 kp[10] = x0; in AES_128_Key_Expansion()
478 __m128i x0, x1, x2, x3, tmp, *kp = (__m128i*)key; in AES_192_Key_Expansion() local
479 kp[0] = x0 = _mm_loadu_si128((__m128i*)userkey); in AES_192_Key_Expansion()
489 __m128i x0, x1, x2, x3, *kp = (__m128i*)key; in AES_256_Key_Expansion() local
490 kp[0] = x0 = _mm_loadu_si128((__m128i*)userkey); in AES_256_Key_Expansion()
491 kp[1] = x3 = _mm_loadu_si128((__m128i*)(userkey + 16)); in AES_256_Key_Expansion()
494 kp[2] = x0; in AES_256_Key_Expansion()
496 kp[3] = x3; in AES_256_Key_Expansion()
498 kp[4] = x0; in AES_256_Key_Expansion()
500 kp[5] = x3; in AES_256_Key_Expansion()
502 kp[6] = x0; in AES_256_Key_Expansion()
504 kp[7] = x3; in AES_256_Key_Expansion()
506 kp[8] = x0; in AES_256_Key_Expansion()
508 kp[9] = x3; in AES_256_Key_Expansion()
510 kp[10] = x0; in AES_256_Key_Expansion()
512 kp[11] = x3; in AES_256_Key_Expansion()
514 kp[12] = x0; in AES_256_Key_Expansion()
516 kp[13] = x3; in AES_256_Key_Expansion()
518 kp[14] = x0; in AES_256_Key_Expansion()