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 61A81A0542; Tue, 31 May 2022 09:42:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2372740A87; Tue, 31 May 2022 09:42:32 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 82DB1400D6 for ; Tue, 31 May 2022 09:42:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653982950; x=1685518950; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zXAr4u9kn39j0L1rHfb7VmTMoLBQ755M7FckfBGXerA=; b=NxJKGAsqrHKTihRnTOP0rOXgR7HqpjsN7R2KLmqf3ZjhL8W8DnUmqtdY KogfpEl/5zLqmq4EabU5+1ZFmyhj4xKLE/h7p5SOb5ddxLvQgP7zmNeH7 MGz2v7RF7wClb5uhl3DJiAfD7VfdMefsEZllzyGm+OrgSgHDALV3MrxuY hcsj7jkuD1OEzF6pmx0zsXFRwAdGgNcP519yxk+f3gr+1c8XgTf2vqD9Z LKhcYkvOjJVRomiA5W87eMy+V1NWGNZlenpJe+Z73b6KVV8yEoGObFJYG 1clofvf/2sUgKd2RnCzwI/j5A7kwESotWdwi8L5DDNyq9uvDH1GpYgGIX g==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="274897201" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="274897201" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 00:42:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="611718105" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga001.jf.intel.com with ESMTP; 31 May 2022 00:42:27 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 31 May 2022 00:42:26 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 31 May 2022 00:42:26 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 31 May 2022 00:42:25 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LApT01rbXIdr2Z5whJ8b+/wjJjk9DTP772mmNIfJk36PwozFWZ3/QWX+OUYflouq+zAwDP2Y+ONyhpdNjJbg3FP3Z1BnSQ4E60J97tiuNAtdekiCh6FuY5oAxw0/wnPZsBj+154HrKg3smohZgXpV87iJhrHhgbqqfhWqGkjHW/NGVKHmRaSn5OCvNvoD8kCaqZVRGitmQd+5Hut3riyYdhfZCaiNkbaHzYnW42ZygakD9MAVNhGKIGAc7yTEeE8kGyd0YhVn3QtYJKrEzjT4UTk5c7gOj9VQvvVewThP8uqFDfqNVf9DyRk/ICJA2uT6cxX6kFDRkGhbgYlbRwJbw== 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=zXAr4u9kn39j0L1rHfb7VmTMoLBQ755M7FckfBGXerA=; b=H+zQXJR9VWAECF2jXxNVJRyuoDgZhLR3sOwQB/YvA193ZAlppTNwkA+R0Y1p9ypZGnELNNvCcURw1nGavMyBoO2DnrkOYEfnbAPBely/uJFNao/UrXcZsJegmt6bKiCI2s24Z9rx5u715BNuZg0ASor85u+74JKnsOw2q2oXhuphWbuLbqIE/+5nhYqxj82UhPcC6ldOAanCBQB9GCuaiJMZluvsNpShOP3YI94zvGfy7w8LZMDy98kl1sCDfKAjLqq0gso/cyVSDtT4z16Nrs8mch+dBn838VsWaY0yUQVqonrYGxhcaPGzGir/wAJIDd9eYTw/s/S493/esqWWhQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by DM4PR11MB6453.namprd11.prod.outlook.com (2603:10b6:8:b6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.19; Tue, 31 May 2022 07:42:24 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::d070:886a:efa9:7ae4]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::d070:886a:efa9:7ae4%4]) with mapi id 15.20.5293.019; Tue, 31 May 2022 07:42:24 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" Subject: RE: [PATCH v4 09/12] cryptodev: clarify usage of rsa padding hash Thread-Topic: [PATCH v4 09/12] cryptodev: clarify usage of rsa padding hash Thread-Index: AQHYdK0ctk8BKzcnDU+WP0BcnGSylK04mVWQ Date: Tue, 31 May 2022 07:42:24 +0000 Message-ID: References: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> <20220531040439.15862-10-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220531040439.15862-10-arkadiuszx.kusztal@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 04d33f54-4bb7-46b8-70f6-08da42d91a56 x-ms-traffictypediagnostic: DM4PR11MB6453:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LW2NH71gr8PHp9iQ0DUk99r386L4p3ATUqbolQX1c2U0abU8aH9QFYXTl5QQ3A8kV/cpUaguuyZds2RTq1BbPCvmqv2/HsvJ0SL8LmDMap28x9/Ba21m79qXn6+A5eJMrmFeUsTaDEPGrG+NULAI6kJCbEVoeJKTyRGFXL98N9nump64X8pPSRmANB/aSLYtMRO+2DOSizCDtgBrF8jE0mawPJ+rmmP7ZMJpviOxvDPi4KBJ8B972bhXZInkqyWKPt3sej/YARFLxaP/URKOmiI2zm2ZKgwt7wcgGeoh32VdhuEoUX6rfwvBDZE6wTbrzYgZEwHEd7Wr4HHFIbi0TauoXHbSyW2EsAGdL/9xi7crpyQrhK642QcEAvpX3paigmJXUQsQEhE4d5UXXED5V0ngHYbYmc/ZwU/JytNkk8toavvtyENWPrEtSXWKy1jEqeKDKvf8wTJCipBH2tySlZxDUz179tgxVN9a+1x9gGKatVI0eX+pPKehgo4aGQud5ZlKC6cAgWv0gXa6KKTqUbvCTfIVa021aT7Imey8aYlJxU7dDrTb18UplFixVuJd2Vd3CJBGgVF3Yze6R8tQrTkjrQUNDj2r68iJZOhepy/tHTFmGU7M0+M4IMuPnPFg0lwBbqZbCkjKZpAxCt5oXXixrUxruPVDQE1+bPoFGiqEHMnB90h6wqOVfKzvHOviBK/RvhGOSAH4oq9eZStMPQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(2906002)(83380400001)(52536014)(508600001)(5660300002)(4744005)(6506007)(71200400001)(122000001)(7696005)(26005)(186003)(33656002)(9686003)(86362001)(38100700002)(4326008)(53546011)(38070700005)(8676002)(64756008)(66556008)(66946007)(66476007)(66446008)(8936002)(55016003)(110136005)(316002)(76116006)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?Jw1RxjHlfweJs6yvZI3tTdvD7rxOBHlsoxPoum76Y4XD1byCC4K0DDZC?= =?Windows-1252?Q?7r39fS3p3EkUOAueV4yKRgtKQLoLyrQYbdsSUDJMSf6ey5aKm7edrpCi?= =?Windows-1252?Q?hYVq3sr3lm6fnc6eT5W8JFuPfzuhly8H0sUe2i5oLK89odMs+gb3VJK6?= =?Windows-1252?Q?MOs7NbzVZGVL0IGxeegWKeSiMQYCbrnELwx+urpx5CcfxXpoBijOwFKU?= =?Windows-1252?Q?lS3bLfgKzJZYD0noGMBs6ISFXfusttoTvK7UqQtVWtKlwLX3Xb5GcvOD?= =?Windows-1252?Q?xd7vLIda1zkMwIw/IefCYdig9dDamFIWunFoGAOORIUQOYMmcnpyKjon?= =?Windows-1252?Q?OG8Go/Szf5CrvvPGqBL7Wuj8UAgYf+hP/XipOnyHFbM3+nxrha9GcArA?= =?Windows-1252?Q?J94kzDUIW04aSSD0n/Al8zEpLc+JeOx02Rat0O4FINCMIJijzqXlD+Bz?= =?Windows-1252?Q?mTq32AH/P9g1ZbptznxS0pm10CXpKMo61L+rQ0E+Aq5GuOuuj9j+O3FJ?= =?Windows-1252?Q?SM+CbR9+8uXPoxNKQiMEUhbI58t4VcbsWezZ4uzSsxw1eElAxzsmT1Zf?= =?Windows-1252?Q?Bfcd20PCtDJTzrUCgTsQehSFvy7LxgwNotVLmRPxtTOnu9TMelkOYkMa?= =?Windows-1252?Q?wgwFCoeXv/5bqS88VFWrLRhE02ho+FVZ64dnRjdV/AsAyUZUw/uf7fXi?= =?Windows-1252?Q?QZZbZGqD7PgoU7xADJu7O7PDq7OKfkaXE85eyfqGZP27Dm4iLVVRa+P2?= =?Windows-1252?Q?vsSUV44LxniJoeWxoPax1haIccD//o9lzyASfTjMwOE5huHxbzB7BmTd?= =?Windows-1252?Q?j4j+zEs3bqoZ/wlNKbiEfq/nCyHlF757Vv/6/D6NfMZqzwqpgiE4nr9M?= =?Windows-1252?Q?GK9/O4NG2cSYiDtJbJrDFdUwP+f7AoZe4vgscSdSFUAIJTiRXlTlmV2N?= =?Windows-1252?Q?an0dY/kxAs5iWhCKQniTYOo0qzkJkR3zohFRZpEYa6DZGfEUtYzjR96+?= =?Windows-1252?Q?ig4g3R0ql1qkzF4gz1EhQ78US02VsVYCG8XMLRqELANJUOE3c12ZUdx5?= =?Windows-1252?Q?SGsoox+ZmvxHNvxeCOBKCCmdjgRMCRRIgQquu6Jo9pxy9rWmFZ1rNyop?= =?Windows-1252?Q?UNNFApEAPwK0nN0SEFvudLkJcQ6zWO8XzaP8HN/XFKHGGR6EAf053dXA?= =?Windows-1252?Q?rceIlTM6mHIsm9oJvVTbxF7ZjeuTsC8TKLhAx/AsQ0zDtRB+eLNUhFBc?= =?Windows-1252?Q?Oj1IR19qLqRbm5owZo4HDqAdxISbFPj/xUqQVOo/zQ1GBEeFgzXxuPmU?= =?Windows-1252?Q?efztSPQ8D+YtVsPf1ykqG0zNnCGDRG5tYi5w8btTStB7ZlTYJmBfRbpJ?= =?Windows-1252?Q?Sy4au1IFJLqY6wBN8YrtHxmzHX24DgD2dQrUtL2v+ImmXPwrJ/IpfjRO?= =?Windows-1252?Q?fDPfgdqmkzjJpgDi0YGZR+HBkYKJY/wpIaj/4gDo4mVj9UrhVHDcIeLu?= =?Windows-1252?Q?dY12BQSZbsxCXWWhu5rTQO4KL1I3Q4wmRDfwPW4AiCMjfQeRuTNDgd5K?= =?Windows-1252?Q?TajMSnz2mvZa3PuQ8adtmWnnvMXxt0gAmu/lBKVH50mx7wzJ0qT6Z/KN?= =?Windows-1252?Q?l/N5B7z+DIdj3X+T997jWSzw+prYcPJIgMo+/GIoO/+aO66RTFWP5BEo?= =?Windows-1252?Q?8fsJ/sb8jBRBahUNqoCewOH8fX7c7058Tmxpo03xcBv8UFA9zd0MvUg8?= =?Windows-1252?Q?/C4HmqzCGQMAe1EsNjZ+Rrp3WpDgmuCjLpjHsDw9u7SaqYkeiRgiXjKZ?= =?Windows-1252?Q?9yRf7M3FBZIpkpVzKP1QuaOz/2Ve4/9setTgOm+DCQLxAAhMOH/IhHx3?= =?Windows-1252?Q?3nYOQp2RXGOh8A=3D=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04d33f54-4bb7-46b8-70f6-08da42d91a56 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 07:42:24.3086 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: FCweAOLcIbAcZERxve5x83IWmvmv4psCQMdEcP2UV6/WjPK14JIiBRPbadO+29bZPfZz14wGqyoOEFAwyx+y0g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB6453 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Tuesday, May 31, 2022 5:05 AM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Kusztal= , > ArkadiuszX > Subject: [PATCH v4 09/12] cryptodev: clarify usage of rsa padding hash >=20 > - Clarified usage of RSA padding hash. > It was not specified how to use hash for PKCS1_5 > padding. This could lead to incorrect implementation. >=20 > Signed-off-by: Arek Kusztal > --- Acked-by: Fan Zhang