From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id ED6BC1C01; Tue, 17 Jul 2018 10:15:19 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jul 2018 01:15:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,365,1526367600"; d="scan'208";a="58278307" Received: from irsmsx102.ger.corp.intel.com ([163.33.3.155]) by orsmga006.jf.intel.com with ESMTP; 17 Jul 2018 01:15:17 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX102.ger.corp.intel.com (163.33.3.155) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 17 Jul 2018 09:14:28 +0100 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.193]) by IRSMSX156.ger.corp.intel.com ([169.254.3.205]) with mapi id 14.03.0319.002; Tue, 17 Jul 2018 09:14:28 +0100 From: "De Lara Guarch, Pablo" To: "ankur.dwivedi@cavium.com" , "Doherty, Declan" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] examples/l2fwd-crypto: fix digest with AEAD algorithms Thread-Index: AQHUHSKY0EcTNzkTTEyGJuSKaEKwFKSTEgiw Date: Tue, 17 Jul 2018 08:14:27 +0000 Message-ID: References: <20180716082616.1932-1-pablo.de.lara.guarch@intel.com> In-Reply-To: <20180716082616.1932-1-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDMyYzQ0N2YtOWE1YS00NTUwLWEwYzQtNTUxMTZmYzU4OTdiIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoibjVySWx6RXFwK004XC9wZnd1R2FsR1daQ0RRR2xhdDJnaU9MaHFieUo0QkpmK0dkSFJKRHFYbG1oZkpUdXgrNmMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] examples/l2fwd-crypto: fix digest with AEAD algorithms 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: Tue, 17 Jul 2018 08:15:20 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Monday, July 16, 2018 9:26 AM > To: ankur.dwivedi@cavium.com; Doherty, Declan > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > stable@dpdk.org > Subject: [PATCH] examples/l2fwd-crypto: fix digest with AEAD algorithms >=20 > When performing authentication verification (both for AEAD algorithms, su= ch as > AES-GCM, or for authentication algorithms, such as SHA1-HMAC), the digest > address is calculated based on the packet size and the algorithm used > (substracting digest size and IP header to the packet size). >=20 > However, for AEAD algorithms, this was not calculated correctly, since th= e > digest size was not being substracted. > Signed-off-by: Pablo de Lara Applied to dpdk-next-crypto. Pablo