Lines Matching refs:Y3
663 #define AES_FROUND(X0,X1,X2,X3,Y0,Y1,Y2,Y3) \ argument
668 FT3[ ( Y3 >> 24 ) & 0xFF ]; \
672 FT2[ ( Y3 >> 16 ) & 0xFF ] ^ \
676 FT1[ ( Y3 >> 8 ) & 0xFF ] ^ \
680 X3 = *RK++ ^ FT0[ ( Y3 ) & 0xFF ] ^ \
686 #define AES_RROUND(X0,X1,X2,X3,Y0,Y1,Y2,Y3) \ argument
689 RT1[ ( Y3 >> 8 ) & 0xFF ] ^ \
695 RT2[ ( Y3 >> 16 ) & 0xFF ] ^ \
701 RT3[ ( Y3 >> 24 ) & 0xFF ]; \
703 X3 = *RK++ ^ RT0[ ( Y3 ) & 0xFF ] ^ \
718 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in mbedtls_aes_encrypt() local
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()
739 ( (uint32_t) FSb[ ( Y3 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_encrypt()
744 ( (uint32_t) FSb[ ( Y3 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_encrypt()
749 ( (uint32_t) FSb[ ( Y3 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_encrypt()
754 ( (uint32_t) FSb[ ( Y3 ) & 0xFF ] ) ^ in mbedtls_aes_encrypt()
775 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in mbedtls_aes_decrypt() local
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()
794 ( (uint32_t) RSb[ ( Y3 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_decrypt()
801 ( (uint32_t) RSb[ ( Y3 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_decrypt()
808 ( (uint32_t) RSb[ ( Y3 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_decrypt()
811 ( (uint32_t) RSb[ ( Y3 ) & 0xFF ] ) ^ in mbedtls_aes_decrypt()