From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 07EC11150; Fri, 18 Jan 2019 13:26:58 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2019 04:26:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,491,1539673200"; d="scan'208";a="135751222" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga002.fm.intel.com with ESMTP; 18 Jan 2019 04:26:58 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 18 Jan 2019 04:26:57 -0800 Received: from lcsmsx153.ger.corp.intel.com (10.186.165.228) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 18 Jan 2019 04:26:57 -0800 Received: from HASMSX109.ger.corp.intel.com ([169.254.3.105]) by LCSMSX153.ger.corp.intel.com ([169.254.8.245]) with mapi id 14.03.0415.000; Fri, 18 Jan 2019 14:26:56 +0200 From: "Kusztal, ArkadiuszX" To: "Trahe, Fiona" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" , "akhil.goyal@nxp.com" , "stable@dpdk.org" Thread-Topic: [PATCH] doc/qat: add GCM AAD limitation Thread-Index: AQHUrpG+dWdqBnWTJ0q6HiknqvhUOaW09NaA Date: Fri, 18 Jan 2019 12:26:55 +0000 Message-ID: <06EE24DD0B19E248B53F6DC8657831551B12C9F4@hasmsx109.ger.corp.intel.com> References: <1547749399-1975-1-git-send-email-fiona.trahe@intel.com> In-Reply-To: <1547749399-1975-1-git-send-email-fiona.trahe@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.104.14.165] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] doc/qat: add GCM AAD limitation 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: Fri, 18 Jan 2019 12:27:00 -0000 > -----Original Message----- > From: Trahe, Fiona > Sent: Thursday, January 17, 2019 7:23 PM > To: dev@dpdk.org > Cc: De Lara Guarch, Pablo ; Trahe, Fiona > ; akhil.goyal@nxp.com; Kusztal, ArkadiuszX > ; stable@dpdk.org > Subject: [PATCH] doc/qat: add GCM AAD limitation >=20 > Add limitation that AAD buffer must be padded with zeroes in GCM case. >=20 > Fixes: d4f44265a1d7 ("doc: add limitation of AAD size to QAT guide") > Cc: stable@dpdk.org >=20 > Signed-off-by: Fiona Trahe > --- > doc/guides/cryptodevs/qat.rst | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) >=20 > diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rs= t > index 9fb9f01..3ca70bc 100644 > --- a/doc/guides/cryptodevs/qat.rst > +++ b/doc/guides/cryptodevs/qat.rst > @@ -79,10 +79,9 @@ Limitations > * SNOW 3G (UIA2) and ZUC (EIA3) supported only if hash length and offset > fields are byte-multiple. > * No BSD support as BSD QAT kernel driver not available. > * ZUC EEA3/EIA3 is not supported by dh895xcc devices > -* Maximum additional authenticated data (AAD) for GCM is 240 bytes long. > +* Maximum additional authenticated data (AAD) for GCM is 240 bytes long > and must be passed to the device in a buffer rounded up to the nearest > block-size multiple (x16) and padded with zeros. > * Queue pairs are not thread-safe (that is, within a single queue pair, = RX and > TX from different lcores is not supported). >=20 > - > Extra notes on KASUMI F9 > ~~~~~~~~~~~~~~~~~~~~~~~~ >=20 > -- > 1.7.0.7 Acked-by: Arek Kusztal