diff --git a/samples/drivers/crypto/src/main.c b/samples/drivers/crypto/src/main.c index ef0d248c365..ac031e88672 100644 --- a/samples/drivers/crypto/src/main.c +++ b/samples/drivers/crypto/src/main.c @@ -37,7 +37,7 @@ LOG_MODULE_REGISTER(main); #error "You need to enable one crypto device" #endif -const static uint8_t key[16] __aligned(32) = { +const static uint8_t key[16] __aligned(4) = { 0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae, 0xd2, 0xa6, 0xab, 0xf7, 0x15, 0x88, 0x09, 0xcf, 0x4f, 0x3c };