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 B6167A0542; Tue, 31 May 2022 09:49:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9AB3400EF; Tue, 31 May 2022 09:49:14 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 1E0F0400D6 for ; Tue, 31 May 2022 09:49:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653983353; x=1685519353; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=raniv1IA/fHoWwRwL+tpwH9KOqZL0du4ZLIjoA3PaJs=; b=dXUbiaqRQZ7sOJ4/ERJbj5w8YXHdb7/hz8MXvcdJTrCePiw8HE3QTTFy CuwnxmEduSouXDUkxywycPa4ePyFiuSYHjsj0VOdgDYhuDIZmoDZw56nc TyNMnYZuHg0gfoxPUz5GBr2Q7WYNhyTIXiHuUAyfDn7yiduncOHabRcpR tzkRwJE7Bkm6bcXQRyuad5T5urvLmTKnjAelB4L6VoCEmErHMo3fyVkjj gb3wJ2n8x94AR7WCgrJ1bHCDvXatRR50OErBvL/7a9xPZhTVBI1fKl5gB cIJPI7MqfwrLUA+TDVqjvGfsHGdS5UfUHwYgfc/C9SiLgfo3hjci0dxNw A==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="335832297" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="335832297" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 00:49:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="903861219" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by fmsmga005.fm.intel.com with ESMTP; 31 May 2022 00:49:09 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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:49:08 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx607.amr.corp.intel.com (10.18.126.87) 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:49:08 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx601.amr.corp.intel.com (10.18.126.81) 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:49:08 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (192.55.55.70) 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:49:08 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I4OvXFwvj+wKJqysa4dBM9vqAtgvo7JOaNa+uEAd995VkeMeOMxonI3eu6WkTySpr/pELn/Be6+AuKI4hYZcT0rAIqi/wJJGVlUwbwojsKP6f71QuZTtif8DJm/bekw6XEZDS53VVpXxQ8morzCCRPDVQT8s/uCDy6rQcXTTObfeXm2ru9kyjQfgUYX8PbSOba8vlfT/hDd9/AY/t0ZUndcmFnFcbIAYUTSdNJyTRW+DSh2yKW3g4S/Pr2rea+njZJAEBLsK3UVGUG61zRsBRylCWRy8Uwdhs+LTbCQcJ4J2/bvQV6X8ZBZ3dTNa8VmZSVEueSLjajRuKDkg3ga1KA== 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=VIZB/qHBCr2wwOC12silsUM2+RMwICUtOfumLj8Tv9w=; b=ndfnp9n6bvBIuZ6fFRjR0EP5auZBm81zTnn36K+r8Rar+8rE8RQpP7WkGzeq8Mlde07D0+R0WPRWH7VXoLXR8V5QgwST9KauWtdds8DrrAIw4tWoPdpqZ1FQxgQE/i/AhAXbgrxfpQVCtn5fB85TaD/FJk7y3zHofZ6b3k07SH4hoB1vU57Cd7cddu6apA50hh0wleEt5T3CrfWpVqN24bYvMB6UXRf2uw+vFzXsUiGIO3Vrew/Swagd7OF4eAYvhzKRKfRpqmjTN0w8eJm3xAMIlkupvOSs2+qgUDOyzHEI3Kh5NkBHgS3l5o+BhrR9qAyTsdn6sQdnSWEmBtFPKw== 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:49:07 +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:49:07 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" Subject: RE: [PATCH v4 00/12] cryptodev: rsa, dh, ecdh changes Thread-Topic: [PATCH v4 00/12] cryptodev: rsa, dh, ecdh changes Thread-Index: AQHYdK0KLH+dxWv3c0yPl/1Np/WMSK04nGPA Date: Tue, 31 May 2022 07:49:06 +0000 Message-ID: References: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220531040439.15862-1-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: 43f20f04-a1a3-4831-86af-08da42da0a58 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: hPs+oNWfDX1cvYHMazJ82phtB527zWs0lFsJ8uI1HDh8JrrZjfRdG2ovzcw9C9k7vfNNrErB6D7zZ2i6FStk2zHFRH6ZfhJfa7qrU8xwek7G3ajGYmbMA9Ai/xCtS7dcYN0oc3Af05CJxRq4i6Y7wKVm3w8JMGBnCFUQ9OxQgf2xyIUV9OiOBYeBeB5OXz5P4VhgBH4w08zdTanpJJDL7cUcnUZJ6uq2pk0/iir1stn5W7Pg22xzPH95t+gw58hGFfe2hCzauityEPZ90AYOpwzYIPznRVXYmX58kKr/klw/rZL/O7HO2uMDzVulFfqO78rswUexxmqz2qhl/7H3dQcbtFpbZAJl5ySuvazINtjn6IVnEjj1AdNmSJegr1ldjnyoKp+hG8kNTeLKlMnMksvbJaoomx7Cr0aQTqC6Egz0BAozrJhw5BOnDzJmMmH7SFEPobA1h4ir5c8QwAkeuXHMagQPosBaVlq4PtJjCJ9MOcBnlx+M6WePpOBkBlEn1j1ZG7d5rAMWEKoSJKd4bN/h2M6zhK6KTdmrvgzb9g0R6kaL1iKZZwz76aiBj6LaoKeSTCmQzaaXMZC+oFlL6yAJRT966VhQAb0r6QbG63+5lsuNwt/OeBQsQ4cUYPyuKdMjg/B3zhYxno2ND7S7rg+aNotdvmrwfrr9x7C2jYB+mFUa3h55Z7r75JiyBiDw/53YJezHZzhUaYm+YcGRiw== 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)(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?uHhr/9vxrastrU58bC+gwS2hBJFt0rOKmCqCPIQBzRR7mdzDBtA1EGFt?= =?Windows-1252?Q?HmEZsUCT2ig6XQY/S+BNoYifYR8CIX3VolNi77PGOXiefWN30KFo0+ck?= =?Windows-1252?Q?rh1PlvhcKHKZpI5NPSyzh6QHYQ/ddBXVkeshVqpYQhqI+yXom6/9n1UV?= =?Windows-1252?Q?NB8su3lWoQ9PiQXmDAuDx0DUErKUrt0E5TnSI8o+HTR86mLrnEFFEbHS?= =?Windows-1252?Q?BgLFz2FaRQ/geWfm1XxGZ5SKOD0jDIiNQAkvspmk0OmAv9xpCeJoBO62?= =?Windows-1252?Q?aiSREZ1gqFmwm5RFZLK27lFsxqBn4Cev6xytUCiJoNUa1l8ytwkmbVLd?= =?Windows-1252?Q?2auiZNNxExEKqIRAP8+x5EvYnP7T5eJTVv7pIi+vs3iDnylWDJ3itBjq?= =?Windows-1252?Q?n4fvvKAoxJSEvHUlU2ersv71GmN5rbBvtoItQOFHbETTf8pbBQdF3Vnr?= =?Windows-1252?Q?EWvc10sJTHS7GN1NR1NTJao0vTmeLqSjZDjr1ME+jromQVwfQh+0ca3N?= =?Windows-1252?Q?7Rlorl6lFEXWmu1j19/i0fkQWVs91iSoB6wdk7ZM0RYxsBjeivEzOv82?= =?Windows-1252?Q?8xf1Q4qBu/D6F2oPYkgRlc9thgtBhBeP7CnPm1GmorQ5RxvQYxHOg9g1?= =?Windows-1252?Q?aT/nYrsqACWfIRko4WvMBAVh0sqYQ8sxLjKs/z0LTXReNSCaWHXxbUGa?= =?Windows-1252?Q?jUoo3mn4LjIm1noo39GbBsazsQreEI5Ez2PAUgoXq0t0iF8E5h9x1ZQZ?= =?Windows-1252?Q?vH6H6YgJNJRR0EkUEzMWqa4kWG89vNer+vutwvt0e0581g9LT2e6fbWS?= =?Windows-1252?Q?QU/zJyo+dKx91vRW2cw6MG4f3eyvrVP0SCI+lUQWbsdct8BZn2GUsP6p?= =?Windows-1252?Q?gebFa+CYB92nTPYr0id9/0ZyvOWUZr/cCLXPnVtGWKIjN9JItKB86Sa1?= =?Windows-1252?Q?V8a3a8g9wrrRkK9AAY4oX+xCrOrbsYOF0/pPVZA9l7kcKHZl3dq7nHme?= =?Windows-1252?Q?eXCJXfnxh3j/nuwEmk3w8N9BiSLB7J6ak+zZLtfRWitb+F1Jpndlu2rY?= =?Windows-1252?Q?4qRyW5PybwUcY5EAmUWxGT4MjAHsfDy+Ncf0z7LxbW8ypLp+iezUD/IY?= =?Windows-1252?Q?0/jgf+HLy3aYcTpjtngXcIyVLcWYNDd+TNWOW+YSUyngDO8uVjm5o3fk?= =?Windows-1252?Q?BRD1rWZec43S2uxf42W1pNeNnsTYzsApQ2LIzwa82qnMdrMMe7Tb/6Hh?= =?Windows-1252?Q?On8smpEW8174kCXSHZK/Z1qGKIMk5f3Ut/KObmG3YGgHqbMQ4QO5jHAl?= =?Windows-1252?Q?Y7PGEKY1my6UlaZshzppGRKTzRVJ3CnC2arypJklgrYjKjs0vtGj8H7v?= =?Windows-1252?Q?DIB06nxaFil0c4BZ/DfLLZzqJwwCojS+XcdajD2qS8CrkHqwOSJjdUOC?= =?Windows-1252?Q?/bQEZAGRahixOfiygTe5+4lXxAFdsVQJcl0KMztG+mzUI+m4LYePrPxH?= =?Windows-1252?Q?TVz4JeQaOCGQQd4n7z0Tc5BAWoks3u7n1p25XPGTudREGuDWXwiHRiLS?= =?Windows-1252?Q?SBhRVs0r+QmDhyPEUugQjQCwgxb45yRxMx+BLvGApvN0b3vQ3pd+aS0y?= =?Windows-1252?Q?Cj2nfgc7hZoGc6LV1HPQUc9Xea0mArsDN+2br85HA4uOoL4iD9oAPS7m?= =?Windows-1252?Q?FlNetAghm4mLHTYZFhoHtMhCEoiGXDMa77O74jHgPPE60TpsHhIj48DJ?= =?Windows-1252?Q?5whCfolzawg2q+BO27pj7I7RdgScr3vY7xbl9I31Or5WdkGwBR/LJraR?= =?Windows-1252?Q?RL5cgBi9/Oj+ZzbTtNGENRulh3pvR5IdQEuGZASgK8UToXksWC/3YvVU?= =?Windows-1252?Q?9iSiXJb0BvoJoA=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: 43f20f04-a1a3-4831-86af-08da42da0a58 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 07:49:06.9911 (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: 0ptvGlUEueLjWQvqLguCCsZKXP3BQM04klDu6HKCt30fP5KdxFUUoJqt90Xj1dmO/FHiAjvmFv5Z+r7Oww9D3g== 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:04 AM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Kusztal= , > ArkadiuszX > Subject: [PATCH v4 00/12] cryptodev: rsa, dh, ecdh changes >=20 > This patchset introduces some of changes discussed on mailing list for 22= .07 > release in cryptodev asym. >=20 > Key changes: >=20 > - It fixes API for RSA (expescially signature paddings) > - Adds Elliptic-Curve Diffie-Hellman > - Adds Eliiptic-Curve point verification > - Adds RSA missing padding fields > - Adds asym op flags > - Fixes many API comments (like EC curves) >=20 > v4: > - fixed shared build problem > - added ABI ignore entry for xform >=20 > Arek Kusztal (12): > cryptodev: redefine ec group enum > cryptodev: separate key exchange operation enum > cryptodev: remove comment about using ephemeral key in dsa > cryptodev: clarify usage of private key in dh > cryptodev: move dh type from xform to dh op > cryptodev: add elliptic curve diffie hellman > cryptodev: add public key verify option > cryptodev: add asym op flags > cryptodev: clarify usage of rsa padding hash > cryptodev: move RSA padding into separate struct > cryptodev: clarify rsa verify with none padding > cryptodev: add salt length and optional label >=20 > app/test/test_cryptodev_asym.c | 63 ++++---- > devtools/libabigail.abignore | 3 + > drivers/common/cpt/cpt_ucode_asym.h | 4 +- > drivers/crypto/cnxk/cnxk_ae.h | 8 +- > drivers/crypto/octeontx/otx_cryptodev_ops.c | 4 +- > drivers/crypto/openssl/rte_openssl_pmd.c | 17 +-- > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 33 +--- > drivers/crypto/qat/qat_asym.c | 12 +- > lib/cryptodev/rte_crypto_asym.h | 217 ++++++++++++++++++++-= ---- > -- > lib/cryptodev/rte_cryptodev.c | 15 +- > lib/cryptodev/rte_cryptodev.h | 4 +- > lib/cryptodev/version.map | 1 + > 12 files changed, 237 insertions(+), 144 deletions(-) >=20 > -- > 2.13.6 Series-acked-by: Fan Zhang