From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 0005E428F8 for ; Sun, 9 Apr 2023 17:28:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE788410EF; Sun, 9 Apr 2023 17:28:05 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2077.outbound.protection.outlook.com [40.107.243.77]) by mails.dpdk.org (Postfix) with ESMTP id 1EE5242BC9 for ; Sun, 9 Apr 2023 17:28:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XKv90jwlVUonuGkoLJlftWFdXydYWPnR3qVsmMuoxmP1UJiVxNSiYp1eNW6DUMP9oshGAk3x3foYcOuLJaxcZbzE0tU36u3yvRPzkOmne2TrFyikGhnJcd5jHBFg0AAA+JtxOq88u0vSON5+eIIKHKkGa46+HQCw7Xr8rp9+7/l8/bA7xKeyVNNIoyZVtkcH/cepZaebR/Jn7dzG4JDWc80z1Jeok+lz8Trxgs+bRPw9C7KEOhEJtSuhh6FbngTW27uoY+NGBW57MvEBXbyQ99B3KSjzx7QPs6T8vl7Za6smtXRp/n4tsvqNQFEpp4q+VVwbaJGTc1AxMVAWOBj1GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fh1IVWThq9zsrLLWjnWDtznLM+418rd/B2o0Yg8xj0g=; b=JUtZfr2nAQEtoeEtQ0189qmFB3a5U6C9+rAfv/1QF47pG1NWgdivcYz/RxzBgNuBofeEpEPf1fRFU8LTyS0qFZt8l3dhSJ1BGsbXnNRvrfB9pe0qoPaZ+37A9uokU7XDFuen2ee5O7n48HrTrb4igeebsnzRwyAy7olzl+zWMfKvYsBgRUeIv0YYlNrpLqK485plqebU+ohAxJ7qdHQc9M7Vm+Ggz6aQLJQBbRQUiSxRFIqNq6SFhm5xgBwEis4aznr1MRO98OS/vrHY2EdO8H8X6Q3Zxw4T3XL7wCycPzrOhqOx9TRwXd4ByzlXcVXfG6orJcqKj/etM16AKu8nvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=marvell.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fh1IVWThq9zsrLLWjnWDtznLM+418rd/B2o0Yg8xj0g=; b=GYotzA00DRR+0BpaD5+qbYxHM1GzNCjmSOV24LR4pc1/F/ebtpmp3DtmVSof+mQkUOD4b3P5NKkbU+kMMB/aWjcdiLFMxduJQ9gEdReudlyQqpaYl3uD6o8N1fE8eHGUxlM39/uu+s2FwYGwwq462msq73+OXd4xEf+N8oplwmKHHwC5KK4NPyeV8208agCAVlRQxrGL8mqUl/lXMWy1OnmGYEIKjKDhUgbo4XlVN6rytbqMQEdtD90I6FgtM0GGTPZmjzA0NwKsX73xaWtp1qHIh7sQEryw9aVqgUdd/sGtksMdw0usaA1RCclmMoGIbs9sKisZPgqQr4JZB37csw== Received: from DM6PR12CA0005.namprd12.prod.outlook.com (2603:10b6:5:1c0::18) by SA3PR12MB7782.namprd12.prod.outlook.com (2603:10b6:806:31c::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Sun, 9 Apr 2023 15:28:01 +0000 Received: from DM6NAM11FT103.eop-nam11.prod.protection.outlook.com (2603:10b6:5:1c0:cafe::2b) by DM6PR12CA0005.outlook.office365.com (2603:10b6:5:1c0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38 via Frontend Transport; Sun, 9 Apr 2023 15:28:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DM6NAM11FT103.mail.protection.outlook.com (10.13.172.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.20 via Frontend Transport; Sun, 9 Apr 2023 15:28:01 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.5; Sun, 9 Apr 2023 08:27:56 -0700 Received: from nvidia.com (10.126.231.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.37; Sun, 9 Apr 2023 08:27:55 -0700 From: Xueming Li To: Gowrishankar Muthukrishnan CC: Brian Dooley , dpdk stable Subject: patch 'examples/fips_validation: add extra space in JSON buffer' has been queued to stable release 22.11.2 Date: Sun, 9 Apr 2023 23:23:35 +0800 Message-ID: <20230409152529.5308-28-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230409152529.5308-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230409152529.5308-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6NAM11FT103:EE_|SA3PR12MB7782:EE_ X-MS-Office365-Filtering-Correlation-Id: d715b6c3-593f-403a-90a8-08db390f019e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n8D+VGql+BJR0XVrY9UN7VjLnOxQjfacn4t2sMRSOkwn/SLRmaY4gICwtxcfXNM6e/1m9swiKPMkyR3E7PFcq44zlowmJiyuKYlHe7tNHg+P/3rjH/I/AqHzKr/mZ2cDUF7njyPXbQohNXqlpCl81/EH5GAGCqlPYLTqidGwDbJTAlwbYaVHfgk38vy5OGXejI7ddzdDFatOLR21XmiFpp80C5m84x5cD4ilGHMJgvHO1ZVbJPAGgoWm7VHYVMAnOUdHC6wAVFRbXxaMLlw4hKKZ5xCHZNNWNfuw9MZMeu1Hgyxg34+MOVts9p45uT+vO2lpk8/oXZO9xBBC64Gsm/DwIL2gbcOJtiMfO0O3Fp03Pw8L/59Ead+hsZaSHpYRiSLCIyuVVDel4+/b7EZQjfOKVtVOjcaIB6A/8ziFQE60G2mZu6uKMK/JEbPrrNfZ3E2qKXZrCzwxEHkLOcWaD9FDVB7Y+ye7z7Cmt+Z19bZhbk0h8d/mdw7g3MFh53kHPIuvKtdGLAQp+cyBVZrvpzRmAEpob4qjZWU68fqbc40YVCfNaopTsItVQRowpm/NVDl57vXsJ5/mCpUsE0sfhIvIdVZ3zt2Uxf0lq+ik/NMcJnliTbjGpEk7Du8zifJ5ihTv8tEPnHOVc61uSUDLvOKtHQjWvRa05bp0u9oGLueTUKV00X5F9UsptjXlXToAC764JpNC3JgcPdOwcucLZLur6lzS4ODkAxdt9hh3OPKldxzpn+eDquN0pCXO5B7GwnSazkUzrH35JChd/dSkQydhJqPKd9RpeTlW6eDJ2gbZgj+pRA3f4rKnljC2sWSOYi6x5BvxRymDE0Tjh/QE1Q== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230028)(4636009)(136003)(396003)(346002)(39860400002)(376002)(451199021)(46966006)(36840700001)(40470700004)(478600001)(7696005)(54906003)(316002)(53546011)(1076003)(26005)(16526019)(6286002)(186003)(966005)(6666004)(2906002)(4326008)(70586007)(70206006)(8676002)(6916009)(41300700001)(8936002)(5660300002)(82310400005)(7636003)(356005)(82740400003)(86362001)(55016003)(40480700001)(36756003)(40460700003)(47076005)(83380400001)(2616005)(426003)(336012)(36860700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2023 15:28:01.5800 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d715b6c3-593f-403a-90a8-08db390f019e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT103.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR12MB7782 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 Hi, FYI, your patch has been queued to stable release 22.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/11/23. 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. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/log/?h=22.11-staging/commit/995a6460b24d732d537e2712b8c56af690b10523 Thanks. Xueming Li --- >From 995a6460b24d732d537e2712b8c56af690b10523 Mon Sep 17 00:00:00 2001 From: Gowrishankar Muthukrishnan Date: Tue, 28 Feb 2023 22:58:56 +0530 Subject: [PATCH] examples/fips_validation: add extra space in JSON buffer Cc: Xueming Li [ upstream commit 904efb4cba8e661d6a09dc671baabea6d31ea9b3 ] Current test buffer to copy input data of maximum possible length did not account NULL character, due to which a last input character is always ignored and it causes tests like RSA SIGVER for modulo of 4096 bits to fail. This patch fixes it. Fixes: 0b65d54f3a4 ("examples/fips_validation: fix JSON buffer size") Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Brian Dooley --- examples/fips_validation/fips_validation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/fips_validation/fips_validation.h b/examples/fips_validation/fips_validation.h index 565a5cd36e..c4bb041785 100644 --- a/examples/fips_validation/fips_validation.h +++ b/examples/fips_validation/fips_validation.h @@ -244,7 +244,7 @@ struct ecdsa_interim_data { * Esp, in asym op, modulo bits decide char buffer size. * max = (modulo / 4) */ -#define FIPS_TEST_JSON_BUF_LEN (4096 / 4) +#define FIPS_TEST_JSON_BUF_LEN ((4096 / 4) + 1) struct fips_test_json_info { /* Information used for reading from json */ -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-04-09 21:45:39.505369400 +0800 +++ 0027-examples-fips_validation-add-extra-space-in-JSON-buf.patch 2023-04-09 21:45:38.609042200 +0800 @@ -1 +1 @@ -From 904efb4cba8e661d6a09dc671baabea6d31ea9b3 Mon Sep 17 00:00:00 2001 +From 995a6460b24d732d537e2712b8c56af690b10523 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 904efb4cba8e661d6a09dc671baabea6d31ea9b3 ] @@ -12 +14,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index c4988053c1..abc1d64742 100644 +index 565a5cd36e..c4bb041785 100644 @@ -24 +26 @@ -@@ -247,7 +247,7 @@ struct ecdsa_interim_data { +@@ -244,7 +244,7 @@ struct ecdsa_interim_data {