Lines Matching refs:Y2

642 #define AES_FROUND(X0, X1, X2, X3, Y0, Y1, Y2, Y3)            \  argument
645 FT2[(Y2 >> 16) & 0xFF] ^ FT3[(Y3 >> 24) & 0xFF]; \
647 X1 = *RK++ ^ FT0[(Y1) & 0xFF] ^ FT1[(Y2 >> 8) & 0xFF] ^ \
650 X2 = *RK++ ^ FT0[(Y2) & 0xFF] ^ FT1[(Y3 >> 8) & 0xFF] ^ \
654 FT2[(Y1 >> 16) & 0xFF] ^ FT3[(Y2 >> 24) & 0xFF]; \
657 #define AES_RROUND(X0, X1, X2, X3, Y0, Y1, Y2, Y3) \ argument
660 RT2[(Y2 >> 16) & 0xFF] ^ RT3[(Y1 >> 24) & 0xFF]; \
663 RT2[(Y3 >> 16) & 0xFF] ^ RT3[(Y2 >> 24) & 0xFF]; \
665 X2 = *RK++ ^ RT0[(Y2) & 0xFF] ^ RT1[(Y1 >> 8) & 0xFF] ^ \
668 X3 = *RK++ ^ RT0[(Y3) & 0xFF] ^ RT1[(Y2 >> 8) & 0xFF] ^ \
681 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in infra_aes_internal_aes_encrypt() local
695 AES_FROUND(Y0, Y1, Y2, Y3, X0, X1, X2, X3); in infra_aes_internal_aes_encrypt()
696 AES_FROUND(X0, X1, X2, X3, Y0, Y1, Y2, Y3); in infra_aes_internal_aes_encrypt()
699 AES_FROUND(Y0, Y1, Y2, Y3, X0, X1, X2, X3); in infra_aes_internal_aes_encrypt()
703 ((uint32_t)FSb[(Y2 >> 16) & 0xFF] << 16) ^ in infra_aes_internal_aes_encrypt()
707 ((uint32_t)FSb[(Y2 >> 8) & 0xFF] << 8) ^ in infra_aes_internal_aes_encrypt()
711 X2 = *RK++ ^ ((uint32_t)FSb[(Y2) & 0xFF]) ^ in infra_aes_internal_aes_encrypt()
719 ((uint32_t)FSb[(Y2 >> 24) & 0xFF] << 24); in infra_aes_internal_aes_encrypt()
739 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in infra_aes_internal_aes_decrypt() local
753 AES_RROUND(Y0, Y1, Y2, Y3, X0, X1, X2, X3); in infra_aes_internal_aes_decrypt()
754 AES_RROUND(X0, X1, X2, X3, Y0, Y1, Y2, Y3); in infra_aes_internal_aes_decrypt()
757 AES_RROUND(Y0, Y1, Y2, Y3, X0, X1, X2, X3); in infra_aes_internal_aes_decrypt()
761 ((uint32_t)RSb[(Y2 >> 16) & 0xFF] << 16) ^ in infra_aes_internal_aes_decrypt()
767 ((uint32_t)RSb[(Y2 >> 24) & 0xFF] << 24); in infra_aes_internal_aes_decrypt()
769 X2 = *RK++ ^ ((uint32_t)RSb[(Y2) & 0xFF]) ^ in infra_aes_internal_aes_decrypt()
775 ((uint32_t)RSb[(Y2 >> 8) & 0xFF] << 8) ^ in infra_aes_internal_aes_decrypt()