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 38F00A0093; Tue, 10 May 2022 11:43:24 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2A82941156; Tue, 10 May 2022 11:43:24 +0200 (CEST) Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 427164069D for ; Tue, 10 May 2022 11:43:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652175802; x=1683711802; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=VT5/4DqfVILXLFdfXIdFxazJnNEwBs5F4wd5S0qvHJI=; b=VO0OLy1Fr4ZHSF4t4cvnINaNg2y78DvWd000+juyb6zMQiGlJHRW3mjK QPKvhQlfAFzqE4Krq0l8bVs19Ek1lWvO5NV7eDkwp/4UqjR72f9hzW+YV B88g1IBP/GUzDmS8njWaKpRjPHFCi/dAKK/i4cMML6sRKS6wFpCM/r+9L 3RC0MHV/Wjxe3lP5i+SNXlYjDa54Qz4ny+RZzfcCE2GnfHDYErX8kMOtO koQ0OKqX31HeUHsP0JX0oO5OtxklkVjCYiepAVBa7o+FAI4cneScsDRf8 4/ourA2zPwfgqfAEWeScnK4YJQskBiqSdBH+gf1Zhn1BYQdG3Q6KF7L9V g==; X-IronPort-AV: E=McAfee;i="6400,9594,10342"; a="329916802" X-IronPort-AV: E=Sophos;i="5.91,214,1647327600"; d="scan'208";a="329916802" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2022 02:43:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,214,1647327600"; d="scan'208";a="623398298" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by fmsmga008.fm.intel.com with ESMTP; 10 May 2022 02:43:20 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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; Tue, 10 May 2022 02:43:20 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 10 May 2022 02:43:20 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 10 May 2022 02:43:20 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) 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; Tue, 10 May 2022 02:43:20 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YvZSc2L3eSY3KXW5GozKcAosOGcK2Zl+G5vCdjfDxlLyUBBDOKxYGRft4G8s7v5WBE3mC5CukF+QQPUHjvIhO8WoXCl3CMxWlWsmkWtElmApacaNi4g69abdkk6mCGAT5KxmaCGbpZJxNxKZgNkkOkElboOp7R0eZxV1l/zK3zMcmSdoX+lwzqB5pze1VsBAjMBkKr/aoyzelduQcDkAO86SB81/ptGsZq0mHuA8x+fAXGeZpZkG34xOKHZkMMphn/3824AIp6Yw3RyyAZ68VCu2mnPaP+QTDYJHVJDKtS+HRTKip/OqeM/A+gnlROlfCYvlF/+k3E2cZ+DNeCcXuw== 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=yunse6soCrCcSze1kBZRlmLIlFRLOTNp4Ti+YMse2ZU=; b=bsa8rXxMQD0olCyxOIlC9EFWTJTueL/JdAC71SJhIhjKQxELP2V1WhiZkRbIirXYsCZWOkkYbAIkSgNry/MAN4ehWmo7MRCr+gVjBYU5U7BUOSFL7PUjUP0p/ElCCJTfvsehQ/AAOxXg7Dlev/Ox46iFdEUjcapqZ5aVp7PGoGEqjvcFUmstPzBCFN1+J+dThdUUI/ZlLol6X/DBOS8klOwHWif7FWq5s8Ig0KVZvmRG3hj+m99ILDtKzRLsipdBUyUpt7ya9Te8+eJy6Ki2pobhHN0eCcfk+hy08xpbCbqtPlgQVJ9mL3RLMMvLjO/0WOPBAM2sShc2zJBQ23HWDg== 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 SN6PR11MB3408.namprd11.prod.outlook.com (2603:10b6:805:bc::22) by BN6PR11MB1378.namprd11.prod.outlook.com (2603:10b6:404:4a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.18; Tue, 10 May 2022 09:43:18 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::1478:15:bc2f:d5fa]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::1478:15:bc2f:d5fa%4]) with mapi id 15.20.5227.023; Tue, 10 May 2022 09:43:18 +0000 From: "Ji, Kai" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" Subject: RE: [PATCH v4 0/3] cryptodev: move dh type from xform to dh op Thread-Topic: [PATCH v4 0/3] cryptodev: move dh type from xform to dh op Thread-Index: AQHYWgqwORJL8fsL1EG6Ewe1nYSDN60X7L4w Date: Tue, 10 May 2022 09:43:18 +0000 Message-ID: References: <20220427074400.2091-1-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220427074400.2091-1-arkadiuszx.kusztal@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.401.20 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: eff63859-a9e1-4b31-0e72-08da32698397 x-ms-traffictypediagnostic: BN6PR11MB1378: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: Po+yTvceH+VsXd1wigBMgVxwjaXjsXeTmWJlQkMGWpS7lob0ZYvpge6ezGs+LrZkIvsHNvNAltNywHgF5Xv2p8Hl9SSCfLWyaX2Twv2a0aAaWZEr3FRvfZg2TDZKpV4AeYlNASsqxnOl9QUaBa6L7NdYTPYUsF84oC9eSBD8KaNwidtxZJgdn1EuHaqRZzbQbP8zlqDH7GKPmVlNZXaFze+auumofiUKBugU9wAPophaKOYAMUbFPFx/JGtOlOl1bIlZ+D73D+1k0DhxV4ThLpkk6yioNdn1Z2TijcZyXD1u9LCl501d8RGGTlHXcoeGc69Bc8N4VQBy1nfFf93yJUJioJBNKDnNpUadDhHu3CYFq1YM6HL4wDP3UsA2I4bX28j/zLHAevwEI1JflG7kYbHrYDVDJNJ4rrrNKGak11MEzuZxptlp0qhJM/riFvqfCQ3Y6HH7ZurSrJShSN2ObmxW3/Zt9Lu6iqdc7uB6zEQGkYKw1gv8J8QbjqhyQWQmvEbJYDejXRQr30zHfk9g1nkh6TrvbaL52LLGyEcxPzXgEI8ZOp2pb3vE8MXhpSnFpXKWNbyC108ETQmdHG/i5nlvvKb0tUAO/DES4EUO68FaXdRVXzeX06Jwwn+HpjVdPdXO5QN5SDWFiwIC7ArlDvdrxtvAqsoKuB5aj/tuGKL0Hi/cuX4R2s88CLGCqhQMoLECRCPanob77lzrqWb7tg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3408.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38100700002)(52536014)(508600001)(55016003)(316002)(8936002)(33656002)(38070700005)(5660300002)(66556008)(66446008)(66476007)(76116006)(110136005)(64756008)(186003)(66946007)(82960400001)(8676002)(26005)(9686003)(86362001)(71200400001)(2906002)(122000001)(83380400001)(6506007)(53546011)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/qXjOpKeG7PelFtSKW+7IhvOBEUAy0MMSQWXECn2Nfg99IKM+mOs64U3efSA?= =?us-ascii?Q?FYN5opVFy1TjrQq46Z/io53+VoQC/6+RJgMhY47jDBWWGlWK8DOvMLkCno/A?= =?us-ascii?Q?/UiUgz+xqDx1j2kJD0bBqzcbTSDfQAZMrK+pi4Hc+aUXOZ/6A80XXgI5BP0Q?= =?us-ascii?Q?vsfjmdT1yFYA6E358Hn8B2SSvuuBKdKAazXIocWwbs2NGuwpXsuVybdVEle/?= =?us-ascii?Q?jV+Q+9p/piO8tbzWqhvQR5lVH8SVTnTb887pzn7dD8Y7DbkL78c24sxKNzAN?= =?us-ascii?Q?QvTDIQTOXZgpgPCpE+no+JvROnjHekP4XpFsMv9VNI0mkEe25Lh3lipF+NwT?= =?us-ascii?Q?gFkxxUWff+PBvIHYJ68o+4DCIMkuNaw/bOVvsvog93K0yTI6QO0j4aVpLzHy?= =?us-ascii?Q?CBL3sG6nC6ILuELGlYkS+zzGVRmZBL96K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SFvnDmjHMmP8zaCVdPWRTjoFcFu6y/4EUomJFeMTddhxWhW7Q+ziXN23uFW?= =?us-ascii?Q?J4onH+9GbA3qo0m08BCpbda9waptY421iI4ZcRu+MTCn4Wbik9xnhIC6CyOb?= =?us-ascii?Q?HBc5y5atQi9GNPbDdSaqXP1zfU4py4IRPRFO0DwLQgKktIq1QHhb5RcUyaJp?= =?us-ascii?Q?5Resof0m5eI7Dh752gWQv1IEGA0WEnFl9MwKBEdJcDFrbXeFPglXAdUgshri?= =?us-ascii?Q?R1YgOSfHekN6PfbKyFI2wI7+TEWDg5vzSXiO8+JlKVJu4VtgmbM+6YdVy3I/?= =?us-ascii?Q?y7i4SeA+qMgYWVBDzHK3ZG0MfXf2Ea5J8ZBVo16aLAnonItpFNpaVdelLBGH?= =?us-ascii?Q?MvpOl1/mVL4UHnZG4MLcAHwQTruCx1dZ89XLSFLKZwlWZCYoM3G6UK5iWxn5?= =?us-ascii?Q?/Av6f9F+7g=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: SN6PR11MB3408.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eff63859-a9e1-4b31-0e72-08da32698397 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2022 09:43:18.6547 (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: BZw1zKpKM0nRnD+7dJz61AxNUu1iv7rqKKdXRNeJh3pg3bLpfQ6XHLR3GwyP5+XJXvGSHmCGtfXjhsXKwdA96g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1378 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 Series-acked-by: Kai Ji > -----Original Message----- > From: Arek Kusztal > Sent: Wednesday, April 27, 2022 8:44 AM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Kusztal= , > ArkadiuszX > Subject: [PATCH v4 0/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 b= oth > 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 > v4: > - changed op_type coment > - added openssl fix >=20 > Arek Kusztal (3): > cryptodev: move dh type from xform to dh op > crypto/openssl: move dh type from xform to dh op > test/crypto: move dh type from xform to dh op >=20 > app/test/test_cryptodev_asym.c | 11 +++--- > drivers/crypto/openssl/rte_openssl_pmd.c | 54 ++--------------------= ------ > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 26 -------------- > lib/cryptodev/rte_crypto_asym.h | 14 ++++---- > 4 files changed, 16 insertions(+), 89 deletions(-) >=20 > -- > 2.13.6