vppinfra : fix alignment issue
Type: fix
Modified alignment cast causing crash issues
Change-Id: Iae3bb767ef2ba81466bf1567264a4c76ae45bb92
Signed-off-by: hsandid <halsandi@cisco.com>
diff --git a/src/vppinfra/crypto/aes_cbc.h b/src/vppinfra/crypto/aes_cbc.h
index 5c3054f..3f0f1f1 100644
--- a/src/vppinfra/crypto/aes_cbc.h
+++ b/src/vppinfra/crypto/aes_cbc.h
@@ -471,7 +471,7 @@
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