diff options
Diffstat (limited to 'tests/vb20_common3_tests.c')
-rw-r--r-- | tests/vb20_common3_tests.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/vb20_common3_tests.c b/tests/vb20_common3_tests.c index 365c7700..9d4cc50b 100644 --- a/tests/vb20_common3_tests.c +++ b/tests/vb20_common3_tests.c @@ -33,7 +33,8 @@ static void test_verify_keyblock(const VbPublicKey *public_key, const VbPrivateKey *private_key, const VbPublicKey *data_key) { - uint8_t workbuf[VB2_KEY_BLOCK_VERIFY_WORKBUF_BYTES]; + uint8_t workbuf[VB2_KEY_BLOCK_VERIFY_WORKBUF_BYTES] + __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); struct vb2_workbuf wb; struct vb2_public_key key; struct vb2_keyblock *hdr; @@ -175,7 +176,8 @@ static void test_verify_fw_preamble(const VbPublicKey *public_key, struct vb2_fw_preamble *hdr; struct vb2_fw_preamble *h; struct vb2_public_key rsa; - uint8_t workbuf[VB2_VERIFY_FIRMWARE_PREAMBLE_WORKBUF_BYTES]; + uint8_t workbuf[VB2_VERIFY_FIRMWARE_PREAMBLE_WORKBUF_BYTES] + __attribute__ ((aligned (VB2_WORKBUF_ALIGN))); struct vb2_workbuf wb; uint32_t hsize; |