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 1A78EA0542; Tue, 5 Jul 2022 12:43:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B19264021D; Tue, 5 Jul 2022 12:43:47 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 4E6E7400D7 for ; Tue, 5 Jul 2022 12:43:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657017826; x=1688553826; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=303kaj7jAeXG3Z5YrNMW1tlHfM5aqoCh/4tqKINBXrs=; b=D6sLIl+ggef2fDp6MReBSYF8LOnV6CNt92POWrN+DVrRER09GSXuevNN UC2DApU7B5c5lOwbMPgxgwm+buBHScp3Ks1TO4357eE5mDFIegwyA2+jc zMQuJgyer7q8dROPvnm664Loudt8U/LRHPy7TlHWwQlwS0xi1lwo7+A+G DnIhQTmpwPEv9fZzJOoGT+KFSijT+i2umlYF8CRR01t8G+BayE25/bCi0 aUJ0xnk8mwia4lrhjqq2qfwfmwcrDnpr5gZum5hPIEWWiUUmiszEzHkQi iA+Bno8wC5L73u+x8CG8+rNa4JeYv7bmDjNqSolIAp+ax7RFvCZHYd7b7 g==; X-IronPort-AV: E=McAfee;i="6400,9594,10398"; a="369642889" X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="369642889" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2022 03:43:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,245,1650956400"; d="scan'208";a="650071088" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga008.fm.intel.com with ESMTP; 05 Jul 2022 03:43:36 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 5 Jul 2022 03:43:36 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) 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 via Frontend Transport; Tue, 5 Jul 2022 03:43:36 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.174) 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, 5 Jul 2022 03:43:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EZ+Um91RWJnM1/CK+9dwAEbZK6ND9E+gxJbqV2Tu6RTb33S8wkdL1R0KwnAeBOkrGI6MMWP6Udqq+Kk9yiGlWwRnfSBOgl2lwp0e/4a2acaAQnqnWXcB3TjIbFYPA4cxGjKIhEyHSGXi58y5kNRUrM/NxcJg3HGzJqWgQ4Mh+OyuhGutHB7AvmSfAfpPDqkfPFDvaAC5sMqQfx6cLQ5+2Jz+GQlmXwMDqhxGEzVk3QE9sK4IhkV+wD4oad0ioaA0n9H1nh1Y7dxEVvDlwMdkxWTC6JVMKIjptFeBvOMm5x1ExIVhlgoCB2ApZqOssMDW4HajWVG/SlF2a0MYK+VYPw== 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=vBmfuwPkkW0HDhWq1noy1cbodFaCIsfUkp5bMmrTkdI=; b=MSkP+hHPZocKrxLIjtnrdQ9Kba8eLXv1tWqLha9Vw/wuUDlXST7lE/C8kFOB33Ibh38cvdN4ROFj/WbpMI82LKqwNQ/Q/Rwk4dWK3EcqPHXzz4/JkJ/gD5z2zbgGgq3OMCgOREDPOYXtuw9ydpR7Il/ScpEFPtUdzGp1s6UrBDCweeEzlRIvdmuXd5+2x2PWN4mMptYH909HJUar7BJJl1PQ0rFy1g47Z7R8hdgzO2YvuLD6p3WTC2XXDV7Om1GpkbOCmcoh++rxqPKiof0PHzrMhYHXRyimpvflGMDeCfysnHXTQj08pC0XKezcRwS+UX69Q/h0vPFsiSeuIMakrA== 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 BN9PR11MB5355.namprd11.prod.outlook.com (2603:10b6:408:11c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.14; Tue, 5 Jul 2022 10:43:34 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::9889:f85c:6776:72e1]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::9889:f85c:6776:72e1%7]) with mapi id 15.20.5395.021; Tue, 5 Jul 2022 10:43:34 +0000 From: "Ji, Kai" To: Thomas Monjalon CC: "dev@dpdk.org" , "gakhil@marvell.com" Subject: RE: [dpdk-dev v1] crypto/openssl: EVP_PKEY routine update in rsa op Thread-Topic: [dpdk-dev v1] crypto/openssl: EVP_PKEY routine update in rsa op Thread-Index: AQHYjG2bTx24Ug44hUSsaFcXDp+3Pq1upFWAgAD4ruA= Date: Tue, 5 Jul 2022 10:43:34 +0000 Message-ID: References: <20220630103848.36515-1-kai.ji@intel.com> <5501984.rE2NhlSrgm@thomas> In-Reply-To: <5501984.rE2NhlSrgm@thomas> 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.500.17 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: b55fda32-6767-4010-df63-08da5e7335dc x-ms-traffictypediagnostic: BN9PR11MB5355:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 26LslNlVqamaMftZhle4JKE0g7zrF7DQ46HgolLSxG5RJsiQvma2qQSHuCn/r1GTTkSqgEB8qcc7bdNvZvUB4sZNwKIA2NkziRZGndDo/BX6WdOnsF8c4Q+qPONqaKRSw390Fytj8LTCs2KBRsmfxkWtzKUXW8uVcPEhWm5AqV9Yv14Eu+mKI+td5RVRcDCedlaRGixuAkb8sPA2WwoSgQi8CT1Xqu5N9IxWrvLJNIBkkWGGKbwAqjjzI5XMSLghW7A7qo8zRgGwwxqRpv5LaH91g6MGWaZbrnhLioQsJ/5ENB0IFCn384by5nBFPGOtHOYb0BZsiOpZdNVti6zf/m/JVKkI7RpPseo6TD2o63Lnoh39F9liqKXs9zKGJK/Yu927LNPTI0lxXDXJCoBL3lAj6iW1FYFlGF61MrhJk2YVDFJVD7QpyvXx7oUiPWtTOy1ly6WS81tQyeb/mm55j/uCX9EWHm1UweX8r3qjl8xtkMPbrKoaw/meTw70ODP5+z3RP43o88QqnyTboJfVNytETdTINyXU+GCRqE+DPwJdj9d37Co8A5Yns3MpQLM1REdUI/Eo1TJslw+2Pq0lo1MWQXTyXCdmnm9JDqKWcWXTm9zk5UkAJa43J1E4PLW6J+wKEoHRvTGrz2fL22rqZvqYdDoJfrCTAC+OoXjyargzkXtlTmO5hfsCT1dABIvz+X7YR7rfC3jxRDxRd2eF7Uf4DK9WOpKLIn7mAm36fmaTsMxlbroNoavL1qQXVLVN6sA50NCuz/aCOv7mGcap1nh4gJ4eBN+33OdVYtWaI5xwxt5CrD3iFXZVPwyPl7Xs1Hty+Zw92COdM4tQ7KzqstPXIWRdYc/7fvrawnC5m4U= 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:(13230016)(346002)(376002)(136003)(39860400002)(396003)(366004)(966005)(478600001)(2906002)(52536014)(8936002)(76116006)(71200400001)(4326008)(5660300002)(15650500001)(86362001)(9686003)(33656002)(26005)(55016003)(83380400001)(186003)(53546011)(122000001)(41300700001)(82960400001)(38070700005)(316002)(6506007)(7696005)(66946007)(66556008)(6916009)(54906003)(66476007)(66446008)(38100700002)(64756008)(8676002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?veSN1OhM16DwLf96qDikJgAxvmmFYKh9oT973BrTCeVyK7HY8qMlZlb9qOIA?= =?us-ascii?Q?s/FzBEVcj/uB/+3mewk7ZJg5uxFX0HGVskMTsaOh1gPSHHuv0cnjTI7VkLYx?= =?us-ascii?Q?1Ma+7mI/zdGSON7p8oOm+AbCQl4u5VmIKGeedjSonhj+uIkhZH+10OEqVZCB?= =?us-ascii?Q?KQ7VsCIGCsosa+eyJVJ03ES54LPi/ptuzZgOp2GEJchtdE27HNUC+kvmfexo?= =?us-ascii?Q?U/pidblRf26X/9d7vUhmcs8gVH5oOWaEru6kxD5jjzu3RY7dKSUZpaGD4a+J?= =?us-ascii?Q?LHZegmKB5wmu/j9uCLNJabl5VcyQj5rHuaLM6nTzZhuqpLdyw/FCR30hcnUU?= =?us-ascii?Q?7KrZnrLKnRIawGxPuu5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?us-ascii?Q?74CqqzAvNw/J0khmmRo+3SlZXNnUBStiVoSqeR6+/feLc+5nIqsLWQHKhgx3?= =?us-ascii?Q?UghG6iQevuWEZjsQBUSEGpnSuHiRaMbmwY/YXgRdEYpnlyfnB7VBiBYkVIwO?= =?us-ascii?Q?2f3g6euh8j0SPxiUkjKr2UZ/eZgdbIZqKRHfEBBTiS12iyJ9lze6wA3rQZ5w?= =?us-ascii?Q?nbSfDpCFRK0hlPEGxxPY86scDW8oF6gsIRCrQysNojjioCZ7GiXSo1zLPw6t?= =?us-ascii?Q?adxjwT0ZLajk/md03U/zkMZT0uWT6OPHBpAALgJ66atFiLfMaG46J32TPl6K?= =?us-ascii?Q?rKbnoBw456/0lhDojKE=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: b55fda32-6767-4010-df63-08da5e7335dc X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jul 2022 10:43:34.3795 (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: S3j2zKmKWB/ZvQG5Pok8XsuSLoxShfvxvbOvTlXebOKZ1rGhTj/55sSJXfoiX4wvMLjJjzrhwuOnnaSd4yyhQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR11MB5355 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 Thomas,=20 > -----Original Message----- > From: Thomas Monjalon > Sent: Monday, July 4, 2022 8:45 PM > To: Ji, Kai > Cc: dev@dpdk.org; gakhil@marvell.com > Subject: Re: [dpdk-dev v1] crypto/openssl: EVP_PKEY routine update in rsa > op >=20 > 30/06/2022 12:38, Kai Ji: > > EVP_PKEY function need to be called twice for rsa sign and verify > > operations. This patch also remove the OPENSSL_API_COMPAT as all the > > deprecated APIs are avoid if 3.0 lib is present. >=20 > I prefer not pulling this patch for now because it is not clear. >=20 > 1/ What is fixed exactly? All RSA sign and verify were broken? No, this patch fix the 3.0 EVP API in RSA sign and verify routine, origina= l openssl 1.x rsa sign and verify routines are untouched.=20 The original patch set for Openssl 3.0 EVP API is here:=20 http://patchwork.dpdk.org/project/dpdk/patch/20220621154214.78176-3-kai.ji@= intel.com/ > 2/ Do you mean OpenSSL 3 is required? No, this branch code will be only executed when Openssl 3.0 lib is detected= on the host. =20 >=20 >=20