Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d1eb1b7
)
vppinfra : fix alignment issue
87/40087/1
author
hsandid
<halsandi@cisco.com>
Mon, 11 Dec 2023 03:47:11 +0000
(
04:47
+0100)
committer
hsandid
<halsandi@cisco.com>
Mon, 11 Dec 2023 03:47:11 +0000
(
04:47
+0100)
Type: fix
Modified alignment cast causing crash issues
Change-Id: Iae3bb767ef2ba81466bf1567264a4c76ae45bb92
Signed-off-by: hsandid <halsandi@cisco.com>
src/vppinfra/crypto/aes_cbc.h
patch
|
blob
|
history
diff --git
a/src/vppinfra/crypto/aes_cbc.h
b/src/vppinfra/crypto/aes_cbc.h
index
5c3054f
..
3f0f1f1
100644
(file)
--- 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);
+ *(u8x16
u
*) dst = rl ^ u8x32_extract_hi (f);
}
}
#endif