From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.33657.1669019483909664497 for ; Mon, 21 Nov 2022 00:31:26 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=e2ajke0c; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: yi1.li@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669019486; x=1700555486; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=Qpr543tYnuh/FCFpw8BIRZumS03OboeyMIpaebhD3Ok=; b=e2ajke0cSpKDDM5QVX5xcrSqT7qwg3vnUW5OuTqw6gni5vlVZyMogdUW KzE+rqjyg6/P8TC28A3BYrGLgBK/1laE43eRrTzKCHKgQ6m44yQo5LK/T pjraU3iTLbcy8B9ltp8rSKcuARiEHpZe4tJNGuTbAXuKAsvopKGFyqPDL /dhDRYia8Ij3DYhuKSNbQCQkHJ/8ORbC+6GQNf2MqE+JoAU3yTG3/qC0X zcaRDPj5qGuxP/4zocyhPx3V/DsjJOJ3epNFSc0JIx+0ADTFSSdjsWNcu QPt6mGj+OHSJ0oUANOYP4D5SAzrP75wceCiqI9klHjJxg8Nta1FHqWUVs Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="296861855" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="296861855" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2022 00:31:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10537"; a="591688801" X-IronPort-AV: E=Sophos;i="5.96,180,1665471600"; d="scan'208";a="591688801" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga003.jf.intel.com with ESMTP; 21 Nov 2022 00:31:21 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 21 Nov 2022 00:31:21 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 21 Nov 2022 00:31:21 -0800 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 21 Nov 2022 00:31:21 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) 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.2375.31; Mon, 21 Nov 2022 00:31:20 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eahci2TYxZtz3sPBOFDTZGuH7wRzRjjBrDwE/gAUgNo33kcxAqiU9pt/vf8St4y1hk7Z3M+8df6Su0Rh2uQGzG2PAqrb1cLweiE0fOXSQR0d4hMOPYKztF+VTl0bQXbJFx1SWqsHl5bwoAtQBDa/Gk8iFCA/RzaoWHsqVvWSNc/ttyQVrI/qn7MqR3viJRvOsgCghTkUd5nVwUSZiB8/gwH1LsYn9YqePZy0nDu2SZR4/AEGvKHW2CMC+yHxxN+ln9u2JexgZKGpjLUfLDzAn5S0qAYI4YYbzvxB2AOoszv8QKNeInMPeZKLAm4lExlarPZByeSFbN9vadtYHB946w== 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=Nr1qtSH/vJXmsZknqgjFm37Ob77sKjCWhXnulJTU+kc=; b=Dol+QuBjAr3FSLDP9BrlaDBuNcXpSTJSypp7eilZxl/tHCGLXxITN0Zc1woqEOLgTYhHkLJtqLrADmWvhmNGz3sEAFXLGVep9VSRtyja9kAGjEk0KK0MwiZtDBnGBjjmudmddaG+gc8SZcxJ27qk9DQPLr2jClMAMi9gVlqqLbebqIGNh7bx4V00r15rujQRNkaxDpcft3exfZQ/YCUjuZ6/DjGw4ne6HkgTM2g/hWR0cNgtpXcTxym3ulK19JY1NR6nqcI4v4sQB8i/PkPB0WFPp728VpYyEMMXhWaWPknrjrT3bdCTyzYx4/iSNVK0RQN0N5yidsHKYWfS0EOa0A== 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 SJ1PR11MB6227.namprd11.prod.outlook.com (2603:10b6:a03:45a::10) by DM6PR11MB4513.namprd11.prod.outlook.com (2603:10b6:5:2a2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Mon, 21 Nov 2022 08:31:19 +0000 Received: from SJ1PR11MB6227.namprd11.prod.outlook.com ([fe80::221e:24cf:a864:9986]) by SJ1PR11MB6227.namprd11.prod.outlook.com ([fe80::221e:24cf:a864:9986%4]) with mapi id 15.20.5834.015; Mon, 21 Nov 2022 08:31:19 +0000 From: "Li, Yi" To: "devel@edk2.groups.io" , "kraxel@redhat.com" CC: "Wang, Jian J" , "Lu, Xiaoyu1" , "Jiang, Guomin" , "Yao, Jiewen" Subject: Re: [edk2-devel] [PATCH] CryptoPkg: Add b_print.c which removed floating-point to OpensslLib Thread-Topic: [edk2-devel] [PATCH] CryptoPkg: Add b_print.c which removed floating-point to OpensslLib Thread-Index: AQHY/DPvyfZXN0Z4HE68Bs4Ea/6LG65Gb6RQgACkvgCAAdbUAIAAH3lg Date: Mon, 21 Nov 2022 08:31:19 +0000 Message-ID: References: <20221119162754.1034-1-yi1.li@intel.com> <20221121062346.fu5n2dgx3s74fcrb@sirius.home.kraxel.org> In-Reply-To: <20221121062346.fu5n2dgx3s74fcrb@sirius.home.kraxel.org> Accept-Language: zh-CN, 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: SJ1PR11MB6227:EE_|DM6PR11MB4513:EE_ x-ms-office365-filtering-correlation-id: 677e2257-4836-4a82-4213-08dacb9ac3bd x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oL7qbkDx2TuJvqqRHq2iwCpxhL/WWKMzbw06x02iKXL44tlxMd3PRIumUqINtB2cW9akyegjWXspdMxFRRxaCSXJCF3fnHcnY4WimyT5/Pcci7W59H3C54yl191cDVgPzigWLFuQDVrsqfwBZ2YsXC2ij8N/qhxWaxSAgOExSYBvxdBhAxUOlazdBLNlmCY5aKL+pyOJDKBO2TsCNTqufwwmuc+ENHluQ9aTXEY6swdg49t3Cmu13EbBAyx6cvFa6RRMJeHPSFeJj5RXDct1ja4kLDTWSgSniNKbZ0LnLEKyy4TLLYy1GzeYXM4MAssRn9LbiCyM4+fP5GzByAsIhhE9Uga1OSvB0MxDDgBAPxZ7Ss1SJiw3v8lgyI6e653lLbSjbzDfaff/NivEjdLLSKRKlVb8CC/rE7lXCtXICTPVh6D1b4eK1Q9OMZQSqas79Bqs67n0oXKiX+7/kw/UCz8Z3N/Gs+ESWqk5OxFAEsAlmHzSCNVk0/Q/jUDAC9twyFISFxSXFcmtF7r6uiqWRitp8dbhCshXQSpNi4sSTYoDuvByvfCPg9kNL3/dgqNW3cR5ZzaGBBH4exnDlaurBSO6RzNuWTOMHEPG+P/c7E6nDlLh8hwkYohPGa6Cegmxw4dZr6mDYCSKINUmwC3eFUy3a8JNTKpFWcI4ZJyYewhSMDHRnMj226VJ0M7K2VVv6qZ9315gHM5ALvGzFvS8sOw3vKLiLO9NLGVTpxUAoAH5Zyjy2kHpZYJRC8HOO4uRTurTWyr12/KLXg3LDRGjuA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ1PR11MB6227.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(39860400002)(366004)(376002)(396003)(136003)(346002)(451199015)(66899015)(33656002)(38070700005)(86362001)(7696005)(64756008)(76116006)(55016003)(5660300002)(2906002)(53546011)(26005)(186003)(83380400001)(9686003)(38100700002)(122000001)(82960400001)(54906003)(107886003)(966005)(71200400001)(52536014)(8936002)(41300700001)(66446008)(110136005)(66476007)(66556008)(66946007)(316002)(6506007)(478600001)(8676002)(4326008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sMZIiW+vl9jKHWzBBTFmvu+T69oYIac5kOBuDLS7wB5eWw3zT1UH4oqZi/0B?= =?us-ascii?Q?ZzgcYewlrM5Oy8by8NuCMI1OzCx+R0BaaVvfnE8/Uo7JHRXyMuFe3uAS3CjV?= =?us-ascii?Q?Qnu2/kNXktmKkC+ykhoci0oJkQHDdHYrnFQ0C6nl1yV59LdGnUfHlx2+JwVr?= =?us-ascii?Q?eet/5+hJNIaX/ADrxwDs6J5JuMRamfoUEJE34xwflWwzHkcvBqCr8peSO/oT?= =?us-ascii?Q?UrMV+1tun/aU6qteP3ARS7fDYw88Ji2rAfJXAIlUwgP54Xic1uqV821q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BoUU12vEP09m8YDmNU8t8IyE+aR7wWo3aCaZ20T?= =?us-ascii?Q?SiqgfTC7gm9OouI+/vk013Dyg5pKzna6qmQOvyT8kLJLrGHWNHqHHLAUUJhs?= =?us-ascii?Q?wC4qviK8y0wKIPeuSzZ1pBrz3Kh+imVdpbGaOhmkvlNmIjvzAO1FQjx9WRuj?= =?us-ascii?Q?iTlS34uhD1ADRN/vMIELyF3Hcopq7wldFzaQoWRWpgAkbg23bG9+jWI0Svlc?= =?us-ascii?Q?RQNsz7xW+c8ayNV4S0hybAMeatrtaXSpw97Z/rAc90dg8IyWdcVYe23/Pw7Z?= =?us-ascii?Q?p/GEf+pGWAHA9FdFL4Y58KLVJwK7/6q8wwwzXKuuV7l8stjJNqL1ocBxOxy8?= =?us-ascii?Q?UAQE5gT+/bVuQUc88dGenZP7NH7RI6heuQCOBWo80MgzEWR88vDWK8R+Y3BI?= =?us-ascii?Q?ZJSecUvm0QvsqavE5vw=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ1PR11MB6227.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 677e2257-4836-4a82-4213-08dacb9ac3bd X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Nov 2022 08:31:19.5084 (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: F2Mo/e6XbLAy5ErV7DA9bmaKDddNjQhUF85Njd91gAN5CAlzDI0IZb5nqR/8ZA62aOdbZolevRtDy+PcFYxqYg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB4513 Return-Path: yi1.li@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Gerd, Cool! I noticed your patch in openssl3.0 branch. Because the Tls cert time check needs to be solved as soon as possible, I will cherry-pick your patch to 1.1.1 branch instead of updating edk2 open= ssl to 3.0. The latter seems to take a long time. By the way, I remember you are already working on upstream openssl3.0, righ= t? How is it doing now, I can help with some work if needed. Thanks, Yi -----Original Message----- From: devel@edk2.groups.io On Behalf Of Gerd Hoffman= n Sent: Monday, November 21, 2022 2:24 PM To: devel@edk2.groups.io; Yao, Jiewen Cc: Li, Yi1 ; Wang, Jian J ; Lu, X= iaoyu1 ; Jiang, Guomin Subject: Re: [edk2-devel] [PATCH] CryptoPkg: Add b_print.c which removed fl= oating-point to OpensslLib On Sun, Nov 20, 2022 at 02:18:36AM +0000, Yao, Jiewen wrote: > HI Yi > I have question for 1 - The original file uses code related to floating-p= oint and ulldrvm. >=20 > a) Openssl supports OPENSSL_SYS_UEFI macro (https://github.com/tianocore/= edk2/blob/master/CryptoPkg/Library/Include/openssl/opensslconf.h#L28), why = not use OPENSSL_SYS_UEFI macro to eliminate float point action? openssl 3.x already has that btw. take care, Gerd