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 9C2F9A0507; Wed, 27 Apr 2022 10:11:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F8FB40E78; Wed, 27 Apr 2022 10:11:29 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id C8FF540691 for ; Wed, 27 Apr 2022 10:11:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1651047088; x=1682583088; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ciWTSzfIN/lMtZIk87Z1ssIWGvIRuoBX3a5zHy+zzng=; b=YSu/wHHsW/4YbpNI+cdRL80HGJ0wSxXaGtor90WKxFW1KB7uCsbhucHY SzsbRNdmHtfejhEAhSxyDcZ+J4gdaw+ZqX/FpQLb/YXcqKjXNejxN+l3F g5oyvcVZX0GGnSUKZrEWp/iqAN31GXi4bbrpe6L0kZy4ncHZUqkNPpmv+ 3fL2HfKYzdiWFoF1HmF73bLHwDBhFuJySV1Aq5LtsjK6aLxXTPYkDos0E 6RT1nb+qiWNmbuUoUm2lTfd6ReuouoLZr/Nno6hdNA3Huz/ekggWOugNa iYbcV5Cj3BFnDz4tXa/zVJy4XMMn9rE68AR8cZwycXXd1Rp6tzTnjVfrG w==; X-IronPort-AV: E=McAfee;i="6400,9594,10329"; a="352293952" X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="352293952" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Apr 2022 01:11:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,292,1643702400"; d="scan'208";a="564976569" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga007.fm.intel.com with ESMTP; 27 Apr 2022 01:11:26 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Wed, 27 Apr 2022 01:11:26 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Wed, 27 Apr 2022 01:11:26 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.47) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Wed, 27 Apr 2022 01:11:26 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WvFFXzq53b1yUjN9tU2H1SSLO4fK1hdXyWq0+gM0tr5W9zyOn/++aJHMv3f+y+++JbAgfNAKcWyEgt8Yv5742hTfQbtP0ncvCvhTrDBQKqceftpALgwQrTBhTsifsSTZKdndXR//hV8WB9/D39aY6lMrACGQ7NyQMvj9KORIkMPVw2hwjy5AJJMkn2NmFYZppmttlx0NxGLAiaY6WBNLhivK79jAVab6ls/zmKjQ/ZgJG/P4RRmr4UbhN6qOsn+Pa0aS4MXzyE7+qtm+zAA8nH7l86geWL2a2oah/VHy0200B6AuAd/jJISMzd58Vo2n11o/04AsneZBBVn5AcxfiA== 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=ciWTSzfIN/lMtZIk87Z1ssIWGvIRuoBX3a5zHy+zzng=; b=IULsTmwODqP7/LB3DdldBiahvxtp3Dl+FHUDvPSgHIYfhB6FSwzX/GSc7eSEABh0eEke2hLQ3FLbEfwRt28/19xbsDhTxe/hTInbAN9E9XWe5QJRFAezm9aeCT2IGJD6gVuD1+D2z3K0AwrMAoQhGv/K9/8BZbA/sTQ0D476NUM7VypjviWKA1sXXvsa5NWlHGMiC8XXIQHSdD2Q+7+AST42lbbfBSNKaUC8m6qN/EPiqHyp/Di7iUYzwo3zyt+fnMw1Q8eRLyWqI2Zec1m48kepFQ974wj9B8KzW9QtKi0RhB1uO8tC5JFJWpuAHPg6i57dtL9XvM34o2pAXn+pWw== 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 LV2PR11MB6070.namprd11.prod.outlook.com (2603:10b6:408:179::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.20; Wed, 27 Apr 2022 08:11:24 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::787b:4b79:206d:9e0a]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::787b:4b79:206d:9e0a%4]) with mapi id 15.20.5186.021; Wed, 27 Apr 2022 08:11:24 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" Subject: RE: [PATCH v4 1/3] cryptodev: move dh type from xform to dh op Thread-Topic: [PATCH v4 1/3] cryptodev: move dh type from xform to dh op Thread-Index: AQHYWgqaHs8ksaf6xkCn6G+ytFcGIa0DaI5A Date: Wed, 27 Apr 2022 08:11:24 +0000 Message-ID: References: <20220427074400.2091-1-arkadiuszx.kusztal@intel.com> <20220427074400.2091-2-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220427074400.2091-2-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.401.20 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: af80686e-9784-488d-ffc7-08da2825853f x-ms-traffictypediagnostic: LV2PR11MB6070: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: BJ9hDGVG28PP1wOyf1u3AGnL8RIvQ5j7839F6EpTTIQZmGk2f2cKZvo7XMCN8tILwGwglNXym+YX1K5EYWHUlkMaDtdZZJ9BNR7xqb7f0cWUUJ9/rG0kKVOMuyn+kOFu8NEbqOCYy04FG9iIAvyAuIplGGJGo/t8whWFwdxsBat5tgVXFzYQAC/bM/0zoKwzjBm0cGzvDMvG0Edw5VrSZ+/nQWOuRNJ1yLXttig1TBQbmAGQVfje2kP0TJE5E5Q/nFdFRfDn2H1ceuo2eXWk8w3bLDLnKHUichUh5giQBr0FN+rkN2+D0AehlctofLbfeN9PhCBqS4Z+cvU77vgAEjgB3c9FOkenaQMXwmNw/nG7RKMd4gFGkEtrvLF9DCma5THDqlEZqnp3e3bztJqqHvV+jFEAX0P08N/vjO2fJf27vSCHvKfiWP5TNaufmqDwaA+cCodbU+YXYEFK0y9XyqnDvo9pV7Fucy0+YlrHrg0vWsGA3gubUVsg+oLojYhlh39rJmHOXDS5if8nhVOTiGScRus2YDqsuLsfK52ZqKrBxGzbV6QYomBj30t9vIWOT2xMDqqf7AmvRQgygsuAbhjEKh9KHaGqUwa/23FfKyInHufJ++81TANLYJhC31Nga7hYMUSuSUINhTg4T91o1B6rypVCXUEbB4M7cL184sZhxxoPmsRjKgp3094tks7qoFJzuDZ8+4pTUNaQ3roAJA== 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)(66476007)(64756008)(66946007)(66556008)(66446008)(71200400001)(83380400001)(5660300002)(26005)(55016003)(33656002)(53546011)(9686003)(6506007)(7696005)(316002)(186003)(8936002)(4326008)(52536014)(8676002)(76116006)(122000001)(508600001)(2906002)(4744005)(38100700002)(110136005)(38070700005)(86362001)(82960400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?gkUFDwG/qiV5z89fjFvojbDQs6DKZkXr6G/Iq5jXfOSABGhvdf+xoLak?= =?Windows-1252?Q?/cLaGe38d0Tfmp5ClM4WA36LgM8+laXDVQ45r29F9LF4ombRjdbFbmSs?= =?Windows-1252?Q?xDnmstopBlPrfQexeVfXpTvKuHgbjRNd8ECPhbZs/FP9OJrbs6dLit7H?= =?Windows-1252?Q?1gybKGR9iMl7cSCyioRFEd18JJ4Q5MGUlGmds1Maw+FvA1chQMPaZsM7?= =?Windows-1252?Q?n8DUUdtdU2OUAp7e+qsPqtR063VMS3WRUBfrAC52jiyx6yo7f6KxzMmN?= =?Windows-1252?Q?8DEPZY1OWa0YwZDt96AUK7lbmieHInz88PK+sEmfwbymgTH+NyokKXz8?= =?Windows-1252?Q?n5koXgwNm2NM7AFDtw1TOIqGFFWqHT7fvRz4rXwM/be7UxDGOQBLKhXG?= =?Windows-1252?Q?PnMnVDfbh2NDm/DXJnUwMadpvizjd8TLwUvjV4GMa4TpPlsBl1EJcYRa?= =?Windows-1252?Q?IrDDgmdpVTptHC9vyXwL83I9IUDqQk34mB6SDqh9MXpgSFuwkaGOGzPk?= =?Windows-1252?Q?yJ5+3fT/8Vn9Y1NntC4q1EP3p6H1FXC7o3dEkytrD3OSLGPvEVzFpehO?= =?Windows-1252?Q?LsvyNQNWQ4zM0w5M4zTvzNWclZEZ4v+PRTcnZgP0fmzSnBO57/3HK0SV?= =?Windows-1252?Q?LA1EnvzGH+kEwa9fUo5KUPAGoy1szVCeXwd22HicE1k8hDCtugqY15GM?= =?Windows-1252?Q?54jtRtXdTm02eN9Q1mAP/WWpC4GLV2lxKMnfaQ/Y8BZ38Ke912LVV4F+?= =?Windows-1252?Q?optnhX+MnuftHZ8DGKTtm0902XIrbrLHqMpqLPv6ZCnllGKGLM3J29RV?= =?Windows-1252?Q?91ZtUO2fumfuYx4D184h4bShK3LX2Kz8NzOB8q4ODQZWNoWUx7vxvi1v?= =?Windows-1252?Q?+JJ9JJdxmZ/W34rKGkyTKWiMJFXi/D9uCAOIO9fe8JyND6NvJid5EAX9?= =?Windows-1252?Q?/PYrPSOdMd4Hf5D3ClGsc8wNQdcWO8leWp24KsrHS1c7GmQg2XQtvDkz?= =?Windows-1252?Q?dE03ZeUYqq5JnNOKagAaAM2eXJd0cOPZ1LzIKBc8O6J/gCV9RaxBACLL?= =?Windows-1252?Q?+5eVWSzpPX+uAcOcGGP7Pfc3Msx6OhXz9/pF513GuAH/v3uwaFPXzdfY?= =?Windows-1252?Q?uum3fGC3ZV1ncsvKSAoypSE7ospDT7lwgPMTNh5Bg4nmSkkfD4mBijjm?= =?Windows-1252?Q?TOesidDGGs/Cx+qZdZNhOMYkKROPGzhyI7w/PUh+4ktnBP4W37O03gYP?= =?Windows-1252?Q?TqS8nmzX87hHjP7bJA0CkKyay03oi7ue7Wvo3GgtQynruWYFwDyoUctM?= =?Windows-1252?Q?0N/2K62w1vaHkx3j83+6CKqQHIEBtx8gr8FJ5n5g0i0yY72t8qm5SDB1?= =?Windows-1252?Q?rCSUkIMY2Bh0xH/kDpn5Yq+9LSUer2s8dHEalsRxHm4fJLHhXmZwg/9y?= =?Windows-1252?Q?RtUJrqqA2Y8YBgjavKn1OvTmcTAf7GDZPLwVvSyLXCIDZ7e+Ob22Be26?= =?Windows-1252?Q?BIQ/mJeAYsBGYYWcQZZiit3/wHU2ZExWaKC05hFRxqgda4Kcq+dqlvH2?= =?Windows-1252?Q?65C4o3zgTgBSU+lVD3o6qbZpuPZTrDeX3NprTjb1t9ymV6r+ygXVJKuq?= =?Windows-1252?Q?5+C+fz5aD1BuKqdZZ6Uj5xXClRuxkGIQPT7Go5w+fMRykEsRac5dDR3L?= =?Windows-1252?Q?gJ9UBKU86k8RepC9ApJUH+4DhAki4+LrP54VQJXjO13TnTNFvnlVptSh?= =?Windows-1252?Q?XAWTraJW4aNAxc7BOoEQuf0yhdmOCNtz27+NqoU0FmrDdxGAXLDYiSnR?= =?Windows-1252?Q?Pl5QTHva1KM1otJYmlaJ1Qg9b7MN+0YELzFD8wtZFL8ehoUtGwkCyRtJ?= =?Windows-1252?Q?KSFUU0MN5vv6Bg=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: af80686e-9784-488d-ffc7-08da2825853f X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Apr 2022 08:11:24.0342 (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: 9Tyw+D4WVx8uQeBGcO1gQyte8uOA5pTzhwjqcMwr6CYSWzlmzcqNRmVe5ZoFX4yok6E1ioeWBLgaQPDbGvcIVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR11MB6070 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: Wednesday, April 27, 2022 8:44 AM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Kusztal= , > ArkadiuszX > Subject: [PATCH v4 1/3] cryptodev: move dh type from xform to dh op >=20 > Operation type (PUBLIC_KEY_GENERATION, SHARED_SECRET) should > be free to choose for any operation. One xform/session should > be enough to perform both DH operations, if op_type would be xform > member, session would have to be to be created twice for the same > group. Similar problem would be observed in sessionless case. > Additionally, it will help extend DH to support Elliptic Curves. >=20 > Signed-off-by: Arek Kusztal > --- Acked-by: Fan Zhang