From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Nicolau, Radu" Subject: Re: [PATCH 1/2] crypto/qat: fix null auth algo issue 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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "De Lara Guarch, Pablo" To: "Trahe, Fiona" , "dev@dpdk.org" 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) In-Reply-To: <1516900755-28233-1-git-send-email-fiona.trahe@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----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