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 08BE8A00C4; Fri, 30 Sep 2022 19:52:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9D7540684; Fri, 30 Sep 2022 19:52:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id DDDCD4003F for ; Fri, 30 Sep 2022 19:52:20 +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 28UASmbP029821; Fri, 30 Sep 2022 10:52:20 -0700 Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam04lp2040.outbound.protection.outlook.com [104.47.73.40]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3jw1rt7pps-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Sep 2022 10:52:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jp9wFJjr7G3HJQPCDWi3SKqr4T8qgqwytYwVTL60rIDzj9oV6m1V3sgXsDBcT9nEm0kot2rKO7/H7RRqxRdVjCKhL9OStDliiUNkSOuMTT+S2uqANNGC/00fGSGcn305UUVbjs3jIg7KrYa4YyWY9BF92H4Y04kbvGXep7X0iGBOIBIIKxKhT7lbKEN9Nu50HeR7nWiWUSI+c3W0dAJjYjPFXbnOqtvuUsUNmChdM+Wb+HpiusiPuon9ICRgHakcROEeAxJN/b9MCaKRDNn0i1Afb2FwnraBTaS/2zLrPHlBiBeXu2v4rQKItTg3s4i2CsPGUwu5QIiaQqydElhBuQ== 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=SeWdq5yNtGKsn9kd3BmSYmhAxWXBXe/P6Lq1YPgFh7o=; b=g41Zo4rIYAOY3ysuK/jsXRGzIRSQOiLYcX5TLpvhvHm/aIFergh8SXBfG75/NqcAe5wgrPxvh5t6vVJVTq870TZX3Wv0WpXmaxvfHeR4+U95wmjZKbPu1gBrdAtPbGTf4Ne0cfbS4ldL6iQgJfoMQGSm17NgMUkpr7fYUUhqdJ/7vTvksMFwtdGpyZOa++z3iDkQmktCXUZAi7qthzES4UdPBB7joiC7JpYxfIsqJtgFSELUuqRsufB/vJM1HFYSKgbYZiqZHJGn0o9bEu6dhGbZOOTSbphX8JIz5M8hnDuA2YAmApF4Q1iZYovli9/FTG4fpp8IDcVD15CDBRPSXA== 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=SeWdq5yNtGKsn9kd3BmSYmhAxWXBXe/P6Lq1YPgFh7o=; b=cCL5ktsgFH6ZdgGiY6TC2/9XdJKFiIT8ujPiiEOQ6WBHx9KPrWdru+6gduXHAbldTDJgTTWhkAKmsL6ij4a9Zy/gQiiog1GBZ4tcLXhLnjti3LykBQz75j+50hY1xkVceV6cfjubrcvoGPrnQR4WPuYkJtF36/HmseNkEwEB1w4= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by DM6PR18MB3635.namprd18.prod.outlook.com (2603:10b6:5:2a2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5676.23; Fri, 30 Sep 2022 17:52:18 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ee27:3b96:a580:ba9e%9]) with mapi id 15.20.5676.023; Fri, 30 Sep 2022 17:52:18 +0000 From: Akhil Goyal To: Arek Kusztal , "dev@dpdk.org" , Kai Ji Subject: RE: [EXT] [PATCH 1/2] cryptodev: add option to use ec base point in ecpm Thread-Topic: [EXT] [PATCH 1/2] cryptodev: add option to use ec base point in ecpm Thread-Index: AQHYst+RnrkixB0w/k6siZnoVIPAyK34hI2g Date: Fri, 30 Sep 2022 17:52:18 +0000 Message-ID: References: <20220818074130.37894-1-arkadiuszx.kusztal@intel.com> <20220818074130.37894-2-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220818074130.37894-2-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-traffictypediagnostic: CO6PR18MB4484:EE_|DM6PR18MB3635:EE_ x-ms-office365-filtering-correlation-id: 53597b15-8c24-4ae7-fe17-08daa30c8462 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: imh0t8UbdATJCd/HR+myb1nitjpNgjiYMQ+g+IOMYo4uqFUHlEcOG8a0ppp6lLZc/g+WbqO+Y3UcTBNQL3p95i8olOEQAxAK8lO60pzAH4Puh1yCJwdIYJKulux2b2Vxw2NZv4nK4+TOoh7KC80w3x+avK0bzk2EZapeaSUoSdIFrHt9QGAF4IdT+Ma/ONa2auuL2/kQnbBQlkavsWQVcBHiGLM+XKrYCkBFNL+h0UvnW1K1DaWQR06ItepVZ0pRrVcVX8IaOuLQ2/DhwnnNohIfzc4f24DxwTPf37d2kaF2l2Pyit1v2H4hQdZy+heEITByRCqOwnYY+HfkdjVgcPNejgJWrB7o/RmhGdAMX/DcZqR0oIqCaciyy5a9bjyGq2rHI150P1GnOOSs0eNe3QrhGVx6FQyLPx+bW+VPf0WuRSqISgzWUHJ0JPazflWNs11akWTuoKJufIneEJJeNde7mAk6W6nSwnv2hh16lqGAK2Lc7K6rap5kXTJi6xqsqxx8r9TViGPqpNTTNf7MxNSoOhYmsOp3uKsZKToOndMAe30ZtDeMFuwtoZ6iA21vFCByFgvxoA8BqP8YP+PkImw1MrTJGTwIkglw7lqMFt/T4JIxXhY+kvHQBjU+u2RR+al0VtQCTkN1rwO6OauOSG4QKRTa1er2gaAAGBY7OIwv+NNioqu/D5ZqB1AYtUnx2mKH4yz9Z+8+xOYamyJ2qwpMLcfjosWtj6gtbcdA0Usm/2lpH2vhOjiCm5yV3YKNvnxpxZAWyAdM1wplilumGg== 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:(13230022)(4636009)(376002)(396003)(39850400004)(136003)(366004)(346002)(451199015)(86362001)(110136005)(83380400001)(33656002)(41300700001)(38070700005)(478600001)(122000001)(38100700002)(71200400001)(186003)(76116006)(66476007)(66946007)(66556008)(64756008)(66446008)(26005)(9686003)(7696005)(6506007)(55236004)(316002)(55016003)(8676002)(52536014)(5660300002)(2906002)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VJSETN2VTybTFlafpvOdhNxcec8PzX+e7t1dDE6dqu57S24OtqiK3Xs9f0/m?= =?us-ascii?Q?NeDNY3RV40LU9TjTw9PEFrmJ9+pgispqr3RoCFEEL2DtQYBvisZX1L6JEg/s?= =?us-ascii?Q?+OEU+aQsinw/XY2nsgD/sftE3cCNkeVTKTBFBPH4J6E1mSL/Ra1o6nQqj22V?= =?us-ascii?Q?bbetUQH02L/qf3HvNINm+SMj5nRpSWGLQkJRpGt6FXtUs+qTIapXgIlPDAkW?= =?us-ascii?Q?ePm5Mefbeb578LA/HEuPk1A41ZtQf+TkTju8hDt1OXozWIbDlw2jNYvPovpI?= =?us-ascii?Q?bDwraH/HAF+WN7efmDrTFpwbKw/+6DmNtAsznKaLXfFdygN6OvqjzXNUS00G?= =?us-ascii?Q?+60jyJD6UGE2ypJ+CS4Om1H++LKwN1PFfjRIni/VY+N/Ip4d5iS3JMjP93IL?= =?us-ascii?Q?UDeWVcI3N8FCixyBgmzRx652kx0Gfw8er8rRkPYIjfySs4j6kPPMuVV/f3gL?= =?us-ascii?Q?s3A2o9Gsrz4xfOpqJB68TM6jiqTmgvBDev/+eB62qeS+49E4zbCCuOAJ+fYT?= =?us-ascii?Q?6Gv378CsIZqakumzajyfex7TL3QfZit8PW4kHH5cxzf0jisxE28bfNucyo7L?= =?us-ascii?Q?XbDMMfnzZGw3IxlS4qggM00t3Jg335Z3kvhO4I/P+PteXFYWZ257IWdP8XLS?= =?us-ascii?Q?t8K091+MYWSa6cfcUvhO/yQHuBmztyQN7IoeJX8iEhY62bJ9mnsIqJXOWy+i?= =?us-ascii?Q?l78rH+16AI0EpPkhHTXkfbKrjPAtADw21DIUEcPBK4noDoYYHMkp08lnDW79?= =?us-ascii?Q?8HHRvvn0ks0xFEoHqcmeMc/GaI2rZKNmqxMYP5fESXiwhRVTpGkOTs9gkErA?= =?us-ascii?Q?902sg2UcYVlQNX+aAxw054fa2Wi+zKnuykaOcCG+YzQvBvFdcksw+Kutpzy3?= =?us-ascii?Q?a4ynPkGHlstawrb06m7PEfc0sQhLO+swAvksGSVRpBNFZirRB7M1JERVpnUP?= =?us-ascii?Q?0c5J4yGavlHgLUocXTtrWtrIBbPxasCCe+mu8GA3KhYfX/v1oKH2uQCJq6+c?= =?us-ascii?Q?NkL4j7uAXXxBru2R84SIB24E/X/YmWj6KUZxZNW4ilH0fqcGCAQU2R9JhTay?= =?us-ascii?Q?2ZeAnFsvHMQOPVZ3ti5XwniyhOSZ6oVwkj4NTpkpGBfjFQYWQ64BbDtyh6q+?= =?us-ascii?Q?KUUXZ5jvrsao5BDfo+4PmZ9k6gX6kT+tBJ4519xch9oDpjElvO6sY0Dgenfg?= =?us-ascii?Q?YoAajuG2L3XfqJiOPPQ58kpk5r6gJfn00B6+I/S9hKWYWwHceVbTYYI2DpXc?= =?us-ascii?Q?PIOucUpQC2HoaYkH5MBRuuT26KPTmJWtbLDhXpK7CEnxgxc+imgB7u1ttuGX?= =?us-ascii?Q?I0LqA+ogzwIsmPabiSJQapNfJVgJBZpcldSyQqaXClvD0U0S6htgMWaH11r/?= =?us-ascii?Q?FS9e5sESRR1V8YK3D7hM5UrlwEUE6ddvFECAngOSGknZ/k8afBiFwefBozTY?= =?us-ascii?Q?Bk640J6oNmQN1ca0YhDuckpnmN2wK2kkRa8dcAnWYajDkEpN/MnlWDKp0Xlq?= =?us-ascii?Q?hYsZnCD9aZr3LaBTVZM1NWkAEi/e76X0Zv7y+4ZUSiplAyoq//TDeDSdSGw7?= =?us-ascii?Q?CHXbJf1bQl0XWXTt+Lg=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: 53597b15-8c24-4ae7-fe17-08daa30c8462 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Sep 2022 17:52:18.1892 (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: H6SRFuJGMbVTHhO0HLV9SkuRsm+n+n/1xt5YJ1d3KCmDittHdKQHl3qXuDiH1XJWHhpSddwwKEnYzsaF8EDDAA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB3635 X-Proofpoint-GUID: RiUmyBLexG5gO9ExqIbk1rM5t7j8nSWx X-Proofpoint-ORIG-GUID: RiUmyBLexG5gO9ExqIbk1rM5t7j8nSWx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-30_04,2022-09-29_03,2022-06-22_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 > Add option to use elliptic curve generator point instead > of setting it manually. It corresponds to the public point > generation in EC Diffie-Hellman key exchange. >=20 The title talks about adding an option to use EC base point in ECPM But the description and code changes does not match. Can you please update this patch with appropriate title and description? > Signed-off-by: Arek Kusztal > --- > lib/cryptodev/rte_crypto_asym.h | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >=20 > diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_a= sym.h > index 8ae43d5f3d..62987f860e 100644 > --- a/lib/cryptodev/rte_crypto_asym.h > +++ b/lib/cryptodev/rte_crypto_asym.h > @@ -593,7 +593,11 @@ struct rte_crypto_ecdsa_op_param { > */ > struct rte_crypto_ecpm_op_param { > struct rte_crypto_ec_point p; > - /**< x and y coordinates of input point */ > + /**< > + * x and y coordinates of input point, > + * in case both x.data and y.data are set to NULL > + * selected ellitpic curve generator point is used > + */ >=20 > struct rte_crypto_ec_point r; > /**< x and y coordinates of resultant point */ > -- > 2.13.6