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 5B70AA034C; Fri, 25 Feb 2022 12:19:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D49054115C; Fri, 25 Feb 2022 12:19:31 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 985104068B for ; Fri, 25 Feb 2022 12:19:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645787969; x=1677323969; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Kjiq+aasFV+c0eSL0FwB2zrvwAwudwqIMDvi0YK2l7g=; b=MPSo4LzKLIeH1H5MwsQW24+z1da7+4D5A/YUtt6cON/PoRD5Fc45sqmZ rUkoFmBMaXlnhvIJop9G+j1YQTP1Fm+8Pno/fqS25tXc8LamLy5WFF6ac NwbYdMmADgmq1FL0xmFvaJkvj3u+SFpOsyIjicnKqqm4BYkvcBwYKKGP+ Teaya/aAC9LBzpkqMQwXk/BCqiSgorzdnY4RR8Nyh2vCs93cT1fuhNilZ 2u6dRjSdx+PMQJxZ26UFojnmYBXlxi4R9AlipJXIoH6wpP/amuGehS5vH U28QzmHAFc3Wg6obESQzEKp+MysXe9HM9pWIU/YhbuifuaSLflfw0qFPv A==; X-IronPort-AV: E=McAfee;i="6200,9189,10268"; a="252207961" X-IronPort-AV: E=Sophos;i="5.90,136,1643702400"; d="scan'208";a="252207961" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Feb 2022 03:19:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,136,1643702400"; d="scan'208";a="506665319" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by orsmga002.jf.intel.com with ESMTP; 25 Feb 2022 03:19:28 -0800 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Fri, 25 Feb 2022 03:19:27 -0800 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.2308.21 via Frontend Transport; Fri, 25 Feb 2022 03:19:27 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) 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.2308.20; Fri, 25 Feb 2022 03:19:27 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bMicSXh+Cqk1s+bOot1VnpbDb0MeClIEpiJvngho8IDcWKrwXycNDwKJ1Q0KXLX+SqhA8fFWd2tsNrsP6c/x8ubALjfncyPaoV8SnRllIiEEqbU8ONsq6XIZLff1c58jQPd7LkVYmzph06T3p0aPxggmtXWZD5KYvZlkFnJe0tOhxJm8V41HI2L8MFGyOn7E8RRvBz8OsNgA60Y1W8U/aw/+XsMBvomTOHWG639JXx93cr5DgwwpMd/sYZ0XYKUhPsgVLuowsn35yHWdWUihnsnHE3RkSi3nixHOHDXqrGh06+GSV+767KshRzZ9XVP1IHeJ717nQqfDvs9gINSp9A== 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=lhz8GxVQ8yW8Kx3sGcBOJQXP0W7W1kXfSYE1WZMJ2y0=; b=mUgP0LmBZZRr5N8TigavB+LwuratGoXF8tYSdqoy0acfIHR1ARXWLUZOAj6ehpktKR/zCtVqmbhs/GobFNcmXhxZO+Sty2jugnhBujemPZftY1NPcaWG5dhjmuKYNHagYhIKwOy22iHHx8+6YFF4j1QYcl6BsYqtNwH9ldyPlWsjKp7v1znEuND+PMRUkvyT7juJfVXRbnT2pEOHH+0wTSBy8nP/Wk+crda5fQsWlE4f0JhkAXiH+R59eZT9Ehb1NobC4aaV12KW1FbKhsGXL9oQUBxgT7+gOaM21ViKuDaK612BG4L5HpIIBocuWvymFM4hawNdYMakpG/l0U1haA== 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 DM6PR11MB3403.namprd11.prod.outlook.com (2603:10b6:5:55::24) by DM4PR11MB5327.namprd11.prod.outlook.com (2603:10b6:5:392::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Fri, 25 Feb 2022 11:19:26 +0000 Received: from DM6PR11MB3403.namprd11.prod.outlook.com ([fe80::4c99:9b5e:7cbc:5592]) by DM6PR11MB3403.namprd11.prod.outlook.com ([fe80::4c99:9b5e:7cbc:5592%5]) with mapi id 15.20.5017.022; Fri, 25 Feb 2022 11:19:26 +0000 From: "Ji, Kai" To: Akhil Goyal , "dev@dpdk.org" CC: "Zhang, Roy Fan" Subject: RE: [EXT] [dpdk-dev v5] crypto/openssl: openssl 3.0 support on sym crypto routine Thread-Topic: [EXT] [dpdk-dev v5] crypto/openssl: openssl 3.0 support on sym crypto routine Thread-Index: AQHYJL3fVxDXIXAC+E6Y+aJkEzg096yjGKsAgABCUwCAAFKmAIAAYp8ggAAOQ4CAAAmLcA== Date: Fri, 25 Feb 2022 11:19:25 +0000 Message-ID: References: <20220218094408.49290-1-kai.ji@intel.com> <20220218115124.57745-1-kai.ji@intel.com> In-Reply-To: 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: 5d8b28ba-93ce-4795-60bb-08d9f850ae9e x-ms-traffictypediagnostic: DM4PR11MB5327: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: HkIZbCNCY89RFg3E3w/rEIQYq1EdEewRXfbRK+OpxYAqeRkBlgVqYaYDS+BKSXvSvaLDMlQk+LujtUPwlmzAAZxvwOcWA6sUU+Ez5DO12i44H6c+ViMIc+LJxVuXpyOcCYRrSUOeMRuTzLZ8blo2JLZbc6BMbOkqWgsLpQ1waDMeWmchKC0o/+Mu9HiDFOZ4UCpb/wUCIdnI3tgLxJsw/PCn3KnCq9K5dd8GLFH31VvKlj3WdsQI4fESYllWMAuCrrxNGUmCdNB0YvVQHjK06wngAqO9nJcHLJ5wKEL7ekGzmzPl0bOuXWtIDu4q/KpetMZ9fucOpB1BH59/JDjS8Bp81jrG8RvKrKWLEBDqY8IMJKr86WVkcycOw2d7xBorqAOfKY5YU5iL+CScZJ2hpaIenDHGf3Qa45vu6rAtoiamv8zYHBFNjryLMSMMw4ct9VNMMmWfQiJ81BeLkbv+NE1tLu2c5nj/VL7v0Fw+LTunnyUpUAwUkxg3rMgyvvdkCv5KknE4rs6CKQlz55N+mdEJATHt7O+t3xoUW7CpUrdxnk3P+0T4stVMaxUVO9jmKgQhgNihADVRXhEN/fa7AaIKdmObIDGLNII6aLIZZQjozfD4sWd+dNpB2UZXbXvAkL75wiE/jivLAlmTyRG7JJNcOh5LSPgod3kXxEnZCXPGXWs3IfU9k/i5uZeEGoQTLmmf8C+69/9ixDs4qHuiLQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3403.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(508600001)(2906002)(55016003)(186003)(26005)(38100700002)(82960400001)(122000001)(38070700005)(107886003)(4326008)(52536014)(33656002)(9686003)(86362001)(8676002)(8936002)(64756008)(316002)(66446008)(6506007)(66476007)(110136005)(5660300002)(66946007)(7696005)(66556008)(71200400001)(83380400001)(76116006); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6t0mO90sDUGN57yM1GnLM7fHeUpX3CBbx+bovtXW0Az5eSiw3WgTEdbwWhlL?= =?us-ascii?Q?ADfEAm6dg1Xh6X9a48pX5qNfcS9mrXxfLujN6h5XRuT+oZcgCsPmV8i06EvM?= =?us-ascii?Q?a9qmK0istrOS+eoCdefyeblnIt5sGvq25TXQo1Y8sLY8JOm6vvxz1UunyaVj?= =?us-ascii?Q?zxqe5mr6/ZDhis8fVfczqTC7VqDv80IKxqVVjgaKAHILaD38bJR1a0/9Cap6?= =?us-ascii?Q?Rz2ZRMzh9gaAXMm1zDKXy9EvInDLHkzoz4SYYBOl0DbeDWPHSqensRoaRUfd?= =?us-ascii?Q?LOwedTDtrVULebSk02RSNAOhT3sncWl5Gw+xgNNiXfYIja7MEkctoz5eQpQf?= =?us-ascii?Q?UXuBpSzKaFttAKRHebYZApf6FBADum8R+q/Tn+9gyGaYtRL6s3c4CEl4M3wH?= =?us-ascii?Q?J6FEe+v33Xad1ozjVlSYYtM6wsA9I4ZXqOLS9sJkTZanOvnFh398qLdoqVfX?= =?us-ascii?Q?L4+p9xZFpJttSvws8/aSd9ohXSFxN8n3bADQc+tv4X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V+mlKvz3QttoiRlTXkNvNfFMr/bJDHe6LznevA0hVPf?= =?us-ascii?Q?nE+MYP6/uyMKjN6g5K6h+k1AaQDnW1bEzxeUZSFjxoLVd9WfKHItOER7POus?= =?us-ascii?Q?noBnB2mmUCV5MTMqXBBaf6BUVCCVupdNUtjs++exNKDAV2aJobAc3hYBgofS?= =?us-ascii?Q?D4QtESwI2tv01NEuuDpEFMP25oOr6X3jXxdUAIyIkNimS4q2IpxJ5RyDq8UV?= =?us-ascii?Q?TsuTbsJaaDcW05uwA9ZpSmg=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: DM6PR11MB3403.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d8b28ba-93ce-4795-60bb-08d9f850ae9e X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2022 11:19:25.9073 (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: Y6rivOeJdOSiAnbnuv/81Zr48PfEVmUKbbmPS2OzJILUseshT94Zgasowhd2spHoDmz0jgg2PmFfGD3td3h5/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5327 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 Akhil, >=20 > When DPDK is compiled with openssl 3.0. I am seeing these errors in compi= lation. > So, compilation is broken and we cannot take this patch as is. > We have few options, > - fix all of these errors, > - add exception in meson.build for ignoring these errors. > - disable/skip compilation of PMDs if openssl version is >3.0 >=20 > Adding only one type of APIs does not make sense, if the driver is not co= mpiled. >=20 > In file included from ../drivers/crypto/openssl/openssl_pmd_private.h:12, > from ../drivers/crypto/openssl/rte_openssl_pmd.c:16: > /usr/local/include/openssl/dh.h:223:27: note: declared here > 223 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); > | ^~~~~~~~~~~~~~~ > ../drivers/crypto/openssl/rte_openssl_pmd.c: In function > 'process_openssl_rsa_op': > ../drivers/crypto/openssl/rte_openssl_pmd.c:2068:3: error: > 'RSA_public_encrypt' is deprecated: Since OpenSSL 3.0 [-Werror=3Ddeprecat= ed- > declarations] > 2068 | ret =3D RSA_public_encrypt(op->rsa.message.length, >=20 > Also, avoid top posting of comments! I will try to suppress the warning message in meson.build by EOB, otherwise= the patch need to be deferred until next release.=20 Regards Kai =20