From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web12.30134.1652090343203143543 for ; Mon, 09 May 2022 02:59:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=E78LB3Gb; spf=pass (domain: intel.com, ip: 192.55.52.115, 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=1652090343; x=1683626343; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ij3IK/+CORy03p1YTir6/aKmQ9jXNRnI47FNEfLH6QY=; b=E78LB3Gb8mbnOaNmBEdhpYQ9REianLag9rwf15p9gYPcKkLcjkn6nefU IIulTwzhonQPT5WOLHgQWQdfA28t2oWZYwGAHiUPCfPKUKOD1YDToX8iX Ng2Mq8ot7dSm9x0D0APjBdkqKuOnTjF5JsDfi4TzyrqytxlOugfZCbNGi UNncG+h72HI+4nQnPuz0vh7INSPD2TmZCZwZ5l760knmvXlud2HuUbqs2 yo+r7FYYkToYe91d0NzgaXOTZWLezE/JHxfYJywlWZ1G1nYoNSYLMHiRk KjSc7e2TthYYK3SmBj3C944DToARBbqRbcp1XQZQFbTQdVKoWtraNMQ1l A==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="269138747" X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="269138747" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2022 02:59:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="564975843" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga007.jf.intel.com with ESMTP; 09 May 2022 02:59:02 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 9 May 2022 02:59:01 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 9 May 2022 02:59:01 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 9 May 2022 02:59:01 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.170) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Mon, 9 May 2022 02:59:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PJjdFf9eZVVat7IPraxvbKOW111WD+3mIgPy4tNCSEFeVYxj5eUqv+qgX39ivNMWc0+YB1YPez0SD3ivh4Y3FJ9ji8yji4WmsVB1itm6R6IArKKw3AEEKukHdmlrwD11KLYcip8BkC9dGF0iVXX5+aaC6Da2FfNIsKKJ5boma8J4UIiYXt7vzZe1OqHh6WI/Lh1K9sqiOpAp6JcZfabSCoD/HjtbZZqXhSDDNqteWwcMus+I7CT3W4ppQ0VtqQKL5eDdirK2BYLrbAh2ke3d0bpfLN9jJlDXk7U1hpGi38JeTBgjlAcFvvr2EuGWLMM3lyXtd6PkHDCZ5QI4/qR7Pg== 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=47WpZyjX0uT9foRkgHVjGLtHM3RoIjY56qhD0UwbEWg=; b=fZv5FxjU/c/keJVmAOUGBILi2KpUQaTN6EJ7007ZBWnSTCzXW1oP+NC606bHbWJz4o5ki/gLAShbXGHw4uWi8T5m9WJi42uaeoiJENQoOhZ1RuNudFVKSZ1EOtPDRgvhO4vin4n6WiiqLO7EjqqFqOUvEmy2YguBlqGpCmFSEeFgJMD/w4nxyRzI0+ZNIDtfku4Rn7dX8NBVB+n0nU98cdiHPRKcJ6Ny5FWoOXN2AmlPM/iRNElsJj5OPLleBx2DpKhMSCV0BmKJ94Vk/g8fuQl+OwwofVFMitEMBrvyD/C1CO0TetGjt/VWvuFO9/n+WXd2MJCsYoQ4bytJIG6Yqg== 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 BL0PR11MB3396.namprd11.prod.outlook.com (2603:10b6:208:6d::11) by DM5PR11MB1531.namprd11.prod.outlook.com (2603:10b6:4:10::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Mon, 9 May 2022 09:59:00 +0000 Received: from BL0PR11MB3396.namprd11.prod.outlook.com ([fe80::c9a9:ec23:2f4d:b272]) by BL0PR11MB3396.namprd11.prod.outlook.com ([fe80::c9a9:ec23:2f4d:b272%5]) with mapi id 15.20.5227.023; Mon, 9 May 2022 09:58:59 +0000 From: "yi1 li" To: "devel@edk2.groups.io" , "kraxel@redhat.com" CC: "Yao, Jiewen" , "Wang, Jian J" , "Lu, Xiaoyu1" , "Jiang, Guomin" Subject: Re: [edk2-devel] [PATCH 1/3] CryptoPkg: Update process_files.pl to automatically add PCD config option Thread-Topic: [edk2-devel] [PATCH 1/3] CryptoPkg: Update process_files.pl to automatically add PCD config option Thread-Index: AQHYY1Ok/eWsREyDUE6E2eZKQR3XOK0WSS4AgAAGayA= Date: Mon, 9 May 2022 09:58:59 +0000 Message-ID: References: <20220509093402.uxt5s3bmzvtcg7zb@sirius.home.kraxel.org> In-Reply-To: <20220509093402.uxt5s3bmzvtcg7zb@sirius.home.kraxel.org> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.6.401.20 dlp-reaction: no-action 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: 451a82ec-9cc2-43e9-40e4-08da31a28a04 x-ms-traffictypediagnostic: DM5PR11MB1531: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: Tkk8Io0rgD6JXPzL1BxKVug72/nkMuZPwJ2VSANVRq8wMlE4Sm12PuDGwmQMIoEZ4H4rrcE6pBDkerniBCyLE1GNQUVPqWDnaqcjA3UDSnvX9Azub2Nsvfqag3j3+86TgM/nAU8DDEaO1MASKQr/p6lfOTBXVTtAc7iQatk5Flou0f/x1Rd+Ki0edcqDUn4DsF3JRpVjmY4fErRUmllzvekYmQBqBZ3BmnelZF/7x6CPU4fr5nWCAjfDkgABASb9gB9vgyPAtG0U4NKDvYGXSo1zwW6oL+N2hdM9JYsJ3knzfO6di7zFAsRqxvA4hrKAoekuTvrIZucaktNUUP2tM2wuN0Rc2LER9i+aei6ZvzpqzsJL+P3E3+9zv+d/ANtKjOL8D/FEAP02xAfMv/NKNo7hBdQstNEPJF3MGdFGp6mxuA0geTYF1Ok1TJzbhtpC7e71dT5j8dURZfH1edsWl12JLDDPEjVblIed9D2AJyiXfqlP62QYXWOP0SOSmQZ6Z+s+ARzzkPNJEXBdkaNWBE3bw16jGskXvQ4sICHeRzG07Ve2eFAvNjGk+8AvfvCKaa05gIBl7nT08n85WMjxESZljyNGExcvwHgpT6GhLkUEbCPBO/Dx65nmwF7AVKBHKOeviSGOlV/Vk9e+dfqxDAg8Vu6f0lxWSJeM1CiLo7FZbZJW/y73Hp3GegEaR2icpVXxOc8lMGwXubnjPe5RiwALjDPo+08EP+qppkHFAPnHOx29YXil+tBqh5OyGPrYPEXDB3y7elTC5c1KJ1ft9OkdKpa5BEp7LLQ4Lg5XgvyZBlbvVsMMbJ5dAuq+08QLrAkw5TxNkmVbfYQIneaEDA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL0PR11MB3396.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(66946007)(66556008)(8676002)(66476007)(76116006)(64756008)(4326008)(66446008)(83380400001)(86362001)(110136005)(55016003)(82960400001)(54906003)(316002)(122000001)(38100700002)(508600001)(38070700005)(2906002)(15650500001)(966005)(186003)(71200400001)(7696005)(5660300002)(6506007)(107886003)(8936002)(26005)(9686003)(33656002)(53546011)(52536014);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?IZBy4Yyu7cGfCj2sDd1YTIlQI7K5wcwPxPqBRyZI2vFKqjdBEXiO2iaLg70F?= =?us-ascii?Q?zAm8aVfrYKGIySXGqRV3jCX8LBVkU2+6wm/Z0CbaGf/V0obv3WNdSWbpW/ZE?= =?us-ascii?Q?U0kiJUUtWH8iGi+kiySqBM/QSc9dLJWQLY7KNK5W06P6WAXLXX5OqgH5e/Gv?= =?us-ascii?Q?GPMWN1AroJz0hHcKa8I4/KfaddSH1lEdV0/uW4cuHlEkirThFdY6rFJABjDz?= =?us-ascii?Q?l5v5He9S6j0lbg0HfW/HdJKwkRNrd/fW5U69hi/z4ufTeFQw6WSta05fc1Zt?= =?us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jxWI9XFSTWCKhKAMR160T1onctp?= =?us-ascii?Q?XqDDPmLiDfBX6mjcHrRnxFCF8IENu9GXX7Je8SPhDyyU81tPkwWoTUEV8Q1x?= =?us-ascii?Q?bjHXyiD9UItJMPLTfvdBnxNcZB1iVC0yYnfHmOIwv7bad1kAJApYoKo9BZd0?= =?us-ascii?Q?UUZhCEIHMRoc8EFc/xvCV2hH7lFXOvfed/RHYE4loQoP0MiOG+KC28wHZVmf?= =?us-ascii?Q?bHR/nqG4mzYN/8JbISaPV0y+l39HaRhtoa/gVm3h9Ck8Iu2Wt8J5/DSBSB+8?= =?us-ascii?Q?IpbWkMMB2sJiogRrYzvg9TueNrW+hcma1kwu81ZPE1KsHB31E7UKz1xQByKJ?= =?us-ascii?Q?5GPq2rrCdiv9eNqOZDM5CaxPexmH4J2F0urMCGKI4yCwmufhuYfFlCKXX5XL?= =?us-ascii?Q?x4sYvQrTjwePr2g6BFJ6pZp32ZAmPcvHZ1JsA2znZOG6/gHeSLPLdGsce6Pn?= =?us-ascii?Q?J/IdDuavrkVfIBt2ZuFxJbH/4O8MP3aklkH0immoh0oMHY2vr9vsf1w2gdUg?= =?us-ascii?Q?d1K+1rED3VgCjO2TbKj666+xOtIl8kvCtRgN2MrJfofbR+G5m8RuduigXf5P?= =?us-ascii?Q?kn3oTB1sDQ=3D=3D?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL0PR11MB3396.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 451a82ec-9cc2-43e9-40e4-08da31a28a04 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2022 09:58:59.6187 (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: DbCUTCoavcWJ6qI8rjwuDP3w86IA03U56MI6Lw3QtumNAYxk/PDKYYMApJohZKGYBeuwMxYzPcG8ue3u2nwcGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1531 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 Sounds good, I like this idea which make openssl generated part and edk2 co= nditional part more clear. Thank you, Yi=20 -----Original Message----- From: devel@edk2.groups.io On Behalf Of Gerd Hoffman= n Sent: Monday, May 9, 2022 5:34 PM To: Li, Yi1 Cc: devel@edk2.groups.io; Yao, Jiewen ; Wang, Jian J = ; Lu, Xiaoyu1 ; Jiang, Guomin = Subject: Re: [edk2-devel] [PATCH 1/3] CryptoPkg: Update process_files.pl to= automatically add PCD config option Hi, > +# > +# Add conditional feature to opensslconf.h # I'd suggest to write the opensslconf.h created by openssl unmodified to ope= nsslconf-generated.h, then have a opensslconf.h like this: #include #include "opensslconf-generated.h" #if !FixedPcdGetBool(PcdEcEnable) # define OPENSSL_NO_EC # [ ... ] #endif take care, Gerd