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 27CB1A0542; Tue, 31 May 2022 13:52:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18E02400EF; Tue, 31 May 2022 13:52:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id A8DD4400D6 for ; Tue, 31 May 2022 13:52:57 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24VBIO2p013010; Tue, 31 May 2022 04:52:57 -0700 Received: from nam12-dm6-obe.outbound.protection.outlook.com (mail-dm6nam12lp2176.outbound.protection.outlook.com [104.47.59.176]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gbk8n927b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 31 May 2022 04:52:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=InExxPiOzFBvlUi/4Ww5EjF1nvwKjgsYK7g7VcdnaPonYoHgF+U5DIhCiw+lx/EfHdG99zYFm4Ss1NSSf+o2VZlj+JelFE0xz/KzmY4g4x1vGSJtUZ1EPavxD5taK3atixqKPTqpVmmmb3SctoToOgLheegMHEqIxUJbtMJUQfnE7Z9/4XO4P8JJHhx7UwpByvWpaUCC0OPV5hcGfcXrpkUsUj61P35x1Rq2gdsc7bc5uSCiMKsm1xPq9txCI3dZdiP9D6A/8kS6bexapfVHAPsGwaLp+cRUEzEUQc7+DhEcoso7KpgwL0mqho2MaFIABjWerH9OP/DNnfbUJESxZw== 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=S5ZyZl0YyhMiqZSA9/vorBjrMcgccYrQLWFTDvmP5rY=; b=FvydJcegvhmf2GxZAwFcTfQrHF5PcfD4ptfVP/gVTJQoMwY8u9wk3DIfxt4qbFwogMyIqfZSwiZVXpGeAjXZYIU+5cXmOQ9eQ9zHOm5FnKPMlQgLGZ3UbaWlR8xj2maMDPi+2YYgMx3lK1LeibBQgxoSTaJDE+OfkcnVF5/25dF0T4hGe4YDHTsEQWwUMEIUq/42DkTXK3bdkcGz+YOYa1ZauCS+gollPBhgXCslgFiY9suu63xIM2vqao2NyLqqBwLRlu183iwmxvNn3RMz4pwndk0V+BrQjrp1qDOEi+d0WzETRYJSdJHeGPSwowtE7SE3fP7U2DBlIxAunYc5FA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S5ZyZl0YyhMiqZSA9/vorBjrMcgccYrQLWFTDvmP5rY=; b=WWIkhRkSudZB4t7bMpSllwa3RHVTQhfXOqRoG4iJPWpxanRsKYfxCklBetpFvpqq74qmH2EFzRqRIv6X6kd8Jyb9ZOyg24mP51/n/LhWjIAnNwFcSygJlE54j7acJHq70rdzAj24Vb9ZO8r2YSjrOe3FP8QFh61+8lsJkw0fJu4= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by BN8PR18MB2354.namprd18.prod.outlook.com (2603:10b6:408:9a::17) 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 11:52:54 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::f154:453d:893:f6ce]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::f154:453d:893:f6ce%9]) with mapi id 15.20.5314.012; Tue, 31 May 2022 11:52:54 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" CC: "roy.fan.zhang@intel.com" Subject: RE: [EXT] [PATCH v4 00/12] cryptodev: rsa, dh, ecdh changes Thread-Topic: [EXT] [PATCH v4 00/12] cryptodev: rsa, dh, ecdh changes Thread-Index: AQHYdK0K5A79ouon6EGJec5dxtFbJq0436sw Date: Tue, 31 May 2022 11:52:53 +0000 Message-ID: References: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bae92d71-7d3f-4d3e-e5b0-08da42fc18b0 x-ms-traffictypediagnostic: BN8PR18MB2354: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: mcSxCbFs4ruPTxOmCdaYo+/Canf80y//pTqt99C7sOJcdPBRjO3JuBaRi3VcsTIiUvs563JPnCm04Cs/USytbXyrrs11A9bLIGc8MzIEkY3mrbAFBH+Wf9U8zq+Of8zzeaRA/8vEjJg8HfFVqKvMCRXFQqo82AL1yyhfeuETNAkbZVZ/GaLBlFs8ybJGpheds8fseBkzZ3uI88YedWkQrmFTD+KK0w/1wtsa2rIPPQ0xuXbuyAGLGeDPXS7XoBPV5hHOoIgra1ElycnVZSxYysMctRTb6pQKWEX0mWPT2FM40THfK8ed9azLMXH6gr1KaE68e+1gV7P92250HdpdJ6lDCNl8xXtTjpOxBzr53+uTQt2iOJvI6Y1gc6+IuWH5p5hlSJ1aHr3AB65HXfN6doaDVIglN0Ivhbd1j1GJUAkL+X+7HfB0WPZNKTISMfi8+cXdds1xKIpZq04XCs6aNL1LXsipPzA9+EdxhVuWyiCD+OpAKsIwaOw56HkSfe7bQ9VekS0EI7TQ51YwxWR0RJVeKRFMeFgnvKpjgLeJ8yTIVpsQ8xwZR2flyzNFaKWtRhuzwPS8atdWORaQohqpGd0cKx3wnQoQW4q2YdKy6K9bXLnwxAn2509rNFI9AnK0cLrSaZw7sFfYtH1+ttxks2+ON29KPb/mJg1CBzOQt4K1MlI7e62NF56KqSLNVtowi7vc4shRiyuj/qgXDD/OTw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(55016003)(38100700002)(186003)(64756008)(66556008)(66946007)(110136005)(8676002)(316002)(4326008)(71200400001)(66476007)(66446008)(76116006)(38070700005)(83380400001)(8936002)(6506007)(7696005)(86362001)(55236004)(508600001)(52536014)(5660300002)(33656002)(122000001)(9686003)(26005)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?1UZPAlc5asbq1u7xNFcNmFZRLJK8SAhaWc8APWJRvz3cMVxbOc++hoNWAhiS?= =?us-ascii?Q?/SrC08maUXlwd/BL5QsuZfsnjQB1MRZCLq2YqJfQrlZND8xzVxThOoBGHQ2P?= =?us-ascii?Q?IhQqjSAN/d0R5QijTsp6h2TrJa8AtY0XReRaiHCSfPzKdfY0S5k/PJ1g6TAX?= =?us-ascii?Q?6bARKaS3FXl0eaQ9zbN8+7zULdHm2XXBS5LlxpxTlCV1ziTD5OfbJ8J9jzPZ?= =?us-ascii?Q?1UlR+g7+uyS1TP5FaR7YSb/MTNGrPYNGaJPyLtqeqUEG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Y+W06jY1sfqvpAmgqP7Xt2jNfH5uUcpw0TyS8SBqlzml6OjPG2evi?= =?us-ascii?Q?F7Y6Q/+0M2Kx7VXLr8Jt8j8pZ5dVrAvd5uRqwZNzulBXWGr+Ggg2m5KLzJxn?= =?us-ascii?Q?VcUkXbcLjHiVYkBq//AY3Ux/RCIlMl2V27jt/P4ggjfRZLOq6uMuI+l2WKiY?= =?us-ascii?Q?P+tDY1MbxxXWtpvjH89hx8NsPQKqxvm7PFR5rGl8ivf1+5MfXeugWuN50xx0?= =?us-ascii?Q?yUJbXx277iqjhFb2pUo6tMtPWz09zteyfFhCEcd4vdkDl+KYdp5PyS51zDoF?= =?us-ascii?Q?ErpQ7LQn3hTPNG1+XW78Twe7vJr30bDm4z9KixCzFe18mW+at+VMkBMDCS1Z?= =?us-ascii?Q?J2hRsq2EL+BFjszLdlBcaYrc3vawe0vhPtQtToVd02d8MQe0kM6SRbypGJiK?= =?us-ascii?Q?22aqZYW1mx5epKA1V5hH63jVxOb13u76wJkmoYI2Jo+yqpQVw+mtAs0L+awc?= =?us-ascii?Q?8awFEAM519WddmzL8IKYAbyG7sF3PtBLG7WTDkExPNRK8CiPP7Ya2PJhvYAe?= =?us-ascii?Q?iNZbBJpZDrQ8bAJDQCx+fGGAw4PEV6tb8eVqhbD+e8z/8CygFBJpC3ullylk?= =?us-ascii?Q?BPZFXcEnfw=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bae92d71-7d3f-4d3e-e5b0-08da42fc18b0 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 11:52:53.9472 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2lM4hpSqcUY4iAg3iw58JZmZyJNBHkkqQWuvs/v9BG0WE6pvpk3SfSnBP5dLbDNcszFgsyIRxJhA9SjU5t0pxg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR18MB2354 X-Proofpoint-ORIG-GUID: _w6fcZldYPHcVSBs12qCwn6SoXbnFd0J X-Proofpoint-GUID: _w6fcZldYPHcVSBs12qCwn6SoXbnFd0J X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-05-31_04,2022-05-30_03,2022-02-23_01 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 > 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 The Documentation is still not updated for these changes. Please update doc/guides/prog_guide/cryptodev_lib.rst And doc/guides/cryptodevs/features/default.ini (for ECDH) Also update release notes (ECDH). >=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