We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4605e5 commit 2bcb1f7Copy full SHA for 2bcb1f7
hal/targets/hal/TARGET_NUVOTON/TARGET_NUC472/aes_alt.c
@@ -52,6 +52,7 @@
52
#endif /* MBEDTLS_SELF_TEST */
53
54
#include "NUC472_442.h"
55
+#include "toolchain.h"
56
57
//static int aes_init_done = 0;
58
@@ -72,15 +73,8 @@ static uint32_t au32MyAESIV[4] = {
72
73
74
extern volatile int g_AES_done;
75
-#ifdef __ICCARM__
76
-#pragma data_alignment=4
77
-uint8_t au8OutputData[16];
78
79
-uint8_t au8InputData[16];
80
-#else
81
-__align(4) uint8_t au8OutputData[16];
82
-__align(4) uint8_t au8InputData[16];
83
-#endif
+uint8_t au8OutputData[16] MBED_ALIGN(4);
+uint8_t au8InputData[16] MBED_ALIGN(4);
84
85
static void dumpHex(uint8_t au8Data[], int len)
86
{
0 commit comments