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 5944CA0542; Tue, 31 May 2022 09:47:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 49DAA400EF; Tue, 31 May 2022 09:47:50 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id ED431400D6 for ; Tue, 31 May 2022 09:47:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653983269; x=1685519269; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=UqbxNhUiBXnJqiSORLPWeAb8vCsyd8m4cvzWqd3Nz48=; b=Hw34HwcQh3CfdyH93ovvNofUHaZ6xuizgG5keh8AA9l3tXNQdDxmEozF oh23rKT+LY1f1yAcx9my71z3588vnj+UDaBTokyzhMlxdyWteXxRlpeQB Go+WobUbrg2CJxuSmB01OtIlfvNvmKi7/xrn5qqfPndGHbrVde0rhmBFA iw6mjKl8+wc+O8+OaqR9aXTdgsrhZkMBVXaxarb8TFZ1HKw6gFTibntQk UwLOQgn28J4nP5PiXcwFauCba+KfyBrscZgK3pdPnYrTxXfmDFuAJva6S RYJJv0OQHcBFt+EL/2zoAlENNB2qEy1dydNhj+E9roobmRH9vnzFB+NzD w==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="257240513" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="257240513" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 00:47:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="754721784" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga005.jf.intel.com with ESMTP; 31 May 2022 00:47:47 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx605.amr.corp.intel.com (10.18.126.85) 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:47:47 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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:47:46 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) 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:47:46 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.169) 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:47:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b1clLRfV4PafUtvWoo/d6YrkaLPqkZTE6bMAktwEhj4cOFJNyB9a6q4ltF9cSLvG0Uue6QJgvBh7hEKkMFWWEuC2gAzEvo8kAy4s7sQiwji2S0hCUf+w3xPKHEEocKzyVCGiBAZgpyiLewmc4JEK6Up1nKb2ptlgGSdUjIo16djJDVcbYge3KuM9Lro0Si4kXfKxCRqoiCrWd86THVPFwyeDsZ+og581OwjBvU+H8Lv91FELIRVbVM2BT81b1MpcacK2vfj8i27S9lK4G/xiMgwvN9n++qRtJSXh8fs+w8/TYM2LuVefPJJ47DZ1alOB5OHkxDpzoBmt3PcHCrtcfA== 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=UqbxNhUiBXnJqiSORLPWeAb8vCsyd8m4cvzWqd3Nz48=; b=erXAbljCw99BRM+iZsSJYukxYKtgkdqUBgKZKAw33L9lfPbjK1DydsLeYl0BX833rdOxlN5JJy6llAba4AjA6hwe7eXOCvywU4X0qwkcEDwyyxxHs79suvWaq7Mn6evNNdNv1JI+N39twR47TJ4K6iLmwv1kNWJGngKHDtFanMeZhGzCQoFyD8R67ABK0SCCpmoH1OKAZOiGJjER82Er69hLLXQB2gZKK51Hn6GtCT3YNNSZpgAkukCaQ+qJ+271GDv5fFxMF3oGBmpRs0CqmOPj4agb56FX0KkMXikwrTZUUBYlpZGAWYS/05uSPwRYZJigPUJWB9jicKSOjPEoxg== 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 SJ1PR11MB6178.namprd11.prod.outlook.com (2603:10b6:a03:45b::18) 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:47:45 +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:47:45 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" Subject: RE: [PATCH v4 11/12] cryptodev: clarify rsa verify with none padding Thread-Topic: [PATCH v4 11/12] cryptodev: clarify rsa verify with none padding Thread-Index: AQHYdK0ZeL2C9aBw9U2loAaPtyWXHa04m/HA Date: Tue, 31 May 2022 07:47:45 +0000 Message-ID: References: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> <20220531040439.15862-12-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220531040439.15862-12-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: d2673b5e-2942-42d6-f239-08da42d9d9bb x-ms-traffictypediagnostic: SJ1PR11MB6178: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: hJM9qkmjdMvCgvp9kkTdZYs8vXigJeqpuMTsmcJ13TQYRPRJl1ts6HFBhhxhvf2+oe8xADuQKgTKMqRdOIWc/5u3lYwCAVtbjqMZbiJTpOwJUTyKcVFttQw1hqXjrThVdOhhd1WQUkdgK0MHuTk1c+xoDqQfLCfWUgcg9p27vCW876KXBmqZPmJu6Bp2YrKcjqC9GNUafWxsDcsZjRO9hQ7kHE1vyF2JY1WQ/dGT/DF32bohMTgcfM39jyKJ6FyWTJC7BgawUpCzwH3II834TbWgb96yVxGklolVBmK94hJl7ERLmOMrz1MXn4Kj40H3J5G3eM3v5jF0OPHeU1fdJOt3ut3PbgWz7E0p2/MP7v9S1DUPZhUpA0SJ/AmB3gicFRtt2HH243wsdolqOpqZdW38pTXTDcaMxzUyNBNGF+du8wcOgFpw/apNIycowL0nhsBUufV503zoLTYQG/tb54hIPWNJDZJ04B6fPdp5j+lwVwzkg0zGrrCbrCor4M0RiStkJIzKMHqxf2rZiVUHVZnJJ7/Mt/0MfpbhhnVf9Flzc2yowS5RQVD0SXbcQrnNF2EwwXJAYh8mt2nWyK5PoQrYx5KzlDx36W4f1IYAguu6yx7Cre0lUShEOQhXESMePQhRokeUqZL87W6hX+Q6ds4THgn8LbLthlk+dFuXhQmqV/ruj9vQep+UZJL5KlN0WDTqdteU7ZkzelpRqcTfjw== 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)(83380400001)(53546011)(7696005)(38070700005)(6506007)(9686003)(26005)(38100700002)(5660300002)(55016003)(33656002)(52536014)(4744005)(15650500001)(8936002)(2906002)(110136005)(82960400001)(71200400001)(66446008)(64756008)(76116006)(66946007)(66556008)(66476007)(4326008)(8676002)(86362001)(186003)(122000001)(508600001)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?M+aHJRG9YGv4mrt7/1j026POWCRNTXQSntzQfD1UOr5EY+MVi9c8TKod?= =?Windows-1252?Q?EYyoBAM89ppvpEG3PIIAVJMNNMJ2u/1td4GZjw9fAnlBf+yKeNqZrpyE?= =?Windows-1252?Q?lljLGWkm2JB0y8s8UgIxGPdURu4SY8q/B1z966ebwf5jn5wMb3bRgQCH?= =?Windows-1252?Q?zbse2UX7LcoT3XYGO82SqKfVoB12XV53Byu/jhk7i64KBmz8NpKIzSk4?= =?Windows-1252?Q?wNrwp36IzYtERtNk75FYbTKyR+50Gg/R2H/lprypSJ6pNCgURMxQMQQy?= =?Windows-1252?Q?kEnQ/uSdgBB0ocBfMnyZ4w2zQkJQEVKXp9Pu7ze2EwaC/gsDA/Nh+v+M?= =?Windows-1252?Q?qMAtUjEarMj6b9NECKmeUlxGKqCExSa5h5v9gbNuhS9QSRZdyL9KruKT?= =?Windows-1252?Q?YrQfkiTJYA8kLjoWKA1FzkFNbA/zc8fBOS98j9CXBoAU9hANwO+JkrvG?= =?Windows-1252?Q?ry3t3tZiMaOZuAh/HYHfglFqBvTsUo0dtS+IRptsgjTk10A9hiIvGFi4?= =?Windows-1252?Q?fWuQUY1x+3VfXcBVirD5BGQv70h5Amm/B7x4ImfI/aw4FLKcDhsG1DEe?= =?Windows-1252?Q?hZfuuTjYp1+TCKAAwrjbToO0oa1N5Pv2o4vdpv+b99RyOji5Nj9MO9Xv?= =?Windows-1252?Q?4srKd71V2QR+98ZEJJLSgpIo5WHYpgv0BbDIc/bZhclTGoJ+otWR7or2?= =?Windows-1252?Q?/AYoUbcynvm3Zf2HJHd7iU1riILWX49PIj0Yt3AQqO0w6S0Hmfr8qTnH?= =?Windows-1252?Q?+wfAxNpp9a+hm1mJAhdtonEp3STwH88aMwyCP0/lXZh5veeKtzvxqfNc?= =?Windows-1252?Q?KctaEyvGOFj2edC/U7KUstker6Rkts1XCKDAYzhZ0du1gvdGzjVnil1A?= =?Windows-1252?Q?O3L89mer2U+ZyqgATzIKaQeP11eU7G9qddk9zxfGm9TS2wTG2fy5LkwW?= =?Windows-1252?Q?yZP4Stjk5zMn3UiGEMDA3fcrrUSwgOQ/GWUwZQojPL8PjCNbncPltNAh?= =?Windows-1252?Q?VWcpJ19aaUc3XMmmbSY9A9wGqwPLkH8qH/3zucbTgh2ovdUmEhYu90X1?= =?Windows-1252?Q?71jDzGUbSarxkbahNKVdNAhqMPQwRCpgAvvTGnU+ur+zVFBNTI4pWsvj?= =?Windows-1252?Q?a0XBlXNDzPxiKG1KrHsX6FeS2P+NeTG8k8b+PYu/OHICQ7ALlyJM6/fe?= =?Windows-1252?Q?7FUYzqh5eHy0jnu5RcTszPWh2kZoGecJOvqwF4GpQlFQmTRLkI3MUOfq?= =?Windows-1252?Q?w8n7nCZATVlpJlUWpe4daDjRiEBrIhEp4L9QvVU7zU5GZE+NtVrgSE1Z?= =?Windows-1252?Q?UoSfZz+w6M46axyJyS4d2Xj0L6CfNzgjrrS+xa1LYkjq3VD6gSHOMloT?= =?Windows-1252?Q?Ft8e9H0CaT3Kab2YxTjfQFKxV4qWNvQmpCPqgsAF37m/ncJ05f97uCsS?= =?Windows-1252?Q?W98/+y0Rqn9xgmMvzoD148ykhZ3AKW1g8ZrcuVHZ4CjrY/i2kKNxaSLd?= =?Windows-1252?Q?U8xuklcad0Obno4S+83JGgYVK86v5c8DhW0KdacSVIlwpeNZWWXTFGBi?= =?Windows-1252?Q?BHDd1CnRvqyCq27L3+DaRsgt2L7uTcO/WQzRhaC6jdLvGkwUI1ag3MtX?= =?Windows-1252?Q?1D2WO4JGGV/bIb3KrRv6svUW3WwNXtCSdPH3geK17SHcJl8FBQjt0Je2?= =?Windows-1252?Q?OEehF9rsrDjU61BfQmk14DkG7Dzv3stJyUwBNIrufTpqkbNUvtI4EwNO?= =?Windows-1252?Q?tf+DUZrx0Ecv7BAZwbbZh5TSx5SDU249M/9cNUXy/HtVWdaK9wgWFVEG?= =?Windows-1252?Q?R5jzvUqFWYaDS87uer+s/aPkPjpzX8KItEMCmSpmTW0qaL22AIsFDvmW?= =?Windows-1252?Q?3kJcpq1t6Lz4ug=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: d2673b5e-2942-42d6-f239-08da42d9d9bb X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 07:47:45.3849 (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: ybYqbSx8pEs2T+G6JDAsxSzWZK6ZkSI0cxcQSxNqVSQbRVN+xJjuTl2qGwTHWuC9CVKirQOfImbTwXxVlIiLFw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ1PR11MB6178 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 11/12] cryptodev: clarify rsa verify with none padding >=20 > - Clarified where should output be stored of signature > decryption with padding none. > PMD is not able to know what padding algorithm was used, > therefore decrypted signature should be returned to the user. > - Removed incorrect big-endian constraints. > Not all data in RSA can be treated as big endian integer, > therefore some of the constraints were lifted. >=20 > Signed-off-by: Arek Kusztal > --- Acked-by: Fan Zhang