Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
crypto-native: fix uninitialized variable
[vpp.git]
/
src
/
plugins
/
crypto_native
/
aes_gcm.c
diff --git
a/src/plugins/crypto_native/aes_gcm.c
b/src/plugins/crypto_native/aes_gcm.c
index
e0c1e6c
..
09bb06f
100644
(file)
--- a/
src/plugins/crypto_native/aes_gcm.c
+++ b/
src/plugins/crypto_native/aes_gcm.c
@@
-978,7
+978,7
@@
aes_gcm_dec (u8x16 T, aes_gcm_key_data_t * kd, aes_gcm_counter_t * ctr,
n_left - 64, f);
return aes4_gcm_calc (T, kd, d4, ctr, inv, outv, rounds, 1, n_left, f);
#else
- u8x16 d[4];
+ u8x16 d[4]
= {}
;
while (n_left >= 128)
{
T = aes_gcm_calc_double (T, kd, d, ctr, inv, outv, rounds, f);