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 06D0EA00C5 for ; Wed, 20 Jul 2022 10:26:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0185D40A7A; Wed, 20 Jul 2022 10:26:02 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2044.outbound.protection.outlook.com [40.107.243.44]) by mails.dpdk.org (Postfix) with ESMTP id 3088E4003C for ; Wed, 20 Jul 2022 10:26:01 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AP8POOx0uN/wrgPw5/I0VgasBa3EYg8LEL3TXgwBdvZ9TYGYXjmPRoSH+8yEFu1D9g6N0ePBbnDXaii5SC9V6IdLfuWXkbZlE1VC+DrzbvX6ubjDJX3gM+UaDRa/qANuFEvcgsaGWHLDccKcUAHjrq1RVt6RBCN4/9uonpgLEOTM5LHaE4lR68J9IJA98QYusz0IEly4cDP85ExfUB3Rkb97Qi9eXTMCDCewIfCxH4jRpmEuACWt2pUmO009DNR+Ewv2+qTb5Q+YIAGir6P16A8fHB/wE20XogNUGx/rYI5xHpwkZ6FnSA0STL+MHqlNhH6P1RO+qzdwuVch2BDDqg== 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=8dRdoUNJINPcRuRn/3QUF0O3BFiPOS/Njdu8/6wUzP8=; b=G8TU2amnCMxc1hmDP1tNRg6nmeLyFDdfV9xNdNFETghMcehHU1OjkAS8O1lxPrZSaJFEkE8ZobrUTycocxN+F9pzvOGQKH9HDpnxfomQVc5ho6ypZRQd3rAke91AffXne8KfrSCBtXCo7QlzLH41boCwWwel6I6A1ony/VT6TmSmvyOmsaWzvnCJuUsU2B5eKeGokuD6SIgIxR4IfujEr9CnbUrNrdVjCoFQL0X0ntLMGmBJSmdN7lvvVhfGgo7TYQ5B6uhdYsX1AHwFUQg0P+rG+2+ZwHXHBQ9yLRKqGHYo9mTQuhfZQf9Kw+USJ9DIDun3vE5X7dmF85H2xuf8Ug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) smtp.rcpttodomain=dpdk.org 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=8dRdoUNJINPcRuRn/3QUF0O3BFiPOS/Njdu8/6wUzP8=; b=s4xudqrMovtsmyqIWbFFRX60ukugArup3aJ6sYebHOinKnDbKznfhos1o5oqZa8gK1zVlkl4solrnj07Wd7QUTFRd+t5UgIwwStVHD7Z5zStyzoI1e84MnXxRSbkz0ktgIxKfQ2o2kPSEDP+Dnp+SRiwxdcylLDXUwvLuCBEcCqo88+yaUP8Z37FPeZ0VNrfl9/MMSEd7SJIj2mLhBaSlTBehP15npglgTWeVcekXZGRou2ET/Y3RSqi94+TZzg8iuDlrzjMec7OyZwUt70SDcd6fIIYRZa81B6E8T3AEWcb98XGRAFdOce64B2XEEkf4zTKT/DjxhEpzP2PZuAnBg== Received: from MWH0EPF00056D19.namprd21.prod.outlook.com (2603:10b6:30f:fff2:0:1:0:1a) by MN2PR12MB4141.namprd12.prod.outlook.com (2603:10b6:208:1d5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.18; Wed, 20 Jul 2022 08:25:59 +0000 Received: from CO1NAM11FT008.eop-nam11.prod.protection.outlook.com (2a01:111:f400:7eab::204) by MWH0EPF00056D19.outlook.office365.com (2603:1036:d20::b) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5482.1 via Frontend Transport; Wed, 20 Jul 2022 08:25:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.235) 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 12.22.5.235 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.235; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.235) by CO1NAM11FT008.mail.protection.outlook.com (10.13.175.191) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5458.17 via Frontend Transport; Wed, 20 Jul 2022 08:25:58 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Wed, 20 Jul 2022 08:25:57 +0000 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.986.26; Wed, 20 Jul 2022 01:25:55 -0700 From: Xueming Li To: Ciara Power CC: , Pablo de Lara , dpdk stable Subject: patch 'test/crypto: fix authentication IV for ZUC SGL' has been queued to stable release 20.11.6 Date: Wed, 20 Jul 2022 11:21:15 +0300 Message-ID: <20220720082132.3954126-46-xuemingl@nvidia.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20220720082132.3954126-1-xuemingl@nvidia.com> References: <20220621080301.2315720-1-xuemingl@nvidia.com> <20220720082132.3954126-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: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ce827ec5-c16b-4a0a-6ef9-08da6a297954 X-MS-TrafficTypeDiagnostic: MN2PR12MB4141:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?aFUmDyWmLV3Og4xxlTBt/yfZ7fePmLVs4eNnb+ShZd7sThgzyb2/CuEjpPGM?= =?us-ascii?Q?CnUNCj9yGfhPM4APaJXtEjAqA+MsNffa3q5t6wIeN14hoODwEnCZ3xSgAKYa?= =?us-ascii?Q?W+/FRNye1qkmQrS0ewFqoDf9d65s14bpOYY2/pJivo7S7LKcWS45t7pBb6eJ?= =?us-ascii?Q?LLrGYkL0pqiy0grefmi/xSUp1i2cgbDZwBaG9tIv0uQAqloXVA6au+4Wi0oi?= =?us-ascii?Q?HT3dZxiRyyZfC2CSqLuhk2G10/Te5t18/MOyuBAP+77St5jtgE0N0VYVSnRt?= =?us-ascii?Q?by0VnkgajXIMMssqck8qya2EFdb/jWAOrrwh1+rEL4Tt1Oq8jo/84wRI7Z+m?= =?us-ascii?Q?U0H43tuDWOf68DKFvi5S9RLm/zkMFFmXqlwSSeVcfPr1yG4T8UAcM45WGq6/?= =?us-ascii?Q?mZZ9PJyAKpP8mtZw67RQNP39ioRgt8hCH8P1k13C+dWIzoXA3h1Z7TCf/a6o?= =?us-ascii?Q?GzKBaiu1CL02hEn+RBrlLNZIpt0RUuywOr30CGBBWNdxG1So09AV+CghH6fC?= =?us-ascii?Q?ggTpIycjeqzxB2v963AtjLn/l+jYUEKOZHChmwMbOjltMTAQNGD8a64Q/czC?= =?us-ascii?Q?7LcFD+5Dj0ZMT1qQ5l7578E0wK2DZ2nHFP06YbHNtEfD5GOfDXCJOj5spAmo?= =?us-ascii?Q?2gwRLLZK8LckH1NNnyquHBqPSwLK+mEo7wP6na8RZtd64RJe8V2W83h0TQfz?= =?us-ascii?Q?EHKNZaWhHKsBL/Uam8OjRoxDNnvfTcCS+kzH1rq/7t5BJqqD/dk95K/FLt8M?= =?us-ascii?Q?4j9KvR56n8FpX/L4CrTTsnQ++765QzfTj+OD56DVQgXeTQ9Qnol3zqWl3mn3?= =?us-ascii?Q?rhbzzQp5RvsR+0+KDSLLgtq9R8FQxgbN6TjRNcIEtRGEJNN4HYhyLYRlZndG?= =?us-ascii?Q?hVh0sBiRuX+E7LES1Lko5/Zgx/7lizwuaNgweEgsaCIs1yFNZsuztJQG4ZRV?= =?us-ascii?Q?80AjpEBZKNTFaoxcrvNXbg=3D=3D?= X-Forefront-Antispam-Report: CIP:12.22.5.235; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(376002)(136003)(39860400002)(346002)(396003)(46966006)(36840700001)(40470700004)(82310400005)(47076005)(426003)(336012)(16526019)(186003)(6286002)(54906003)(6916009)(81166007)(82740400003)(316002)(40460700003)(356005)(86362001)(2616005)(1076003)(70586007)(70206006)(4326008)(8676002)(478600001)(55016003)(40480700001)(966005)(36860700001)(83380400001)(53546011)(26005)(6666004)(7696005)(41300700001)(5660300002)(8936002)(36756003)(2906002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2022 08:25:58.7032 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ce827ec5-c16b-4a0a-6ef9-08da6a297954 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.235]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT008.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4141 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 20.11.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/22/22. 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://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/ed3866cd1099f8ad9fbd788e9e93c99ff7898b23 Thanks. Xueming Li --- >From ed3866cd1099f8ad9fbd788e9e93c99ff7898b23 Mon Sep 17 00:00:00 2001 From: Ciara Power Date: Thu, 23 Jun 2022 14:31:42 +0000 Subject: [PATCH] test/crypto: fix authentication IV for ZUC SGL Cc: Xueming Li [ upstream commit 5d170ccea5edb84eabff2c0e9b4b1df822615009 ] The wireless operation for ZUC SGL tests was being passed NULL instead of a pointer to the test data authentication IV, and IV length 0. This is now corrected to use the IV from the test data. Fixes: 11c5485bb276 ("test/crypto: add scatter-gather tests for IP and OOP") Signed-off-by: Ciara Power Acked-by: Pablo de Lara --- app/test/test_cryptodev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index c254650f39..a87e5583ac 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -6072,7 +6072,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata, retval = create_wireless_algo_auth_cipher_operation( tdata->digest.data, tdata->digest.len, tdata->cipher_iv.data, tdata->cipher_iv.len, - NULL, 0, + tdata->auth_iv.data, tdata->auth_iv.len, (tdata->digest.offset_bytes == 0 ? (verify ? ciphertext_pad_len : plaintext_pad_len) : tdata->digest.offset_bytes), -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-20 15:01:00.967067156 +0800 +++ 0046-test-crypto-fix-authentication-IV-for-ZUC-SGL.patch 2022-07-20 15:00:58.781000383 +0800 @@ -1 +1 @@ -From 5d170ccea5edb84eabff2c0e9b4b1df822615009 Mon Sep 17 00:00:00 2001 +From ed3866cd1099f8ad9fbd788e9e93c99ff7898b23 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 5d170ccea5edb84eabff2c0e9b4b1df822615009 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +22 @@ -index e6d8bcfb02..bd7e232847 100644 +index c254650f39..a87e5583ac 100644 @@ -23 +25 @@ -@@ -6562,7 +6562,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata, +@@ -6072,7 +6072,7 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata,