From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7EDD31B1B9 for ; Thu, 25 Jan 2018 18:37:02 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jan 2018 09:36:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,412,1511856000"; d="scan'208";a="196253847" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by orsmga005.jf.intel.com with ESMTP; 25 Jan 2018 09:36:53 -0800 Received: from irsmsx104.ger.corp.intel.com ([169.254.5.248]) by irsmsx105.ger.corp.intel.com ([169.254.7.236]) with mapi id 14.03.0319.002; Thu, 25 Jan 2018 17:36:52 +0000 From: "Nicolau, Radu" To: "Trahe, Fiona" , "dev@dpdk.org" CC: "De Lara Guarch, Pablo" Thread-Topic: [PATCH 1/2] crypto/qat: fix null auth algo issue Thread-Index: AQHTlgCnJGNJazW0yU+pjHbTbapM+aOE2d3w Date: Thu, 25 Jan 2018 17:36:52 +0000 Message-ID: <763A2F19A5EFF34F8B7F1657C992EE297B313AB1@IRSMSX104.ger.corp.intel.com> References: <1516900755-28233-1-git-send-email-fiona.trahe@intel.com> In-Reply-To: <1516900755-28233-1-git-send-email-fiona.trahe@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzJlNDVhYWMtYTNjOC00ODgwLTg2M2MtZWQzYWZlM2M2ZjViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InEzaW1lY250RTlzeEFIWlFEV1RYbkczcEc2OW44MFVoa3M3U28xeVlyYUU9In0= dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 1/2] crypto/qat: fix null auth algo issue 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: Thu, 25 Jan 2018 17:37:02 -0000 > -----Original Message----- > From: Trahe, Fiona > Sent: Thursday, January 25, 2018 5:19 PM > To: dev@dpdk.org > Cc: Nicolau, Radu ; De Lara Guarch, Pablo > ; Trahe, Fiona > Subject: [PATCH 1/2] crypto/qat: fix null auth algo issue >=20 > If auth algorithm is RTE_CRYPTO_AUTH_NULL and digest_length is 0 in the > xform and digest pointer is set in the op, then the PMD may overwrite > memory at the digest pointer. > With this patch the memory is not overwritten. >=20 > Fixes: db0e952a5c01 ("crypto/qat: add NULL capability") >=20 > Signed-off-by: Fiona Trahe > --- Tested and=20 Acked-by: Radu Nicolau