forked from wolfSSL/wolfssl
wolfcrypt/src/port/arm/thumb2-aes-asm_c.c: fix a pair of -Wpointer-to-int-casts in AES_ECB_decrypt() and AES_CBC_decrypt().
This commit is contained in:
@@ -1908,7 +1908,7 @@ void AES_ECB_decrypt(const unsigned char* in, unsigned char* out,
|
||||
register word32* L_AES_Thumb2_td_ecb_c __asm__ ("r5") =
|
||||
(word32*)L_AES_Thumb2_td_ecb;
|
||||
|
||||
register byte L_AES_Thumb2_td4_c __asm__ ("r6") = (byte)&L_AES_Thumb2_td4;
|
||||
register byte L_AES_Thumb2_td4_c __asm__ ("r6") = (byte)(word32)&L_AES_Thumb2_td4;
|
||||
|
||||
#else
|
||||
register word32* L_AES_Thumb2_td_ecb_c = (word32*)L_AES_Thumb2_td_ecb;
|
||||
@@ -2134,7 +2134,7 @@ void AES_CBC_decrypt(const unsigned char* in, unsigned char* out,
|
||||
register word32* L_AES_Thumb2_td_ecb_c __asm__ ("r6") =
|
||||
(word32*)L_AES_Thumb2_td_ecb;
|
||||
|
||||
register byte L_AES_Thumb2_td4_c __asm__ ("r7") = (byte)&L_AES_Thumb2_td4;
|
||||
register byte L_AES_Thumb2_td4_c __asm__ ("r7") = (byte)(word32)&L_AES_Thumb2_td4;
|
||||
|
||||
#else
|
||||
register word32* L_AES_Thumb2_td_ecb_c = (word32*)L_AES_Thumb2_td_ecb;
|
||||
|
Reference in New Issue
Block a user