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 94B0B46532 for ; Tue, 8 Apr 2025 10:04:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8C2C54027F; Tue, 8 Apr 2025 10:04:02 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2071.outbound.protection.outlook.com [40.107.236.71]) by mails.dpdk.org (Postfix) with ESMTP id 3E3134027F for ; Tue, 8 Apr 2025 10:04:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=sKemWFIS3sY9i6vUo9jqAKD8aGGTrRnfyeTIx/eSCDf223R/t+F6nw/nqHWV1ZEi4mYjzxcjDWQzbZ2P16mEnB8IQxhmeoJFpxiiENhGNoCV8Movxeppbgz8XTuC8oLDKGfTYJeQxFDRhgzLKescWXZZ3Oa9K/BPL/4Q5fAeRC959lkfUvbM0HZDiU9T8OQ7ZFixVzqZ6fZ60G+7KryP3KFrCwiQAhfYKMB5lcuVP9hlwW2yoc6FwlX3AEv15IjwTXGaqell8kGSROpWRh4iWrGiPl1uFAYZXPq4eiakFSu2hJxD048QKgr0G2DVFxgmoWK8BknaFZkhU5gz/KOylQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=FVeMeq1S60dWAKiSKCe4Jof0ZDcFQ7kaIJY1s+9dbZU=; b=gaEH+pz2UHQqL0eLFggownPf5p/y4i/jfawRgm/YhcsIYTYX5EV3eQ4/yXiEZ/YHil25hk6Kwy7qJVDUTc7PKA7wBEHalXGJJbGZAYXa80DvKjOe0YKQdDYOeCEtfH7lijoBNsxZZDdbdFUl6FjbmkZ/xWipsjnpSxBAZaQ3BU4yC+7lMJxa064Wv4QVpByKnhxS9pdtLFDRXUzQa4UDobhX63zO91gqAmtzFADqIwrDBD65aqiRi26P5/yAqd7xoof9IB8/xi4eDiqdG7e+D+5jNK5k3U2TAFTgYIb8GOmdzauOp5HnA/rLztWJbiO3hiLMHkoOeO3k4Rukz/1zmg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=jaguarmicro.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 (0) 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=FVeMeq1S60dWAKiSKCe4Jof0ZDcFQ7kaIJY1s+9dbZU=; b=ajbri0L5Ng7XMIayANjXMs4WxlVk0x6HsuE7WPoTFfy2hPsbECR/C+LnqMqk0ISA9DuIv5RXm2BynVHR/trtqBYMN4LpF2ckM3PGpo8Ms87Mu6RPoScFlh8arwvujVGUJn9WSZAZXs+AC1aQ4XAHJQO5/jzU81/+GYEaiAig61Oy1lPTdrHCf0VoO43Znx8tJTUajqTiuEzSsfCPkVznElcYy6diNib83MYodRgn6Az4cGnaw/XuVbA7ogBtDRsSa1eu/cA2G5JwDFI+0KBd6AikTtNe2BKKp2nLQffYgEkYpyD8a4sbvJV1dyw8nOxqCC2a4Bkp0oSZoF5Pcj2G/A== Received: from CH0PR03CA0313.namprd03.prod.outlook.com (2603:10b6:610:118::34) by PH8PR12MB7424.namprd12.prod.outlook.com (2603:10b6:510:228::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8606.34; Tue, 8 Apr 2025 08:03:58 +0000 Received: from DS3PEPF000099E0.namprd04.prod.outlook.com (2603:10b6:610:118:cafe::28) by CH0PR03CA0313.outlook.office365.com (2603:10b6:610:118::34) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8606.35 via Frontend Transport; Tue, 8 Apr 2025 08:03:58 +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 DS3PEPF000099E0.mail.protection.outlook.com (10.167.17.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8606.22 via Frontend Transport; Tue, 8 Apr 2025 08:03:58 +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.1544.4; Tue, 8 Apr 2025 01:03:46 -0700 Received: from nvidia.com (10.126.231.35) 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.1544.14; Tue, 8 Apr 2025 01:03:32 -0700 From: Xueming Li To: Shaokai Zhang CC: Xueming Li , Joey Xing , Akhil Goyal , dpdk stable Subject: patch 'test/crypto: fix AES-ECB test lengths' has been queued to stable release 23.11.4 Date: Tue, 8 Apr 2025 16:01:48 +0800 Message-ID: <20250408080214.371154-10-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250408080214.371154-1-xuemingl@nvidia.com> References: <20250218123523.36836-1-xuemingl@nvidia.com> <20250408080214.371154-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] 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: DS3PEPF000099E0:EE_|PH8PR12MB7424:EE_ X-MS-Office365-Filtering-Correlation-Id: 3e139602-76a6-4ce8-a1d2-08dd7673ea65 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|376014|36860700013|1800799024|7053199007; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?lqbtkhQyaMYrAxgrPLC2gqS/wPK+p7p4KdjuwCOKkxsViFMBJWqXb4K5XnTf?= =?us-ascii?Q?NRl52OtSQYR/tmoo9K7QmIT/vXCpidmRPdcV5e8N77RgdM34g5Li3H5kw8fr?= =?us-ascii?Q?zlMzHGUTxCLojWE4iyH7IqTWN9mkj1eia/UEyMoOxul8zfcsjRDEFd7uFjng?= =?us-ascii?Q?0Vrk/cZT1b4B/D/LCiKdeYQYTXz2KogmwbWB3FhYhvHzsdA8RxO+pnJf0iIH?= =?us-ascii?Q?S1NdYYrpBjIJhyXkZZ6a3h1HxssQul3Kv1qh2KcIuneRU+q9Qr42Q2KAgVOX?= =?us-ascii?Q?+PvF4i+TADNlSti2+6lKLLyKwwt51iJ1ff0WZ2Hdq7lti07hJ6rdefFHmifr?= =?us-ascii?Q?h1oHzZdia9/tPFRMHjQJLr9AYCgGVkMmuc0nr/Q9G+TSR3/Q03anOYiHACG7?= =?us-ascii?Q?lMvOV0PY7JUrshhNomP0mwZ/pactApp/qg3D3LTtYBtTGtJvrXKgqmDPfalP?= =?us-ascii?Q?PFHO3w8em8FFHoxhdbc5zO0QMeYaQ/UvhxUPy+i9K7o6++eZlT9rKfJxgf6L?= =?us-asc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WiR5u79LdGg0DUHdBKmrV1?= =?us-ascii?Q?d8q/mr4iH9gyS5vwjbhFGr1LES3gmKEKMNWEdgTTOY8b1DcwRMYBfPrgwveH?= =?us-ascii?Q?M8tKqoiFaoY1oxznCS6n6KrnvCvHtKOJFKbkEuxNV+isHsJTkhqu1nmW3Q?= =?us-ascii?Q?=3D=3D?= 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:(13230040)(82310400026)(376014)(36860700013)(1800799024)(7053199007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2025 08:03:58.0761 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3e139602-76a6-4ce8-a1d2-08dd7673ea65 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: DS3PEPF000099E0.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7424 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 23.11.4 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/10/25. 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=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=6302c7969908210cbc261eabfde781aa29bc71bd Thanks. Xueming Li --- >From 6302c7969908210cbc261eabfde781aa29bc71bd Mon Sep 17 00:00:00 2001 From: Shaokai Zhang Date: Thu, 16 Jan 2025 16:35:48 +0800 Subject: [PATCH] test/crypto: fix AES-ECB test lengths Cc: Xueming Li [ upstream commit 4d6b2633b030f6b469c78fd00f012c8192979332 ] The test vector aes_test_data_19 plaintext is 192 bytes and this vector is used to test 192-byte plaintext, but test vector plaintext.len value is incorrectly assigned to 64. The test vector aes_test_data_20 plaintext length is 256 bytes, but testcase comment incorrectly describes it as "192-byte plaintext". Fixes: c94c520b4163 ("crypto/aesni_mb: support AES-ECB") Signed-off-by: Shaokai Zhang Reviewed-by: Joey Xing Acked-by: Akhil Goyal --- .mailmap | 1 + app/test/test_cryptodev_aes_test_vectors.h | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.mailmap b/.mailmap index 90b3d473b7..95d09b8ced 100644 --- a/.mailmap +++ b/.mailmap @@ -1317,6 +1317,7 @@ Shally Verma Shani Peretz Shannon Nelson Shannon Zhao +Shaokai Zhang Shaopeng He Shaowei Sun <1819846787@qq.com> Sharmila Podury diff --git a/app/test/test_cryptodev_aes_test_vectors.h b/app/test/test_cryptodev_aes_test_vectors.h index 7127156cc4..505e603b7e 100644 --- a/app/test/test_cryptodev_aes_test_vectors.h +++ b/app/test/test_cryptodev_aes_test_vectors.h @@ -833,11 +833,11 @@ static const struct blockcipher_test_data aes_test_data_19 = { }, .plaintext = { .data = plaintext_aes192ecb_192bytes, - .len = 64 + .len = 192 }, .ciphertext = { .data = ciphertext_aes192ecb_192bytes, - .len = 64 + .len = 192 } }; @@ -5103,7 +5103,7 @@ static const struct blockcipher_test_case aes_cipheronly_test_cases[] = { .op_mask = BLOCKCIPHER_TEST_OP_ENCRYPT, }, { - .test_descr = "AES-256-ECB Decryption (192-byte plaintext)", + .test_descr = "AES-256-ECB Decryption (256-byte plaintext)", .test_data = &aes_test_data_20, .op_mask = BLOCKCIPHER_TEST_OP_DECRYPT, }, -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2025-04-08 15:39:06.699525631 +0800 +++ 0024-test-crypto-fix-AES-ECB-test-lengths.patch 2025-04-08 15:39:05.936436578 +0800 @@ -1 +1 @@ -From 4d6b2633b030f6b469c78fd00f012c8192979332 Mon Sep 17 00:00:00 2001 +From 6302c7969908210cbc261eabfde781aa29bc71bd Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 4d6b2633b030f6b469c78fd00f012c8192979332 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -25 +27 @@ -index 3ea758ca12..b3ffe83f46 100644 +index 90b3d473b7..95d09b8ced 100644 @@ -28 +30 @@ -@@ -1396,6 +1396,7 @@ Shally Verma +@@ -1317,6 +1317,7 @@ Shally Verma