From: Pablo de Lara Date: Tue, 18 Jul 2017 07:58:16 +0000 (+0100) Subject: examples/l2fwd-crypto: fix digest length X-Git-Tag: spdx-start~2391 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=2c023071f6493c8a846ac61fa7d84ad94c8b42b8;p=dpdk.git examples/l2fwd-crypto: fix digest length Digest length was not being set when using authentication algorithms. Fixes: 2661f4fbe93d ("examples/l2fwd-crypto: add AEAD parameters") Signed-off-by: Pablo de Lara --- diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c index 84b727bc0c..664e0e0d2d 100644 --- 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].digest_length = + options->auth_xform.auth.digest_length; /* Set IV parameters */ if (options->auth_iv.length) { options->auth_xform.auth.iv.offset =