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 33F4B45AE8; Tue, 8 Oct 2024 23:00:58 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1A668406B7; Tue, 8 Oct 2024 23:00:58 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) by mails.dpdk.org (Postfix) with ESMTP id C00D640668 for ; Tue, 8 Oct 2024 23:00:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728421256; x=1759957256; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=K9WofjoHPTkaaKu/yvhOVbpZzIq1j08nP4TpP0kqjdw=; b=X2EUSxZaDq8LOICCxao1vmIeYlxEjFmYx4fJ6FxTVKteDjEmKcqPvvXi lVKREP63SYNP2/oPya8SMYtOd+CAyA35nw5oh8SxAsP4+hF+YIBVCDNAT gdWgVzt+iv17Owbj+BUEzLhFietH3k/znp8OLBJQ255pAmr9oGJxR5kZ9 pk8x2ZRuhDd5ri+Zv4IC38TH6iPHVETOi0tg97+cQIB2WvgZxnpmvZHgy JeH1WxQBVdfaicpAQQqBDXyOYo02VE7GvtVPM821A0qqkA6l1ZMICLo0N g2QC5imkGmQdoHd9TxYKT6Nnhtxt1UtH3jQ2EctcCwQBzyX2LvBPl4Tz3 A==; X-CSE-ConnectionGUID: a5w7ATiERkSzPMxeJtq0fA== X-CSE-MsgGUID: OtJqkb67SIak0EkGRda5Qw== X-IronPort-AV: E=McAfee;i="6700,10204,11219"; a="39022537" X-IronPort-AV: E=Sophos;i="6.11,188,1725346800"; d="scan'208";a="39022537" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2024 14:00:54 -0700 X-CSE-ConnectionGUID: h+xLG+leSHSZNVjH1QsmZw== X-CSE-MsgGUID: 0tkyOZ6gQS6mB7WfHW6/oA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,188,1725346800"; d="scan'208";a="80453912" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa005.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 Oct 2024 14:00:54 -0700 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 8 Oct 2024 14:00:54 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) 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.2507.39; Tue, 8 Oct 2024 14:00:54 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 8 Oct 2024 14:00:53 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Tue, 8 Oct 2024 14:00:53 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.171) 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.2507.39; Tue, 8 Oct 2024 14:00:53 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=t8Ey81NL0HoE1xiI0GcdNTPgVn8widcX6MZKDM/2XUXO4L25PWfW1wY/Voke+C8pe6IpjypCT3iZvIjfPfgU2JRB5Z4A/RFWrHzGFNdUKp2e3wTLlzofJAAwzFm7HwMKV2curmvshGrjytYgj9RpIp7yCBDc57mCWkL/6Db3BbYAVeHBqQBud9VBFwUrDWGuiMaxY0cMIE0ypvmug/U7l1cHAIpczM/OQiSVspI+x7wyBv5lXn9B3kRAQNKf33/tsTWY6W1XRl97SntxJyihI3GiMHJML7MUK5SyeHyUvGSmmfJNtp7gxZJl/iB/3RTZuITpb+dlWcuOYpaur8Cl5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=4OT5gnb4omzPPgbPXOQSFTdE6sgwhslmizf7CVC85po=; b=c01mQt8F3vuTS8sgsGiWuhLdjbaHHTK6wnAlEhCpHIMP1euYstDagKDxRgplVLkEYNW70mgaplduTvIokyH6Z9SDRqPjebpOeMadtypN/SXWIrj2eFJ8FOBZ4TR1vg6TF/1GjAN1HhFinFWKlqk3X3refgXmkoSdsEJzAMzuTKG3RboAeoC64Z3BZpnCmdg+XISl31h79h+NyxijGQ2ZKuKfhZ+yw2Tz71K+0HhVJS/1rD0EubOMhQR/ePaLsQIuUla7H35Jr/qjvBwZWSvuym8Tku/1PkZqdANb0KgOcPD/XCa1dVnxDwcFsNuKvRGdjSCVFZhJ2K2Ev59N+ydGiA== 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 CO1PR11MB5009.namprd11.prod.outlook.com (2603:10b6:303:9e::11) by BL3PR11MB6409.namprd11.prod.outlook.com (2603:10b6:208:3b8::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.23; Tue, 8 Oct 2024 21:00:50 +0000 Received: from CO1PR11MB5009.namprd11.prod.outlook.com ([fe80::b03a:b02:c24e:b976]) by CO1PR11MB5009.namprd11.prod.outlook.com ([fe80::b03a:b02:c24e:b976%6]) with mapi id 15.20.8026.020; Tue, 8 Oct 2024 21:00:50 +0000 From: "Kusztal, ArkadiuszX" To: Stephen Hemminger CC: "dev@dpdk.org" , "gakhil@marvell.com" , "Dooley, Brian" Subject: RE: [PATCH v4 2/4] cryptodev: add ec points to sm2 op Thread-Topic: [PATCH v4 2/4] cryptodev: add ec points to sm2 op Thread-Index: AQHbGbh774UYoCO9qEOCxCPYlAbwgrJ9UtgAgAACOkA= Date: Tue, 8 Oct 2024 21:00:50 +0000 Message-ID: References: <20241008062845.11071-1-arkadiuszx.kusztal@intel.com> <20241008181433.57591-1-arkadiuszx.kusztal@intel.com> <20241008181433.57591-3-arkadiuszx.kusztal@intel.com> <20241008134626.282bf9f3@hermes.local> In-Reply-To: <20241008134626.282bf9f3@hermes.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO1PR11MB5009:EE_|BL3PR11MB6409:EE_ x-ms-office365-filtering-correlation-id: d90ea251-1399-4ee9-b466-08dce7dc4a48 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?5MgXiopAswNGDXIc9b8uBwi+vMC0IPnJztVWoXjWkOm4ne6R54wy+GEQFvWh?= =?us-ascii?Q?mG5nRJiaq+fmPcp7hRnA3aH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QUOJ9wB?= =?us-ascii?Q?Z6nsk/QU7KEu9xdBeQPy0axXtodqtk4iD6yRR5xQeB6veDU0xrcJpPhnv++f?= =?us-ascii?Q?xrRm3dM7Oas+Eli+Kts70yaLy6GjBHOLXQQEi3Ci+Sel0QRCFpMeTtiL30Cd?= =?us-ascii?Q?/O1iPdlv3d/O1rWNB26eQg9gdq+yKP/BtC7/qmMPKpe525iglf7r1X49/If+?= =?us-ascii?Q?DymF7hnMy57hz8vnr5MtGJNVzQiOsCglnj6gTWkGhnBZnbQb5OifU6GcficP?= =?us-ascii?Q?4EIhT4GN7PDLW/SQv0xcwb66If+v/q1wD5Zh/cY6HLG/lTQ2YC0kpia38h5f?= =?us-ascii?Q?c6dlfi3yMKn2iUagp9mZ/h5iQ/5sWTN+BMgUy/DeDSHmUTOjpWRBnoCak603?= =?us-ascii?Q?SBnwaO+tvobL6FG+9vxyrP5PWKXRtP9y+DkNs9YFZIsPZQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO1PR11MB5009.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?99sM700PLhr/TrHMyPWZKVFMQfPJydVZpKc7bpArECu91VFx9y08zS8Z8Uwo?= =?us-ascii?Q?9qTy93Uo0HfkO4HPD7fh5GZxIIttqJs8oeypROb1rwhmer3uPWrIqqod4ndz?= =?us-ascii?Q?WHPMQGNWhU9FQCNYvzIjL2DyLd6zncOvd/SEMHfOgMbA+8/RT0g1g9gwnYiF?= =?us-ascii?Q?Utf0/4Hg10/dHBAyQwnTsN5aPjuDGfGR9N3izElaoyYsjoEmgO+rNQbGoojO?= =?us-ascii?Q?GgFjDGsVs7nul7vfCcnR1ALB12/CTOTpdTU70CUly5mbqBqDP8z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uP19qw/wVvtXQeHndKNRqqntU4X54CTmjwB5bipAhPfdvmTQnSTP+taVTvse?= =?us-ascii?Q?73yqCmz2Fnq0mbPBXG4n2hY75ZD5Yd8ENSiBeyQceIvOrW/ihAh4BeW/Owh+?= =?us-ascii?Q?IODE32YLkJ9u2flGjdIJeZzLEzkUmLMphC9s8JyolC5py4TRDfQl9sJPaAUa?= =?us-ascii?Q?94lOqTS2+QXhtiAYbw3ny1NseMM1F8D039NJ2/xh6KHf1XxtRWAnvNpZmP1C?= =?us-ascii?Q?j0SGqPqhv+nh5xSBCPaR5abNRCrrQmCpO9dN4DguptpK+xZrZBqh8TF3SX5J?= =?us-ascii?Q?hkUJduCLot+v8glF8Fy4ijmkGFa5xZJSaNvdMXQfTsena7uMtnT01sYvXIf2?= =?us-ascii?Q?9+pqP9b5fF3CYkRdqWgZGChcTUHETwYknG1vzCNx6Bo0sbB7A5H/QpGOCMkf?= =?us-ascii?Q?x9tQQLsmFaBAE6WooFO2vw8VJAWspTCtQFvoqfOGG3KNgA4QjuefdfyGI4TK?= =?us-ascii?Q?Cg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR11MB5009.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d90ea251-1399-4ee9-b466-08dce7dc4a48 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2024 21:00:50.4530 (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: 3KjMDRxiqvPZAUfIJhkfNmRRbMHPCB2t1RqgYVdJQ4uqqBD97h6Uj5KIyeabZiRCYQwwE9xHCJIKwUt3mPlBVap12kWiWBPzpqDznsLpl8M= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR11MB6409 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 Hi Stephen, > -----Original Message----- > From: Stephen Hemminger > Sent: Tuesday, October 8, 2024 10:46 PM > To: Kusztal, ArkadiuszX > Cc: dev@dpdk.org; gakhil@marvell.com; Dooley, Brian > > Subject: Re: [PATCH v4 2/4] cryptodev: add ec points to sm2 op >=20 > On Tue, 8 Oct 2024 19:14:31 +0100 > Arkadiusz Kusztal wrote: >=20 > > + RTE_CRYPTO_SM2_PARTIAL, > > + /**< > > + * PMD does not support the full process of the > > + * SM2 encryption/decryption, but the elliptic > > + * curve part only >=20 > Couldn't this just be: > /**< PMD only supports elliptic curve */ SM2 encryption involves several steps: random number generation, hashing, s= ome trivial xor's etc, and calculation of elliptic curve points, what I mea= nt here is that only this EC calculation will be performed. But when I read it now, I probably may need to add some more clarity to it.