Lines Matching refs:X2
663 #define AES_FROUND(X0,X1,X2,X3,Y0,Y1,Y2,Y3) \ argument
675 X2 = *RK++ ^ FT0[ ( Y2 ) & 0xFF ] ^ \
686 #define AES_RROUND(X0,X1,X2,X3,Y0,Y1,Y2,Y3) \ argument
698 X2 = *RK++ ^ RT0[ ( Y2 ) & 0xFF ] ^ \
718 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in mbedtls_aes_encrypt() local
724 GET_UINT32_LE( X2, input, 8 ); X2 ^= *RK++; in mbedtls_aes_encrypt()
729 AES_FROUND( Y0, Y1, Y2, Y3, X0, X1, X2, X3 ); in mbedtls_aes_encrypt()
730 AES_FROUND( X0, X1, X2, X3, Y0, Y1, Y2, Y3 ); in mbedtls_aes_encrypt()
733 AES_FROUND( Y0, Y1, Y2, Y3, X0, X1, X2, X3 ); in mbedtls_aes_encrypt()
747 X2 = *RK++ ^ \ in mbedtls_aes_encrypt()
761 PUT_UINT32_LE( X2, output, 8 ); in mbedtls_aes_encrypt()
775 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in mbedtls_aes_decrypt() local
781 GET_UINT32_LE( X2, input, 8 ); X2 ^= *RK++; in mbedtls_aes_decrypt()
786 AES_RROUND( Y0, Y1, Y2, Y3, X0, X1, X2, X3 ); in mbedtls_aes_decrypt()
787 AES_RROUND( X0, X1, X2, X3, Y0, Y1, Y2, Y3 ); in mbedtls_aes_decrypt()
790 AES_RROUND( Y0, Y1, Y2, Y3, X0, X1, X2, X3 ); in mbedtls_aes_decrypt()
804 X2 = *RK++ ^ \ in mbedtls_aes_decrypt()
818 PUT_UINT32_LE( X2, output, 8 ); in mbedtls_aes_decrypt()