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 2DDD5A0548; Thu, 2 Jun 2022 12:07:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8C2540691; Thu, 2 Jun 2022 12:07:13 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id D01204021E for ; Thu, 2 Jun 2022 12:07:12 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2527tVkn012870; Thu, 2 Jun 2022 03:07:11 -0700 Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2101.outbound.protection.outlook.com [104.47.58.101]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3gdpabs7dw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Jun 2022 03:07:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SoR/t/f6kHmAK6iIIw8ZynZVfgvGC42zwqqORmnLG9gT5v0Q67+CdDbq2e4QcE9uMYY1zJVSLFNuVCUV50e99RUpW9VgU+hXLp33lidaXT58KEulne4cBNQlCGbsIXG/ZJAOupjfWYzyHTzmWzaDTkZNngkjZ/vVoaWI22rktc3fOx2YElNBEDP6NcU1cQuEP7QmNBETbL8JyL7pikVCf6f7wxBqmoYVXEi0UkMZoXZeD+ctVdBsZa0OCRVkWJ/ufrdoq7qZluCpp1ss4WRRcFJ9SqJ5USru6hxTL5dqFVWeDINAyMTm52Kqm4ZqILoJDPDNPx0nGDYJ7ro2t02W0A== 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=fu72PaMNpt8piB/iCtLJTY/KAO8nrfSbG+ljGgnIh5I=; b=N2ueud0o1MouL2cVurzR4k9aes7srCTskV3AIFI3oMRPQm6+npGd1NaVpxvVE8xEmErHg52pwYusymyrs/tgdhQ1XrZvLLVA614UMYbwVWVjZRMjl5gaY9goaddfqSL/2UTto7HeC4Sa7jyIpSC7q5xIyavByyjmr/GkEnKeO8QbA8YZrS81uK93wkWlRnXWmFyAMgcLVajmOmR0CdrTUWHI675hgMsawfYzlKSqhRFKUpGxFuKEF9Qu7jRG7gRTVPpkxbAR634lWHvOiQQArLamjscqSsgTwhoir4UxUUY4nrUgjvmDvlxL+U61uBnFGVK/Kwe8aIjAMgTDF7qZMg== 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=fu72PaMNpt8piB/iCtLJTY/KAO8nrfSbG+ljGgnIh5I=; b=t9dGerwKWtupSlJ7/bAh0yvkI26l4csHrYUjNTU6RkTa0C881ovlOKq47vxzXkD8CCh4qoCgL20BdGwS1ac7wcn8Gh90S+vueO+RN6hp/PmpXm2WGNpwHQJJIU4AnWsJYWeqs00VxYbXXsQ5E3G2IoVX/LFFH+A7clwoZP5D4Jk= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SJ0PR18MB4105.namprd18.prod.outlook.com (2603:10b6:a03:2c8::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Thu, 2 Jun 2022 10:07:09 +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.013; Thu, 2 Jun 2022 10:07:09 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" CC: "roy.fan.zhang@intel.com" Subject: RE: [EXT] [PATCH v5 00/12] cryptodev: rsa, dh, ecdh changes Thread-Topic: [EXT] [PATCH v5 00/12] cryptodev: rsa, dh, ecdh changes Thread-Index: AQHYdZ/ZXE4waqLLdkeL/ekEVUG6ya0744OQ Date: Thu, 2 Jun 2022 10:07:09 +0000 Message-ID: References: <20220601090249.86865-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220601090249.86865-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: 0c191e79-2543-4ab7-f64a-08da447fa7f7 x-ms-traffictypediagnostic: SJ0PR18MB4105: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: edg7kxAHV4s3d6i0icvBGCZUzLnhoDPEV1E68RHh7w+jMi7plAmMS5U8arD8pmTqTtnqoNIubeIx5AUNOjnl2vXrq4C7XOb1mBgo16o9hp2gxo/Ct6/R0+VWxJ1H5zEokv1RTStXrUuZI28Jw23AVTOdA944RJa1sb7KY0GG8JJs4GQcI03/ogD9sE0L/NOGBDXTM7YaSLVPIF9+tFYXUI9IT4Sc3Fk0Nir2XuXHEcLU4oTVu66vZrCkvFqEha+x2kWStfDoA/EuFdpTBmJHd4DE+EAgGqqy1+vFc1fkfbjXJrNwW2g/0B3tF+d7NurdeeWbciA17cbYV+b2aLjxrkebEQwUGpvOhCqWLklmS5/U3EgMId+2kTmXWdI9FjH4E6GcsEPnEvTajy7Z86Wam8tEH1mUQuenrjcMYXDQG8MtudDjbmZsP3b3Y2KIJ8ekMw2tfZq+vzgqrSKL9IRXIjNpPQ2dc/8bpe3XWGcSDC40fS0kegF/GXx1Me2gDK/yJM5BSIr4ZVPegofchKBi4wjbbC1lY/LKReYIpJ5+zVSpay4nvrr2PwrrVc+NU3qipFqe9KJSkry5V8ZMk07zOpDvMp1zEhpaD6U3q0QZ23pgFSDDjAB53ms2ztToPdJIE+w2qWByrWECdGHuQcp+4vA036EPYlJU9zAOk15eOsIl+Gi/JFeiyC9WB5uLazw9lMVgHgwDuCa7GBh7IKKGTg== 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)(8936002)(66476007)(55016003)(186003)(38070700005)(52536014)(2906002)(33656002)(83380400001)(71200400001)(122000001)(508600001)(5660300002)(7696005)(4326008)(26005)(6506007)(66946007)(9686003)(66556008)(66446008)(110136005)(8676002)(55236004)(38100700002)(86362001)(316002)(64756008)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?fU0+vAP/AlPh+Qi0YJ+7rOCxchjD/LqQ5Egy2quORWPE4dwSY6r+XzL5UXa6?= =?us-ascii?Q?cKqObIxyzzEJpS1dZ68eMWRap5AZEylSJ/VhjRrLugo+UeWjbd4IEt3D7dMj?= =?us-ascii?Q?tuIuf8sM47AL2vw4bmoS2hVxVRVxvr8AeU0/E9S3EyUHDxiod5GFMKVupsbC?= =?us-ascii?Q?H+Ioy0wWWi6IHCvMlVXXoLtJCHELa2XhGF5dPw/J87ZYLeN/jpBT8ynvxVbu?= =?us-ascii?Q?RvUViz1BDw/a1p9QjLnZYdSVnZp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P6eNjsgNGF9as83gNMS2wIT792WhpuTCleqAoHTB/1sb7OBDeW4rwCP3QWqw?= =?us-ascii?Q?uRw3UdZqg5M2vqLdlgNGJOfPy/xcHgRpdDs4+8OXbNrJUDmEs9yBL0KC6R3g?= =?us-ascii?Q?LDroZN+iizEwpHXgjP9gJewucHXZuY1JNdyMmK41ZR9iQ+EgMqoSjLsKcpvV?= =?us-ascii?Q?PbeJga0idYVYX0155gWoFf0nngVueBA9hSZxL9JfVzsDqrp5OUv1ukm91VNi?= =?us-ascii?Q?ExDzJtK4LKyyKUFodFC6Taskii3DJZ9u36nmrTQbTljrec5w/VRYRI35Bf13?= =?us-ascii?Q?EnqlWJttyuyKW4dfwzuZ/I39F0sj1keu+3ntFeyU/9IgwKspOdEsWD+ACCwh?= =?us-ascii?Q?bJUMBsa3nLUlnaxLCnv80fdcprADcGG5WPPBX7D5GCZ2nhLJqrOUvRu3/j97?= =?us-ascii?Q?RKf6xPBMqz4EysP7ZPEl8VpyNy9YC+x2zVVHqiEbBrWjQljsuPdVWpM1y5Fj?= =?us-ascii?Q?dPNF2PA/Nwj5sXWsnsYAcMcocMeifcMak0wURhqXko71p4GFI8r4mWzE8YjJ?= =?us-ascii?Q?+ho7bCWBKRDLzCqINPFuiO6Ucx/huC9PyEGuCmKRZ0/v9hmAIPuuF2bRKOb1?= =?us-ascii?Q?hycTTa77rw=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: 0c191e79-2543-4ab7-f64a-08da447fa7f7 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2022 10:07:09.5459 (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: jfq+0JPGFMcjzQbIfnGNGu1QcEFoA91rj0lfiz52qrQI6x9WoRQDs2+DWROriPgGO+TYN2QUYXDgma5iOsgXAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR18MB4105 X-Proofpoint-GUID: eX4myFAL7mkG8eEqh3YUoWVe1kzC9u2C X-Proofpoint-ORIG-GUID: eX4myFAL7mkG8eEqh3YUoWVe1kzC9u2C 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-06-02_01,2022-06-02_01,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 > v5: > - fixed build > - added documentation changes > - added release notes >=20 Change log should reflect changes for all versions. Please take note for future. Series Acked-by: Akhil Goyal Applied to dpdk-next-crypto=20 Release notes fixed - moved from API changes to new features. Minor fixes done in patch title/description. Ack from Fan is taken from previous versions. Thanks. > 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 + > doc/guides/cryptodevs/features/default.ini | 1 + > doc/guides/prog_guide/cryptodev_lib.rst | 7 +- > doc/guides/rel_notes/release_22_07.rst | 2 + > 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 | 220 ++++++++++++++++++++-= ------ > lib/cryptodev/rte_cryptodev.c | 15 +- > lib/cryptodev/rte_cryptodev.h | 8 +- > lib/cryptodev/version.map | 1 + > 15 files changed, 251 insertions(+), 147 deletions(-) >=20 > -- > 2.13.6