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: fix bad-hmac in sw scheduler if async mode
[vpp.git]
/
src
/
plugins
/
crypto_sw_scheduler
/
main.c
diff --git
a/src/plugins/crypto_sw_scheduler/main.c
b/src/plugins/crypto_sw_scheduler/main.c
index
2e4ad42
..
980fa14
100644
(file)
--- a/
src/plugins/crypto_sw_scheduler/main.c
+++ b/
src/plugins/crypto_sw_scheduler/main.c
@@
-255,6
+255,7
@@
crypto_sw_scheduler_convert_link_crypto (vlib_main_t * vm,
integ_op->digest = fe->digest;
integ_op->digest_len = digest_len;
integ_op->key_index = key->index_integ;
+ crypto_op->flags = integ_op->flags = 0;
if (is_enc)
crypto_op->flags |= VNET_CRYPTO_OP_FLAG_INIT_IV;
else