From b321325a47993a87c3550a34082fba91b3dd817d Mon Sep 17 00:00:00 2001 From: hsandid Date: Mon, 11 Dec 2023 04:47:11 +0100 Subject: vppinfra : fix alignment issue Type: fix Modified alignment cast causing crash issues Change-Id: Iae3bb767ef2ba81466bf1567264a4c76ae45bb92 Signed-off-by: hsandid --- src/vppinfra/crypto/aes_cbc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vppinfra/crypto') diff --git a/src/vppinfra/crypto/aes_cbc.h b/src/vppinfra/crypto/aes_cbc.h index 5c3054f4a93..3f0f1f1f797 100644 --- a/src/vppinfra/crypto/aes_cbc.h +++ b/src/vppinfra/crypto/aes_cbc.h @@ -471,7 +471,7 @@ aes2_cbc_dec (const u8x16 *k, u8x32u *src, u8x32u *dst, u8x16u *iv, int count, for (i = 1; i < rounds; i++) rl = aes_dec_round (rl, k[i]); rl = aes_dec_last_round (rl, k[i]); - *(u8x16 *) dst = rl ^ u8x32_extract_hi (f); + *(u8x16u *) dst = rl ^ u8x32_extract_hi (f); } } #endif -- cgit 1.2.3-korg