git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples/l2fwd-crypto: fix digest length
[dpdk.git]
/
examples
/
l2fwd-crypto
/
main.c
diff --git
a/examples/l2fwd-crypto/main.c
b/examples/l2fwd-crypto/main.c
index
84b727b
..
664e0e0
100644
(file)
--- a/
examples/l2fwd-crypto/main.c
+++ b/
examples/l2fwd-crypto/main.c
@@
-752,6
+752,8
@@
l2fwd_main_loop(struct l2fwd_crypto_options *options)
port_cparams[i].hash_verify = 0;
port_cparams[i].auth_algo = options->auth_xform.auth.algo;
port_cparams[i].hash_verify = 0;
port_cparams[i].auth_algo = options->auth_xform.auth.algo;
+ port_cparams[i].digest_length =
+ options->auth_xform.auth.digest_length;
/* Set IV parameters */
if (options->auth_iv.length) {
options->auth_xform.auth.iv.offset =
/* Set IV parameters */
if (options->auth_iv.length) {
options->auth_xform.auth.iv.offset =