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 CF8BAA051C
	for <public@inbox.dpdk.org>; Tue, 11 Feb 2020 12:42:41 +0100 (CET)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id C20121C0C2;
	Tue, 11 Feb 2020 12:42:40 +0100 (CET)
Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com
 [209.85.128.50]) by dpdk.org (Postfix) with ESMTP id 2FFF11C0BC
 for <stable@dpdk.org>; Tue, 11 Feb 2020 12:42:38 +0100 (CET)
Received: by mail-wm1-f50.google.com with SMTP id p17so3152053wma.1
 for <stable@dpdk.org>; Tue, 11 Feb 2020 03:42:38 -0800 (PST)
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=hV4cLUxHl4Z0yxBjuyXAcqLG5eL+iV0vy+0XGwHrNRo=;
 b=fsC+j8B4V+C1WzdHT2VkiPGJqGW2FjeKexYch/scOnOjzj43m+vwdd4gA2MAdtUPSg
 88kLIUYQ0eApFKE9Ocq6sulocTWdb08yLMyHHE+R0TyMg87xg3k9w/rBi7pWEjdIOqVU
 9C5soN9xNWlc/VvNcHcOl4f69Zb4Wwrb8myBVb0EFK96My7BS12W4UC0iqox2y6Bc4Oi
 VS6kgnvIeq08ztsBr6QVQfXetZDHrYHw16pzWsSYP/OPgPoAAnNimftjieHD719u5WOe
 8WEQQoik/wqDQPtPaQ4Dgkk8TJapGEbScWF1BBrLk+unqdAHLc4qXHdfIQFaedqJvWt/
 ll4g==
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=hV4cLUxHl4Z0yxBjuyXAcqLG5eL+iV0vy+0XGwHrNRo=;
 b=FA/+a76zn7VRykM9w1jIS4aFbrYCKOEw2xTP4mAdNhs0YYLcDe5kDJ/1pN6pfFQgOh
 xX+Ch4HUEfH0+8w3HFulpTQ/1SBPyUUDYKn2MUnyMU1f8wWoWGO2AQinkYlPCOQo5xcU
 94w0zW+tgO0No6BO4zmVi0XrXdwuXBP2T+vDJ0Z28Hbl6QRAQule+RwioscHZzBGTXzY
 odGgxfzKT/W9hYKLs86BL2/NPnamC01HPoIsPPSNwH+qt2AUP0xClz1Ll3NrDmqKDQWJ
 Kkn/AEPWdHwTHmjs6T7tVsoEKQdbWRjHWtlkMtX3L9383zRCHPNo4vPfbyPIFxDjiPRz
 xifA==
X-Gm-Message-State: APjAAAU+yosx6ejk+li2A9rE3DoChqXcuXBFNBH1MsbrGrg20jXYENyc
 sUztrHbgKFsAsYLR/vkuZDWEm9M3b3c=
X-Google-Smtp-Source: APXvYqwhqXlg3RLDioJmXq/G/Q/Jxb9t+Z+/Yk8Q/0Ofi3QR8zibyPniPQx9aTuGM+RJTDsQ/wWi5g==
X-Received: by 2002:a7b:c38c:: with SMTP id s12mr5100225wmj.96.1581421357923; 
 Tue, 11 Feb 2020 03:42:37 -0800 (PST)
Received: from localhost ([88.98.246.218])
 by smtp.gmail.com with ESMTPSA id s19sm3233017wmj.33.2020.02.11.03.42.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 11 Feb 2020 03:42:37 -0800 (PST)
From: luca.boccassi@gmail.com
To: Sucharitha Sarananaga <ssarananaga@marvell.com>
Cc: Archana Muniganti <marchana@marvell.com>,
 Anoob Joseph <anoobj@marvell.com>, dpdk stable <stable@dpdk.org>
Date: Tue, 11 Feb 2020 11:22:10 +0000
Message-Id: <20200211112216.3929-184-luca.boccassi@gmail.com>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com>
References: <20200211112216.3929-1-luca.boccassi@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-stable] patch 'examples/fips_validation: fix cipher length
	for AES-GCM' has been queued to stable release 19.11.1
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.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 02/13/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 a1a5805d75be8398e9174083f5e3ff05fb3a83a6 Mon Sep 17 00:00:00 2001
From: Sucharitha Sarananaga <ssarananaga@marvell.com>
Date: Mon, 6 Jan 2020 15:03:11 +0530
Subject: [PATCH] examples/fips_validation: fix cipher length for AES-GCM

[ upstream commit 07f5e4553293cff259b7c44f1aa7bad7734eaca2 ]

Cipher length need to be updated in case of AES-GCM decryption.

Fixes: 4aaad2995e13 ("examples/fips_validation: support GCM parsing")

Signed-off-by: Archana Muniganti <marchana@marvell.com>
Signed-off-by: Sucharitha Sarananaga <ssarananaga@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
---
 examples/fips_validation/fips_validation_gcm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/fips_validation/fips_validation_gcm.c b/examples/fips_validation/fips_validation_gcm.c
index ea48ddf707..f295025590 100644
--- a/examples/fips_validation/fips_validation_gcm.c
+++ b/examples/fips_validation/fips_validation_gcm.c
@@ -19,6 +19,7 @@
 #define PTLEN_STR	"PTlen = "
 #define AADLEN_STR	"AADlen = "
 #define TAGLEN_STR	"Taglen = "
+#define CTLEN_STR	"PTlen = "
 
 #define COUNT_STR	"Count = "
 #define KEY_STR		"Key = "
@@ -46,6 +47,7 @@ struct fips_test_callback gcm_interim_vectors[] = {
 		{KEYLEN_STR, parser_read_uint32_bit_val, &vec.aead.key},
 		{IVLEN_STR, parser_read_uint32_bit_val, &vec.iv},
 		{PTLEN_STR, parser_read_uint32_bit_val, &vec.pt},
+		{CTLEN_STR, parser_read_uint32_bit_val, &vec.ct},
 		{AADLEN_STR, parser_read_uint32_bit_val, &vec.aead.aad},
 		{TAGLEN_STR, parser_read_uint32_bit_val,
 				&vec.aead.digest},
-- 
2.20.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2020-02-11 11:17:44.919553149 +0000
+++ 0184-examples-fips_validation-fix-cipher-length-for-AES-G.patch	2020-02-11 11:17:38.836009499 +0000
@@ -1,12 +1,13 @@
-From 07f5e4553293cff259b7c44f1aa7bad7734eaca2 Mon Sep 17 00:00:00 2001
+From a1a5805d75be8398e9174083f5e3ff05fb3a83a6 Mon Sep 17 00:00:00 2001
 From: Sucharitha Sarananaga <ssarananaga@marvell.com>
 Date: Mon, 6 Jan 2020 15:03:11 +0530
 Subject: [PATCH] examples/fips_validation: fix cipher length for AES-GCM
 
+[ upstream commit 07f5e4553293cff259b7c44f1aa7bad7734eaca2 ]
+
 Cipher length need to be updated in case of AES-GCM decryption.
 
 Fixes: 4aaad2995e13 ("examples/fips_validation: support GCM parsing")
-Cc: stable@dpdk.org
 
 Signed-off-by: Archana Muniganti <marchana@marvell.com>
 Signed-off-by: Sucharitha Sarananaga <ssarananaga@marvell.com>