From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 462BA29CB for ; Fri, 14 Jul 2017 12:31:08 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Jul 2017 03:31:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,358,1496127600"; d="scan'208";a="111282280" Received: from irsmsx154.ger.corp.intel.com ([163.33.192.96]) by orsmga002.jf.intel.com with ESMTP; 14 Jul 2017 03:31:06 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX154.ger.corp.intel.com (163.33.192.96) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 14 Jul 2017 11:30:45 +0100 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.133]) by irsmsx112.ger.corp.intel.com ([169.254.1.42]) with mapi id 14.03.0319.002; Fri, 14 Jul 2017 11:30:45 +0100 From: "De Lara Guarch, Pablo" To: "Trahe, Fiona" , "Kusztal, ArkadiuszX" , "Griffin, John" , "Doherty, Declan" CC: "dev@dpdk.org" Thread-Topic: [PATCH] cryptodev: fix KASUMI F9 expected parameters Thread-Index: AQHS++7ySkLX8CGawk2/wZPpQs5jiqJS/0kAgAAhHhA= Date: Fri, 14 Jul 2017 10:30:44 +0000 Message-ID: References: <20170713074450.63682-1-pablo.de.lara.guarch@intel.com> <348A99DA5F5B7549AA880327E580B43589236266@IRSMSX101.ger.corp.intel.com> In-Reply-To: <348A99DA5F5B7549AA880327E580B43589236266@IRSMSX101.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] cryptodev: fix KASUMI F9 expected parameters 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, 14 Jul 2017 10:31:09 -0000 Hi, > -----Original Message----- > From: Trahe, Fiona > Sent: Friday, July 14, 2017 10:31 AM > To: De Lara Guarch, Pablo ; Kusztal, > ArkadiuszX ; Griffin, John > ; Doherty, Declan > Cc: dev@dpdk.org; Trahe, Fiona > Subject: RE: [PATCH] cryptodev: fix KASUMI F9 expected parameters ... > > diff --git a/lib/librte_cryptodev/rte_crypto_sym.h > > b/lib/librte_cryptodev/rte_crypto_sym.h > > index f1b2f38..d4b403b 100644 > > --- a/lib/librte_cryptodev/rte_crypto_sym.h > > +++ b/lib/librte_cryptodev/rte_crypto_sym.h > > @@ -343,9 +343,8 @@ struct rte_crypto_auth_xform { > > uint16_t length; > > /**< Length of valid IV data. > > * > > - * - For KASUMI in F9 mode, SNOW3G in UIA2 mode, for > > - * ZUC in EIA3 mode and for AES-GMAC, this is the length > > - * of the IV. > > + * - For SNOW3G in UIA2 mode, for ZUC in EIA3 mode and > > + * for AES-GMAC, this is the length of the IV. >=20 > [Fiona] I think it's worth adding here: > For Kasumi in F9 mode the IV field in not used and length should be set t= o > 0. Fair enough, will add that in the v2. Thanks, Pablo