From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 09B09A04A4
	for <public@inbox.dpdk.org>; Wed, 27 May 2020 11:24:41 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id EB0C41D8E1;
	Wed, 27 May 2020 11:24:40 +0200 (CEST)
Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com
 [209.85.128.54]) by dpdk.org (Postfix) with ESMTP id 8C7951D645
 for <stable@dpdk.org>; Wed, 27 May 2020 11:24:38 +0200 (CEST)
Received: by mail-wm1-f54.google.com with SMTP id v19so2378809wmj.0
 for <stable@dpdk.org>; Wed, 27 May 2020 02:24:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=n2SYfqrdUf7hdfhu/ekIc1ahTOrLE3BELSj9DWx4r1k=;
 b=aejuh7CLvB92w9baTZwx1oMkivE+Ayl/ZY+G+0gMjqefvEUcWgkm1UGaTueNQOPUc7
 Bz6s15cE545PsBF8WnYzAr8HEHtndIRyeRZhtUufAKg2W85Hne7F53tkqK/yeekuysbS
 hJYL9Hkzya9UQjbWM3wssJVIx/Suv2MqwlkKVp8DBUP3w8jpSmqMHNPUEc5gU4h4ePWX
 LU4QBp0x6+nPXbtEx5fzLwKh7MGoJH4igtlJzaad4sD4aWzPnr+p4xM38RfFIclUbXDs
 21samfCeVGGeR7iQgNLjKEos3OrNKsT/l+7jqfhHdNt9DuqYfbSxs0VXXH44sKnekBVj
 yxSQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=n2SYfqrdUf7hdfhu/ekIc1ahTOrLE3BELSj9DWx4r1k=;
 b=Y7cck16xa1G8DETxD+cLFPFuN44FPvAtW7oVBYhJMJGOx6TK9egw5shpvKcXRxHIb1
 +TwUjkqygfQWSPhW8GlOcuS+mk0Epf3lK5YyXEcdGtqLYUohd+/UG2Cs9weiZZkQulJ5
 cvxYYKgO60qc3mkHxn4aA5mxCTc9sQkepbeWNef4Iaq6jzvKwRVzOedhsidF+PPdrbGE
 AD6/XPE8NIaCjOsr2KovRfHZD2TnD9qFqWlcp63c7RGvRlgS1DJ2SN5NjOb0A8/wl8AU
 /r/gRBLErs8JRaeUncM7S6W8tg+6cJK3wFsD7JpLYfHlZfM3tETOniro6UkxqDG2Lt+Y
 xddA==
X-Gm-Message-State: AOAM531kR56vWG04GTso5a4ch6kTeezQjrKDqn0GCyBsiAaWDxy0Xnbm
 KDJL6a5erZTniDoVTHdlP3L9IxnEOFk=
X-Google-Smtp-Source: ABdhPJybjOuQXmSeKDvtr18i6vAmcKtvIEgKx/Eo4CtGRQwfmvkMsMGRi8aNqEb+PxRKYsmCzzZxwQ==
X-Received: by 2002:a05:600c:2614:: with SMTP id
 h20mr3541494wma.155.1590571478251; 
 Wed, 27 May 2020 02:24:38 -0700 (PDT)
Received: from localhost ([88.98.246.218])
 by smtp.gmail.com with ESMTPSA id l17sm2145740wmi.3.2020.05.27.02.24.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 27 May 2020 02:24:37 -0700 (PDT)
From: luca.boccassi@gmail.com
To: Adam Dybkowski <adamx.dybkowski@intel.com>
Cc: Fiona Trahe <fiona.trahe@intel.com>, Anoob Joseph <anoobj@marvell.com>,
 Akhil Goyal <akhil.goyal@nxp.com>, dpdk stable <stable@dpdk.org>
Date: Wed, 27 May 2020 10:24:08 +0100
Message-Id: <20200527092422.258652-5-luca.boccassi@gmail.com>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20200527092422.258652-1-luca.boccassi@gmail.com>
References: <20200522094022.1025696-43-luca.boccassi@gmail.com>
 <20200527092422.258652-1-luca.boccassi@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-stable] patch 'cryptodev: fix SHA-1 digest enum comment' has
	been queued to stable release 19.11.3
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org
Sender: "stable" <stable-bounces@dpdk.org>

Hi,

FYI, your patch has been queued to stable release 19.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 05/29/20. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Thanks.

Luca Boccassi

---
>From 1df20ac457413526f21d9f715135964de69c705b Mon Sep 17 00:00:00 2001
From: Adam Dybkowski <adamx.dybkowski@intel.com>
Date: Thu, 21 May 2020 16:48:53 +0200
Subject: [PATCH] cryptodev: fix SHA-1 digest enum comment

[ upstream commit e475fd853ac1cae9cf837a10e8c386503175752e ]

This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.

Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")

Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
---
 lib/librte_cryptodev/rte_crypto_sym.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h
index ffa038dc40..4e05c7c6ac 100644
--- a/lib/librte_cryptodev/rte_crypto_sym.h
+++ b/lib/librte_cryptodev/rte_crypto_sym.h
@@ -208,9 +208,12 @@ enum rte_crypto_auth_algorithm {
 	/**< HMAC using MD5 algorithm */
 
 	RTE_CRYPTO_AUTH_SHA1,
-	/**< 128 bit SHA algorithm. */
+	/**< 160 bit SHA algorithm. */
 	RTE_CRYPTO_AUTH_SHA1_HMAC,
-	/**< HMAC using 128 bit SHA algorithm. */
+	/**< HMAC using 160 bit SHA algorithm.
+	 * HMAC-SHA-1-96 can be generated by setting
+	 * digest_length to 12 bytes in auth/aead xforms.
+	 */
 	RTE_CRYPTO_AUTH_SHA224,
 	/**< 224 bit SHA algorithm. */
 	RTE_CRYPTO_AUTH_SHA224_HMAC,
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-05-27 10:23:31.822513382 +0100
+++ 0005-cryptodev-fix-SHA-1-digest-enum-comment.patch	2020-05-27 10:23:31.627933720 +0100
@@ -1,13 +1,14 @@
-From e475fd853ac1cae9cf837a10e8c386503175752e Mon Sep 17 00:00:00 2001
+From 1df20ac457413526f21d9f715135964de69c705b Mon Sep 17 00:00:00 2001
 From: Adam Dybkowski <adamx.dybkowski@intel.com>
 Date: Thu, 21 May 2020 16:48:53 +0200
 Subject: [PATCH] cryptodev: fix SHA-1 digest enum comment
 
+[ upstream commit e475fd853ac1cae9cf837a10e8c386503175752e ]
+
 This patch fixes improper SHA-1 digest size in the enum comment
 and also adds the note about HMAC-SHA-1-96.
 
 Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")
-Cc: stable@dpdk.org
 
 Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
 Acked-by: Fiona Trahe <fiona.trahe@intel.com>
@@ -18,10 +19,10 @@
  1 file changed, 5 insertions(+), 2 deletions(-)
 
 diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h
-index d9585ecd69..da961a19d2 100644
+index ffa038dc40..4e05c7c6ac 100644
 --- a/lib/librte_cryptodev/rte_crypto_sym.h
 +++ b/lib/librte_cryptodev/rte_crypto_sym.h
-@@ -269,9 +269,12 @@ enum rte_crypto_auth_algorithm {
+@@ -208,9 +208,12 @@ enum rte_crypto_auth_algorithm {
  	/**< HMAC using MD5 algorithm */
  
  	RTE_CRYPTO_AUTH_SHA1,