Lines Matching refs:uint32_t

68     (n) = ( (uint32_t) (b)[(i)    ]       )             \
69 | ( (uint32_t) (b)[(i) + 1] << 8 ) \
70 | ( (uint32_t) (b)[(i) + 2] << 16 ) \
71 | ( (uint32_t) (b)[(i) + 3] << 24 ); \
201 static const uint32_t FT0[256] = { FT };
205 static const uint32_t FT1[256] = { FT };
209 static const uint32_t FT2[256] = { FT };
213 static const uint32_t FT3[256] = { FT };
328 static const uint32_t RT0[256] = { RT };
332 static const uint32_t RT1[256] = { RT };
336 static const uint32_t RT2[256] = { RT };
340 static const uint32_t RT3[256] = { RT };
348 static const uint32_t RCON[10] =
361 static uint32_t FT0[256];
362 static uint32_t FT1[256];
363 static uint32_t FT2[256];
364 static uint32_t FT3[256];
370 static uint32_t RT0[256];
371 static uint32_t RT1[256];
372 static uint32_t RT2[256];
373 static uint32_t RT3[256];
378 static uint32_t RCON[10];
410 RCON[i] = (uint32_t) x; in aes_gen_tables()
443 FT0[i] = ( (uint32_t) y ) ^ in aes_gen_tables()
444 ( (uint32_t) x << 8 ) ^ in aes_gen_tables()
445 ( (uint32_t) x << 16 ) ^ in aes_gen_tables()
446 ( (uint32_t) z << 24 ); in aes_gen_tables()
454 RT0[i] = ( (uint32_t) MUL( 0x0E, x ) ) ^ in aes_gen_tables()
455 ( (uint32_t) MUL( 0x09, x ) << 8 ) ^ in aes_gen_tables()
456 ( (uint32_t) MUL( 0x0D, x ) << 16 ) ^ in aes_gen_tables()
457 ( (uint32_t) MUL( 0x0B, x ) << 24 ); in aes_gen_tables()
488 uint32_t *RK; in mbedtls_aes_setkey_enc()
534 ( (uint32_t) FSb[ ( RK[3] >> 8 ) & 0xFF ] ) ^ in mbedtls_aes_setkey_enc()
535 ( (uint32_t) FSb[ ( RK[3] >> 16 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_setkey_enc()
536 ( (uint32_t) FSb[ ( RK[3] >> 24 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_setkey_enc()
537 ( (uint32_t) FSb[ ( RK[3] ) & 0xFF ] << 24 ); in mbedtls_aes_setkey_enc()
550 ( (uint32_t) FSb[ ( RK[5] >> 8 ) & 0xFF ] ) ^ in mbedtls_aes_setkey_enc()
551 ( (uint32_t) FSb[ ( RK[5] >> 16 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_setkey_enc()
552 ( (uint32_t) FSb[ ( RK[5] >> 24 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_setkey_enc()
553 ( (uint32_t) FSb[ ( RK[5] ) & 0xFF ] << 24 ); in mbedtls_aes_setkey_enc()
568 ( (uint32_t) FSb[ ( RK[7] >> 8 ) & 0xFF ] ) ^ in mbedtls_aes_setkey_enc()
569 ( (uint32_t) FSb[ ( RK[7] >> 16 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_setkey_enc()
570 ( (uint32_t) FSb[ ( RK[7] >> 24 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_setkey_enc()
571 ( (uint32_t) FSb[ ( RK[7] ) & 0xFF ] << 24 ); in mbedtls_aes_setkey_enc()
578 ( (uint32_t) FSb[ ( RK[11] ) & 0xFF ] ) ^ in mbedtls_aes_setkey_enc()
579 ( (uint32_t) FSb[ ( RK[11] >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_setkey_enc()
580 ( (uint32_t) FSb[ ( RK[11] >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_setkey_enc()
581 ( (uint32_t) FSb[ ( RK[11] >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_setkey_enc()
603 uint32_t *RK; in mbedtls_aes_setkey_dec()
604 uint32_t *SK; in mbedtls_aes_setkey_dec()
718 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in mbedtls_aes_encrypt()
736 ( (uint32_t) FSb[ ( Y0 ) & 0xFF ] ) ^ in mbedtls_aes_encrypt()
737 ( (uint32_t) FSb[ ( Y1 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_encrypt()
738 ( (uint32_t) FSb[ ( Y2 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_encrypt()
739 ( (uint32_t) FSb[ ( Y3 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_encrypt()
742 ( (uint32_t) FSb[ ( Y1 ) & 0xFF ] ) ^ in mbedtls_aes_encrypt()
743 ( (uint32_t) FSb[ ( Y2 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_encrypt()
744 ( (uint32_t) FSb[ ( Y3 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_encrypt()
745 ( (uint32_t) FSb[ ( Y0 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_encrypt()
748 ( (uint32_t) FSb[ ( Y2 ) & 0xFF ] ) ^ in mbedtls_aes_encrypt()
749 ( (uint32_t) FSb[ ( Y3 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_encrypt()
750 ( (uint32_t) FSb[ ( Y0 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_encrypt()
751 ( (uint32_t) FSb[ ( Y1 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_encrypt()
754 ( (uint32_t) FSb[ ( Y3 ) & 0xFF ] ) ^ in mbedtls_aes_encrypt()
755 ( (uint32_t) FSb[ ( Y0 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_encrypt()
756 ( (uint32_t) FSb[ ( Y1 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_encrypt()
757 ( (uint32_t) FSb[ ( Y2 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_encrypt()
775 uint32_t *RK, X0, X1, X2, X3, Y0, Y1, Y2, Y3; in mbedtls_aes_decrypt()
793 ( (uint32_t) RSb[ ( Y0 ) & 0xFF ] ) ^ in mbedtls_aes_decrypt()
794 ( (uint32_t) RSb[ ( Y3 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_decrypt()
795 ( (uint32_t) RSb[ ( Y2 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_decrypt()
796 ( (uint32_t) RSb[ ( Y1 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_decrypt()
799 ( (uint32_t) RSb[ ( Y1 ) & 0xFF ] ) ^ in mbedtls_aes_decrypt()
800 ( (uint32_t) RSb[ ( Y0 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_decrypt()
801 ( (uint32_t) RSb[ ( Y3 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_decrypt()
802 ( (uint32_t) RSb[ ( Y2 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_decrypt()
805 ( (uint32_t) RSb[ ( Y2 ) & 0xFF ] ) ^ in mbedtls_aes_decrypt()
806 ( (uint32_t) RSb[ ( Y1 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_decrypt()
807 ( (uint32_t) RSb[ ( Y0 >> 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()
812 ( (uint32_t) RSb[ ( Y2 >> 8 ) & 0xFF ] << 8 ) ^ in mbedtls_aes_decrypt()
813 ( (uint32_t) RSb[ ( Y1 >> 16 ) & 0xFF ] << 16 ) ^ in mbedtls_aes_decrypt()
814 ( (uint32_t) RSb[ ( Y0 >> 24 ) & 0xFF ] << 24 ); in mbedtls_aes_decrypt()