From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id 8A0BD1B3D1; Wed, 9 May 2018 14:43:52 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 09 May 2018 12:43:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: examples X-Bugzilla-Version: 18.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ankur.dwivedi@cavium.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://dpdk.org/tracker/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 44] examples/l2fwd-crypto : Wrong data length in case of AEAD ciphers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 May 2018 12:43:52 -0000 https://dpdk.org/tracker/show_bug.cgi?id=3D44 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 -=3D cparams->digest_length; I think this results in wrong values assignment in line 517 op->sym->aead.data.length =3D data_len; and wrong digest data pointer assignment in line 524 op->sym->aead.digest.data =3D rte_pktmbuf_mtod(m, uint8_t *) + ipdata_offset + data_len; --=20 You are receiving this mail because: You are the assignee for the bug.=