From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C1D66A0613 for ; Thu, 26 Sep 2019 10:18:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 77E231BF5F; Thu, 26 Sep 2019 10:18:52 +0200 (CEST) Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by dpdk.org (Postfix) with ESMTP id 8990B1BEFA for ; Thu, 26 Sep 2019 10:18:30 +0200 (CEST) Received: by mail-wm1-f65.google.com with SMTP id y135so5999978wmc.1 for ; Thu, 26 Sep 2019 01:18:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=TMz+h7dLkzMkR/2Lqv2k+XnpE/Edv5lzNrn36h6Omac=; b=FBMEU4xlnVEG2632x0ugi8dJA/k0G4oD3p8Jy9r5sh9wl/QZeiAeqWdd7q91XGAn/1 G1e3P+9LKxn98zyXLbgW8INs50MNYBVyfOZvKU3Z9nMHNL4M9kyYB0dRbziLtXrYffiB mYyI4D3BgiLc2pHqculh5LeBfzrk0SZtSOKQiyEWoqDWXa2RrCpJVnf0m0Alvum5IDzQ +9RPdkDyKoMnPxRZGfeX1zatDRLKMJjwr0g0TWW5z5sD1KBMb5gErwbKdG3m2guPQnpS 1lnPV1fOK5EelPTUoPewtDq7Vp+B4YzskzoDAAcbDhEmPmCFoUIaOUPb3mIEL6Y8qtf0 X+Xg== X-Gm-Message-State: APjAAAX3X9tSfspKJk3clMCE9rEmTk6oUPekI0IbgWRAek6g1+1zR+aa 2cd7BNR6A01XFSo5DCjNGrLybt8cXg4= X-Google-Smtp-Source: APXvYqzkY5BcQKAtkgbOBqRV8gH8DOZvGxemILPw6FPkkE81tPQYXyh2Njc55jRChTVXOXVWOwI1jg== X-Received: by 2002:a05:600c:2311:: with SMTP id 17mr1841503wmo.39.1569485910074; Thu, 26 Sep 2019 01:18:30 -0700 (PDT) Received: from localhost ([2a01:4b00:f419:6f00:7a8e:ed70:5c52:ea3]) by smtp.gmail.com with ESMTPSA id b184sm1396557wmg.47.2019.09.26.01.18.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 01:18:29 -0700 (PDT) Message-ID: From: Luca Boccassi To: Arek Kusztal , stable@dpdk.org Cc: fiona.trahe@intel.com, ferruh.yigit@intel.com Date: Thu, 26 Sep 2019 09:18:28 +0100 In-Reply-To: <20190926080653.5492-1-arkadiuszx.kusztal@intel.com> References: <20190926080653.5492-1-arkadiuszx.kusztal@intel.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH] crypto/qat: fix not included algs for zero counter X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, 2019-09-26 at 10:06 +0200, Arek Kusztal wrote: > Algorithms NULL, XCBC, CBC-MAC should have had zeroed counter. >=20 > Fixes: e25200fbb45d ("qat: add cipher/auth only") >=20 > Signed-off-by: Arek Kusztal < > arkadiuszx.kusztal@intel.com > > > --- > This patch obsoletes patches: > http://patches.dpdk.org/patch/48715/ >=20 > http://patches.dpdk.org/patch/48716/ >=20 >=20 > drivers/crypto/qat/qat_adf/qat_algs_build_desc.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/crypto/qat/qat_adf/qat_algs_build_desc.c > b/drivers/crypto/qat/qat_adf/qat_algs_build_desc.c > index b939381..192925e 100644 > --- a/drivers/crypto/qat/qat_adf/qat_algs_build_desc.c > +++ b/drivers/crypto/qat/qat_adf/qat_algs_build_desc.c > @@ -751,7 +751,10 @@ int > qat_alg_aead_session_create_content_desc_auth(struct qat_session > *cdesc, > =20 > if (cdesc->qat_hash_alg =3D=3D ICP_QAT_HW_AUTH_ALGO_SNOW_3G_UIA2 > || cdesc->qat_hash_alg =3D=3D > ICP_QAT_HW_AUTH_ALGO_KASUMI_F9 > - || cdesc->qat_hash_alg =3D=3D > ICP_QAT_HW_AUTH_ALGO_ZUC_3G_128_EIA3) > + || cdesc->qat_hash_alg =3D=3D > ICP_QAT_HW_AUTH_ALGO_ZUC_3G_128_EIA3 > + || cdesc->qat_hash_alg =3D=3D > ICP_QAT_HW_AUTH_ALGO_AES_XCBC_MAC > + || cdesc->qat_hash_alg =3D=3D > ICP_QAT_HW_AUTH_ALGO_AES_CBC_MAC > + || cdesc->qat_hash_alg =3D=3D ICP_QAT_HW_AUTH_ALGO_NULL) > hash->auth_counter.counter =3D 0; > else { > int block_size =3D qat_hash_get_block_size(cdesc- > >qat_hash_alg); Acked-by: Luca Boccassi --=20 Kind regards, Luca Boccassi