* [dpdk-dev] [Bug 44] examples/l2fwd-crypto : Wrong data length in case of AEAD ciphers
@ 2018-05-09 12:43 bugzilla
0 siblings, 0 replies; only message in thread
From: bugzilla @ 2018-05-09 12:43 UTC (permalink / raw)
To: dev
https://dpdk.org/tracker/show_bug.cgi?id=44
Bug ID: 44
Summary: examples/l2fwd-crypto : Wrong data length in case of
AEAD ciphers
Product: DPDK
Version: 18.05
Hardware: All
OS: All
Status: CONFIRMED
Severity: normal
Priority: Normal
Component: examples
Assignee: dev@dpdk.org
Reporter: ankur.dwivedi@cavium.com
Target Milestone: ---
In l2fwd-crypto application, file main.c , the digest length is not getting
decremented for AEAD ciphers.
Line 410:
if (cparams->do_hash && cparams->hash_verify)
data_len -= cparams->digest_length;
I think this results in wrong values assignment in line 517
op->sym->aead.data.length = data_len;
and wrong digest data pointer assignment in line 524
op->sym->aead.digest.data = rte_pktmbuf_mtod(m,
uint8_t *) + ipdata_offset + data_len;
--
You are receiving this mail because:
You are the assignee for the bug.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-09 12:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 12:43 [dpdk-dev] [Bug 44] examples/l2fwd-crypto : Wrong data length in case of AEAD ciphers bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).