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 374DFA0548 for ; Sun, 28 Nov 2021 15:58:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 312E44068A; Sun, 28 Nov 2021 15:58:34 +0100 (CET) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2040.outbound.protection.outlook.com [40.107.96.40]) by mails.dpdk.org (Postfix) with ESMTP id 852AC4274C for ; Sun, 28 Nov 2021 15:58:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b5BnKEPH4uW3Sd9eBNVcocMOIhT0HPyGhHfidZ3TDcGvWURxksdbfpViBy63p13yt5P2fqiTj5AqnrtMmqN2nkuDsrto0WPER7y7fDzpEXuW88Q+rkE5lvhEe5yk8cKwzx5IM9K2/0eUMtX5/CNSbs0KvXGtUIGtEDVah7Lj6zAf6k+lszynB8ksWWICaX++gAxpFOQJg1QH/JMKsDkybqwduwNV4XmMriQny4x6mmX+V99Jg9hOpZeQNFwXdQGjgF2BkS0zzWRCYEzz7oOrT8SbRpbCfeZyDxB+3PWDMPYgjk12u2bEOILs52xjOfaDWrrPSLCCCLNdOlZ6cOu91w== 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=w0t7K6JGTkvFEN8dlL+cUJ9u5o2fQRy2FfU1Yh3mz7A=; b=hblxvOR19GAYaF/H6kd5U6LXCAfMDiQ+UKI68DPE/Z6p00Bib2PJ8U1cuKoZACoR4Ha2tfGSYohyiEpi29lHFs1ax70V27ByWJQZ4m5aJOhQA3Ef+G096ESTevRfKlwLme4xsE/BisL7XS60LXMGk7JHH9mC8rxSqa3JvN2oKAvYU/b/ReSKCOuFxE+qUaj3x1X3K+4x9M8e1FFElaPIfX/lbRRtY9IMfSN6A/z5J98X9aMcPnKyRfxUEiO5k85+AKRaWdQNEYg+NVFvgtJHA/gUX4opiuXon4RRlobHgETG5bEliix+bkOvs+562UGV7YwAVKkIFlcOI69IxKMPXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=w0t7K6JGTkvFEN8dlL+cUJ9u5o2fQRy2FfU1Yh3mz7A=; b=nGYtXkjugAzqTxPSiilr0MPCMPR/R32LYaQuEyVN1Hyfu9Z15ClV82MZ2pKts/EaZj/3d62OMPU8iS8G7tK3NHRxbF9QkHDO4MrbEAwd63hYiLc4ncgwDPFlFZ+ZO1pyQascCCAm01hTi0eSu3b9AsVrxq5EnW++KemQgtPBVmWA5NXmsWOtoLVT0speP4l4manFIjf5OtiOLAoJQbrIQIOjRQ1vpZ7VyzBxBwA2KMlaWh04oY1DThioY2u25mYH1BioNjuLAAk/0DF1coh6C5rE9GxuaVwTk2rJJUv5mcm6Jq076upzbnp2WC8UhmpO+RFEMKXz0zegxVP0gZP4Hg== Received: from BN0PR04CA0084.namprd04.prod.outlook.com (2603:10b6:408:ea::29) by BN9PR12MB5323.namprd12.prod.outlook.com (2603:10b6:408:104::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.23; Sun, 28 Nov 2021 14:58:31 +0000 Received: from BN8NAM11FT060.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ea:cafe::ef) by BN0PR04CA0084.outlook.office365.com (2603:10b6:408:ea::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4734.21 via Frontend Transport; Sun, 28 Nov 2021 14:58:31 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) 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.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT060.mail.protection.outlook.com (10.13.177.211) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4734.22 via Frontend Transport; Sun, 28 Nov 2021 14:58:31 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 28 Nov 2021 14:58:28 +0000 From: Xueming Li To: Anoob Joseph CC: Luca Boccassi , dpdk stable Subject: patch 'common/cpt: fix KASUMI input length' has been queued to stable release 20.11.4 Date: Sun, 28 Nov 2021 22:53:38 +0800 Message-ID: <20211128145423.3974892-35-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128145423.3974892-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> <20211128145423.3974892-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 028727b7-60f8-4b20-9e85-08d9b27f8b37 X-MS-TrafficTypeDiagnostic: BN9PR12MB5323: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HPfZtkvo9YHY7bm6fgM/iktaW2ZTZYeQJeMYHuZz667lvXD9MWp0e7qmYvWcGB24HkV1mEZWh8SWHqQ5TBsZYzVz1Oqhbtn/UIHxYS0j3/YN1sOYz686YZk1xRBfAeK5UfsLETwZ5CYnLfx5Q8FBWFKhTEJNWTdDPoiDMmvrSShNyC9CT4qhheo5D/7frr3+SkoT6wrfSholC0LO/8iGDsVKUYWPWq5+d2j3wNhBDlncBlKKUk8cme70YeW5SEvFOlIZqDvUn4GczGMRkVZsD8P0FJeAwZqGnun7wzIdV9FWRoA4n7k/Aro7fCUWWU+VH1j88cP90j7foRn85Was5FkRoeL7kNcaCeA4SgMDBzntWD5EB2Yz4kXj+4JGDHBCd57vUkjb3Qdysh1jxVWPZkZJ2/oS3cCSec0iCfnpj0P5ZuYYLDPljJ0JwGT/t799z4EZty3mJoxJzKufsZ5rFioh2qGEUBZ71cYmYMfqPzycd7q1TE9AdUt9qiemC+I+PZUJKkjrXQubAA3m2bY+V5A01x2ToN2Uu3zcRlpJzovH9ha7SKT1Kvb+yxocBI93M1K6to/0c7WFc/pQO3cKwlW88XCe5EPKQPocc1u8LCxHF3lgo8D+ZwErrs9+9Ek0iwvuziiCPxptH4pRaBf3Vt94/lcrB7Qw/rnKKHymN0oUhRq0SGusDg7mkoj/axt6XmWkx4pydm4Gy+AAymq5ffnBM1XneQo4o/XD+TzcCJzMTNx2lZyobRDWWnKKDJu9Ml49kfV/wCXPqv2JdhlT7CSTcfNmU8hBFJgLtoAJZOxr83qHS0Q82czW5SFBWYXsH7n0khWAvED8d9K+EhDGDQ== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(5660300002)(47076005)(4001150100001)(70206006)(966005)(55016003)(82310400004)(54906003)(6916009)(16526019)(2906002)(7636003)(36860700001)(7696005)(36756003)(1076003)(316002)(2616005)(86362001)(356005)(508600001)(8936002)(336012)(6666004)(53546011)(4326008)(426003)(8676002)(83380400001)(186003)(26005)(6286002)(70586007); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2021 14:58:31.4145 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 028727b7-60f8-4b20-9e85-08d9b27f8b37 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT060.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5323 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.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 11/30/21. 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/0619333182a0429a6450bd41324c0c12158c7e92 Thanks. Xueming Li --- >From 0619333182a0429a6450bd41324c0c12158c7e92 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Thu, 11 Nov 2021 17:18:42 +0530 Subject: [PATCH] common/cpt: fix KASUMI input length Cc: Xueming Li [ upstream commit d937e872023373266e21784027938851533c6459 ] Fix kasumi input len calculation to consider encr_offset. Fixes: da39e3eccd3d ("common/cpt: support KASUMI") Signed-off-by: Anoob Joseph --- drivers/common/cpt/cpt_ucode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cpt/cpt_ucode.h b/drivers/common/cpt/cpt_ucode.h index 0536620710..9c22ee75d2 100644 --- a/drivers/common/cpt/cpt_ucode.h +++ b/drivers/common/cpt/cpt_ucode.h @@ -2248,7 +2248,7 @@ cpt_kasumi_dec_prep(uint64_t d_offs, /* consider iv len */ encr_offset += iv_len; - inputlen = iv_len + (RTE_ALIGN(encr_data_len, 8) / 8); + inputlen = encr_offset + (RTE_ALIGN(encr_data_len, 8) / 8); outputlen = inputlen; /* save space for offset ctrl & iv */ -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-28 22:41:05.146807681 +0800 +++ 0034-common-cpt-fix-KASUMI-input-length.patch 2021-11-28 22:41:03.273541825 +0800 @@ -1 +1 @@ -From d937e872023373266e21784027938851533c6459 Mon Sep 17 00:00:00 2001 +From 0619333182a0429a6450bd41324c0c12158c7e92 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d937e872023373266e21784027938851533c6459 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -17 +19 @@ -index 006411cd89..e015cf66a1 100644 +index 0536620710..9c22ee75d2 100644 @@ -20 +22 @@ -@@ -2311,7 +2311,7 @@ cpt_kasumi_dec_prep(uint64_t d_offs, +@@ -2248,7 +2248,7 @@ cpt_kasumi_dec_prep(uint64_t d_offs,