From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by dpdk.org (Postfix, from userid 33) id E9A6B1B19A; Wed, 24 Oct 2018 13:23:17 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 24 Oct 2018 11:23:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: cryptodev X-Bugzilla-Version: 18.08 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kingwel.xie@ericsson.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://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 98] wrongly assignment of digest_len 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, 24 Oct 2018 11:23:18 -0000 https://bugs.dpdk.org/show_bug.cgi?id=3D98 Bug ID: 98 Summary: wrongly assignment of digest_len Product: DPDK Version: 18.08 Hardware: All OS: All Status: CONFIRMED Severity: normal Priority: Normal Component: cryptodev Assignee: dev@dpdk.org Reporter: kingwel.xie@ericsson.com Target Milestone: --- rte_aesni_mb_pmd.c:406 sess->auth.digest_len =3D xform->auth.digest_length; should be: sess->auth.digest_len =3D xform->next->auth.digest_length; To assign session's auth digiest length by auth xform, instead of cipher fo= rm. This causes a wrong truncated mac size of AES-CMAC. --=20 You are receiving this mail because: You are the assignee for the bug.=