diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/aes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/aes.c b/test/aes.c index ddc0c03833..53b7c770e4 100644 --- a/test/aes.c +++ b/test/aes.c @@ -621,12 +621,12 @@ static void test_aes_speed(void) { int i; /* Test vectors from FIPS-197, Appendix C. */ - static const uint8_t key[] = { + static const uint8_t key[] __aligned(4) = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, }; const int key_size = sizeof(key); - static const uint8_t plaintext[] = { + static const uint8_t plaintext[] __aligned(4) = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc, 0xdd, 0xee, 0xff, }; |