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 E812D41D8D for ; Mon, 27 Feb 2023 08:07:37 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DFEC940A84; Mon, 27 Feb 2023 08:07:37 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2074.outbound.protection.outlook.com [40.107.94.74]) by mails.dpdk.org (Postfix) with ESMTP id 4B99B40A7D for ; Mon, 27 Feb 2023 08:07:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=liPORxIsUfofjEyiiNnG8kkNtx+1qVuwIfaFqXVWea/5zXOpIdFlnDzCsmFN0YM786fl0zWOZQN+FVntCDS00iSR/lhb1pCoyB7IrfdTYUSjJD28SCCNDvI6fEeMDFDxGJ+9u6IS62unmfVRINR6gdHFqFhOTkO18887zk3H4TWZzw4t7wuj/AJytTW2ufiHSBm5cVx/kgPZZNMZDVD4COU0Bm35q6v+uaFlzgl6jEoQePldsfwHHCMw9Jof1kvWDSFkiDgTwM1pKx4Ikt8jnPT2TV+/V5MX0EWwDY5HPddDzohq1qTLGwNdhJkzVpFs1W5jPsi0GvMOXrBf3JRW8Q== 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=yjtG25vRiaxR2Tcl9N/rWy0S+RSih5TsKdgUN+72+04=; b=DFxOm7uVhQyhCJKSrq7SINa1xiOMWUcgzURPuLsPRt47XOzXIrDfmwfU44LOHc59AygKqcJZ1t4OVgk0Q9NIRbX/gPhqawgyomPbUbGxStVVftl6Fk9h7Qx803thdJVU8aD1MObcOHHHo5UhgvPtGb8EG438Qn0ncG03Adoxxyb2PX+brUaVmrOW+yPf6IfdyVHLi6aquFWKK16T2EbXqCvPPmDim7X9dLzHIhkzB47ybgYJ8F/XxRoZpNasDxWTqQ8SMkroWYyX9CeDP+YME/85b7pFXNZH81OMH47oC7qKXy91PLOndHhKG+jnnL8ybRW11Y511GE2i3Xij93svw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=yjtG25vRiaxR2Tcl9N/rWy0S+RSih5TsKdgUN+72+04=; b=uCtzlNuYjLn8z2vUfo0upyd8cGNY1Puda0jXW4tZASzjltk6oU57QzCmjCzfFxRSXgw3AvjttG57LF+7VtUpxzGEmoXe/hJih4E/rZrNYkhZiiJnqBYhRh/Dc7lScA+KvH3VIe5p0VjeMRpMFFa0MLG10/HKuZ48woHbirNtla8FD/OZAckgDi6DHtWsLN74HCvHC7kXP709I2/MQYLsDnc/MTvYYhx/Ee3KpJW0wZZv0cp0wHTNMMlajn0Lzz/deecQngumqCeoYuEHSSf4Yj1aS30JOakyubk7hWsGjbGzRpvqr3ZKUnZ551i421hoDUkjnJqVOVwpog8KSK7P7Q== Received: from BN8PR03CA0034.namprd03.prod.outlook.com (2603:10b6:408:94::47) by BN9PR12MB5339.namprd12.prod.outlook.com (2603:10b6:408:104::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Mon, 27 Feb 2023 07:07:33 +0000 Received: from BN8NAM11FT079.eop-nam11.prod.protection.outlook.com (2603:10b6:408:94:cafe::97) by BN8PR03CA0034.outlook.office365.com (2603:10b6:408:94::47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:07:33 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) 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.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN8NAM11FT079.mail.protection.outlook.com (10.13.177.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.12 via Frontend Transport; Mon, 27 Feb 2023 07:07:32 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sun, 26 Feb 2023 23:07:22 -0800 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, 26 Feb 2023 23:07:20 -0800 From: Xueming Li To: Volodymyr Fialko CC: Akhil Goyal , dpdk stable Subject: patch 'test/crypto: add missing MAC-I to PDCP vectors' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:24 +0800 Message-ID: <20230227070107.15664-56-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-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: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT079:EE_|BN9PR12MB5339:EE_ X-MS-Office365-Filtering-Correlation-Id: a4ec0934-21e8-433a-c85b-08db18914c1b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DhSVCjMowB68Vi2sHmzjNMNElBwBpBwrW5YzijpI53ugGaDAqN9/+zFzevieKY6+W7MIqIZfddhmu/flHLCtFHB6Ow2OxObD4qaBlSxdaDVri1ZOpyMK4lCnaP+anCyQs92usiWTREbukUxcAiszWCn1RQb4NKqpNqIAZ2dl53cqM8vQCKairCUuQqKcOt3f8fo80L99pafeWz3JddZtQMF774JVuLLQCQfLRnWNpkg5U7F2Dxz4D+YNjIYvO412Juc/ILpOGSasiGUzvmgzlvyG1K7M5vo2jpRPi6A1HnuBY50SzWParV/3+BAv+RdJaen8zcM9DE5OrPHFSmOC7sdNGeegIaBxUYIKCrTUXdxlcZpiMQlPZkmqJKyHnUy5Mzu45t3aSzFStE7JuaVe9nciYTzdzlgOsPaUsSORGmlOIkAGkIdoiTGQXNzdeNrUVzMCnSS1rYy3KqMlcrc1NpQ9tj2qVgC8OZ2LW2tL1HxEXHYhKgbeICqzEvfXjr17c1/USwJSQXKajE8y/shBzuE/XzypAhFox1byjEoiY9f79iPIJ24QX0bJroPIJ4io4ogzFfRxwDx2YPqgpktBfipJ5d0m+68nE3BYXOykSPQ1DNHyqPDxkbIiZsSo/OSHkKpk90F1zpQD8/ePyLWP7XaXMD5SRAXdXVxhSu8TyOSif+4Qx8KS2jLTl3iKhhCqrPTBHEjrPuFK1SGQk59tWF0JedVWvFRV/UKTsBHjDpP7a7tAPv3OKhdlzzLOSQNpsv5bqrM/jE1fQb1yiyIlA/OGA/051QRIktYzGCNd8OWD4jgQJuJxBHcipfDKQF/C X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(39860400002)(396003)(376002)(346002)(136003)(451199018)(36840700001)(46966006)(40470700004)(36756003)(40460700003)(316002)(54906003)(966005)(478600001)(5660300002)(2906002)(8936002)(7696005)(70586007)(70206006)(8676002)(4326008)(6916009)(41300700001)(7636003)(82740400003)(36860700001)(34020700004)(356005)(86362001)(55016003)(40480700001)(6286002)(186003)(26005)(16526019)(2616005)(53546011)(83380400001)(82310400005)(1076003)(336012)(47076005)(426003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:07:32.7239 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a4ec0934-21e8-433a-c85b-08db18914c1b 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.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT079.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5339 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 03/01/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/commit/?h=22.11-staging&id=cbd714b1f9049bca073a4178e945e6c1bfa31837 Thanks. Xueming Li --- >From cbd714b1f9049bca073a4178e945e6c1bfa31837 Mon Sep 17 00:00:00 2001 From: Volodymyr Fialko Date: Tue, 24 Jan 2023 17:39:24 +0100 Subject: [PATCH] test/crypto: add missing MAC-I to PDCP vectors Cc: Xueming Li [ upstream commit 7b2ae9efa223b220f4699c1940a6ed530e063bf8 ] Existing PDCP 12-bit C/U-plane output vectors with NULL encryption + NULL integrity do not contain the MAC-I (32-bit of all zeros according to the specification). Vectors for other SN length (5, 18 bits) have the MAC-I set. Fixes: d883e6e7131b ("test/crypto: add PDCP C-Plane encap cases") Fixes: cca7d1f78524 ("test/crypto: add PDCP U-Plane encap with integrity cases") Signed-off-by: Volodymyr Fialko Acked-by: Akhil Goyal --- app/test/test_cryptodev_security_pdcp_test_vectors.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/test/test_cryptodev_security_pdcp_test_vectors.h b/app/test/test_cryptodev_security_pdcp_test_vectors.h index 6fdc4cd9e3..56d4884529 100644 --- a/app/test/test_cryptodev_security_pdcp_test_vectors.h +++ b/app/test/test_cryptodev_security_pdcp_test_vectors.h @@ -5560,7 +5560,7 @@ static uint8_t *pdcp_test_data_out[] = { 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, - 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x00, 0x00, 0x00, 0x00}, /* Control Plane w/NULL enc. + NULL int. DL LONG SN */ (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, @@ -5568,7 +5568,7 @@ static uint8_t *pdcp_test_data_out[] = { 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, - 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x00, 0x00, 0x00, 0x00}, /* Control Plane w/NULL enc. + SNOW f9 int. UL LONG SN */ (uint8_t[]){0x00, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, @@ -5954,7 +5954,7 @@ static uint8_t *pdcp_test_data_out[] = { 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, - 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x00, 0x00, 0x00, 0x00}, /* User Plane w/NULL enc. + NULL int. DL for 12-bit SN */ (uint8_t[]){0xA0, 0x00, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, @@ -5962,7 +5962,7 @@ static uint8_t *pdcp_test_data_out[] = { 0xC2, 0xE2, 0x91, 0x91, 0xA3, 0x9C, 0xE6, 0x30, 0x69, 0x70, 0x33, 0x8A, 0x15, 0xD0, 0x36, 0x47, 0x0E, 0x8F, 0xEE, 0x2C, 0x96, 0x0C, 0xD7, 0x7D, 0x70, 0x1B, 0x01, 0x7F, 0x96, 0x46, - 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD}, + 0x53, 0xB0, 0xA4, 0x7A, 0xF9, 0xDD, 0x00, 0x00, 0x00, 0x00}, /* User Plane w/NULL enc. + SNOW f9 int. UL for 12-bit SN */ (uint8_t[]){0x80, 0x01, 0x86, 0xB8, 0xF8, 0xDB, 0x2D, 0x3F, 0x23, 0x82, 0x53, 0xFD, 0x37, 0xDE, 0x88, 0x63, 0x08, 0x4F, 0xD3, 0x71, -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.742989600 +0800 +++ 0057-test-crypto-add-missing-MAC-I-to-PDCP-vectors.patch 2023-02-27 14:08:40.779237000 +0800 @@ -1 +1 @@ -From 7b2ae9efa223b220f4699c1940a6ed530e063bf8 Mon Sep 17 00:00:00 2001 +From cbd714b1f9049bca073a4178e945e6c1bfa31837 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 7b2ae9efa223b220f4699c1940a6ed530e063bf8 ] @@ -13 +15,0 @@ -Cc: stable@dpdk.org