From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 80FB994116A for ; Thu, 1 Feb 2024 06:30:24 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=APgAzNMRXqn9LnWao2jhwtkElSS6NTT0CbkzkrtGXNQ=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1706769023; v=1; b=h2v/cWh5/n+M6fewXg1RnAcXl/PzTnGwFkVIbxT1R8u/EJcVqx8kg1MfTfvDMbOIU0EGOTtE 1dwg+E3ZFVM+VKdOrxpeJh+3Bsde/7XAjFKgQM8Wc10fQt9DWZqZn/XQtDPCNZKoX8++/Nz6TMo 6T1BoI2+nRSu5pUh0v/+FzPI= X-Received: by 127.0.0.2 with SMTP id rKy5YY7687511xGhrpLZEXVX; Wed, 31 Jan 2024 22:30:23 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mx.groups.io with SMTP id smtpd.web11.9873.1706769022346294300 for ; Wed, 31 Jan 2024 22:30:22 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="3658791" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="3658791" X-Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 22:30:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="4294306" X-Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa005.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 31 Jan 2024 22:30:20 -0800 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.35; Wed, 31 Jan 2024 22:30:19 -0800 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) 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.2507.35; Wed, 31 Jan 2024 22:30:18 -0800 X-Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2507.35 via Frontend Transport; Wed, 31 Jan 2024 22:30:18 -0800 X-Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.168) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 31 Jan 2024 22:30:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lVXq0RIdylKeYjIdUVlo/2kkDaadKTsuGn9TQDzhOwBcxIhPVGhIY2mi2T88fJLe+U2reCxhSCO4cl9KyUdxUvPFJ6ZMZEonZfLcVUROxCAakp6V1g/gXjveIhLKCTCt6Dn3gofErSPc0EjXOzQbNqsNNNzh6zkGZ3gCmtOAm3hYP4HJ69Wpz6BusH34FD6HJ82Rc4pfz7YOrK10sHbn2++gjbnZ3OJhCobMy67ApZxfFs46eyVNgWmEu1YRvG031kDehqxCFyzQb9g+RceoM7CJ+m36QIMxiPXRbnau0lKeZ1hyKl7O26JNXmGBaIYve7LTvz0/q/jvYc+k5m1WYw== 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=LKaLYl3Lq4EICZfXw4t+7n+yxrAP5Ron14fvKXN64bo=; b=EG3M3twTFimXvNHxnucwMLj1oZkN4HJQBr/RkMHVGLDOW+4Fl5uoI5Q7BcmwbTHdR/4w4LDHi0Hw4MB5Y0Xnk0XGWAhJ9WQtsj/mMZMpiWyoHZCujER/KpQ26bFT4nwq+CA1CaMs0AWHjaXYoyg+dBOcNAY87G7/BDILt4p16YSfOkJzAJ8QUPSVrw+r9xdL1CjjEN42pqDI+fz7TryywAfdJXcQRf7qI28xAINNkjo2URoqTZ8ct4tG+8mW2lA8VyDtHc/ch6Mpc1y/NB0Dw/OhREZ2RMRWFW3KSLCymXA9FmAfTXqPLfvvL/N0/t9mc6FDfrpkS5HvRSc2HmN8cw== 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 X-Received: from CH3PR11MB7819.namprd11.prod.outlook.com (2603:10b6:610:125::20) by DS0PR11MB7651.namprd11.prod.outlook.com (2603:10b6:8:149::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.34; Thu, 1 Feb 2024 06:30:15 +0000 X-Received: from CH3PR11MB7819.namprd11.prod.outlook.com ([fe80::37b:399f:3ab9:84e8]) by CH3PR11MB7819.namprd11.prod.outlook.com ([fe80::37b:399f:3ab9:84e8%6]) with mapi id 15.20.7249.024; Thu, 1 Feb 2024 06:30:15 +0000 From: "Lu, James" To: "Guo, Gua" , "Lin, MarsX" , "devel@edk2.groups.io" CC: "Chiu, Chasel" , "Dong, Guo" , "Rhodes, Sean" Subject: Re: [edk2-devel] [PATCH] UefiPayloadPkg/Crypto: Support external Crypto drivers. Thread-Topic: [PATCH] UefiPayloadPkg/Crypto: Support external Crypto drivers. Thread-Index: AQHaVNVQWEnuGFmWLUm2D7QZ6UemjbD1ATkAgAAFPHA= Date: Thu, 1 Feb 2024 06:30:15 +0000 Message-ID: References: <4226d0bf132ffffddecb76e21b1a8dd31c100f5d.1706767610.git.marsx.lin@intel.com> In-Reply-To: Accept-Language: en-001, en-US, zh-TW X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CH3PR11MB7819:EE_|DS0PR11MB7651:EE_ x-ms-office365-filtering-correlation-id: 1ca7ae49-6f4c-4895-6179-08dc22ef4085 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: KHU7BnRI8jkVp18iH9nhtcXY0d9NypS0YSrSN/fk2ut7zgRBmiasoPdFeqBJEWJq6le7IMW0M++cLLvdMdxfT98c93dFswOMPXerdtpBPHhKTrEKVYPaxENk4XGPHSjKOPM7mNkFtmfU20ohuVDhoIEaQswkxCtQLFy/PBvluTTlewvehQlwbCIbCn3u6W5FzUEQ3nzHhl5kB6rBtk1+m96khgIgD5WVkaLae6T/QKig/imPrA4/oyKVka2DNV3qBbBeFEUhnfQAuPUHqOJRJQCKkVaCtqdI6FdhKwKauNlFyPGpe7BgFnTh06xZRHl3Q2rz+DUvvPYUMCktnQmPlxo/7P0lgNDqstB9sWSDz2C2ujOTRmKKjUc4R3/9pLrYugiAJkY/+F+FyTN6Gv3X2WbDXfEoiWgXYcJh09cCfvPGigv8TpJic3coAElhaFHdElRf3fuGt3td0Wj7sW8GobXiKracMz3A1Rm+T4YAVQlS3u71PqdGvZF6qN4KM7Id5m7yKFvplA+IOptiSQI/XWtuTpeQYkdFkMk0/IWT0HqqqaG0WoXcX/U3XpuLSHJNc+8IoYfBZ4C++RoxtMKh+lsCSo4P2O23YolX54d1FaMaBFCMnzD8AkfvJckBy9W8PuE1atxeXkNWR2DXFWe+Qw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?cEQ8rK9ScBYjkjkyd/llmDyMCHMNlBdw/osbUgNxtfh2AxGzE410B1tHo6Mx?= =?us-ascii?Q?eBw6dyEcQYL5VZjkFgcPGfk6jnCTchG7FYenHH3z3Km/5k2+otPWEQz6MHl+?= =?us-ascii?Q?RkXVptkUQL8CBB9wzbb9JU9VXx6BT8O+DafyE/YxlTSnd18drT97Be8yNCK3?= =?us-ascii?Q?tRNlwKKP/xvSS3WdUlOFpb+w7tRc3kzdv/PmupnSSOsgsMyQw3mmEfmrVMjC?= =?us-ascii?Q?iX9xAVEUdRWi2hSpAc5zGOdVjEk0tvGFOpLWyh0S6HHcghB29m4v4qeVFdVF?= =?us-ascii?Q?BRN6PV2zljScXEMtKrxTTPzLLng/Ed6vb+QF0Na4Vhsbn00FCLujxfpVg4le?= =?us-ascii?Q?Pwg7Nmyj/J1PEp+zk2DntgW/JzFgam0k2E63HJBvs/CTcXqGyixxH9EcFrUl?= =?us-ascii?Q?q62YVVYuaxHClnzN5ihfqr8+DyMLxXbDbxslJAhnW3uKafj8ZMu3OLVTLQ/w?= =?us-ascii?Q?ks5mU1wg8hUSp2xc28fV32MD7Pt2wSviffHLH0g7jH2EShHrGMC6MoVbEWdS?= =?us-ascii?Q?t0vxYM/NzNV0gkugTg/qK5Laq8yfDA0BGfepcvaZWkcJH2HFq3jOjWYO7zaN?= =?us-ascii?Q?C+oCZf8chMmw+V+/rz7oBzipT1gZdanXYhbvU7EDkqrR8jFi5LvyxtbPdoxH?= =?us-ascii?Q?d6OyCYY+j9Vq5hfOy+YEA0PFLss/mHLq/uX14Pc/+cXuzshYNUuhrUwPGDWv?= =?us-ascii?Q?NQX5BJV+YxunnfGwQKerruhkvTEnE08igqW56rFi9Zy6WQO5bOclwE2Kyy9U?= =?us-ascii?Q?O40iq3JnkCMt9X18DdDnabqbfzdfTzmfzunKQJBgGuPApGR6HYuSZtBV1bzP?= =?us-ascii?Q?5mrEAMzL9k7i/ySfMbRgkH89jX9gdkOXklFH9qc/q6cUqLzwybYlwfLGqASk?= =?us-ascii?Q?rnlrp32MorboGVS85q/SXIEk/5zj7hcuQhKJ2htNMkMSwD512dL30sD8HHSd?= =?us-ascii?Q?m1ZJ3WBhWgehDMh/PSKHP6DPwlI7Ww8ci62nUlIIpyAJwE7Zls8STLzUQ+uB?= =?us-ascii?Q?ZsoNRuWVaLC3PiOitNv+BDHGGXHxbzPgugHkzTFFO6n7x/mPGmmwFqhTGLY9?= =?us-ascii?Q?mIcTQ4cHa1o2DTg+exLB/IdFsSMGQv7kbJ4MUzQ32S8rBKtvOuYkeDZ/yROu?= =?us-ascii?Q?1SK6gpL8255mkOnyvK5R1ANIg4gHUowRBFvSnlVxsjMBphPUEexIyPnPpxui?= =?us-ascii?Q?kxsSQ4kb6MryPPF4ht0VrRgk7IFAbkinrakj61fTKyWFlNGK9PLGJ1a271fE?= =?us-ascii?Q?CZ1ZVGFF0nleEGONounUNfMCRWFzYg8HOBDTW8VL5gX8qGtdWAngt2STqItB?= =?us-ascii?Q?oOoNqYVqnD8JUiAV8WG3eoRL0ro592IzyPoGHQcVa5FIjlBBsa/XpCxURh9+?= =?us-ascii?Q?G9X2xDDWcmqI+Db539a9b2u0bPys8P4SoeBYYvbwiIJq6fkssftRkV1+RRWr?= =?us-ascii?Q?tUFHi/D4d8SALjGnxgaesQVKwNUmU0eftOWcgoXd/GzoXimuf1XLEpxERThn?= =?us-ascii?Q?+aOhivbIxFoTNoB9KEg2HxWtGjKWbK+kPEqUBCs8GR6sLKSHSv6jWKHULqfp?= =?us-ascii?Q?ZD/+2i1piM+1pbLwez30h6WAZJBLphp7AB6JXKnh?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CH3PR11MB7819.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ca7ae49-6f4c-4895-6179-08dc22ef4085 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2024 06:30:15.4438 (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: 48JLiZDhHKThHL8tGSwMMqpHvJfjcxhTINBMuqkGuJ233YiCRPwaI35XcxpviKbc1aJQO6/rcbc9VYrMz7Fsuw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB7651 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,james.lu@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: foxL4Q3cclbbEpGMPnlz9P7dx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b="h2v/cWh5"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Reviewed-by: James Lu Thanks,=20 James -----Original Message----- From: Guo, Gua =20 Sent: Thursday, February 1, 2024 2:11 PM To: Lin, MarsX ; devel@edk2.groups.io Cc: Chiu, Chasel ; Dong, Guo ; R= hodes, Sean ; Lu, James Subject: RE: [PATCH] UefiPayloadPkg/Crypto: Support external Crypto drivers= . Thanks this patch Mars, it's good catch. Reviewed-by: Gua Guo -----Original Message----- From: Lin, MarsX =20 Sent: Thursday, February 1, 2024 2:10 PM To: devel@edk2.groups.io Cc: Lin, MarsX ; Chiu, Chasel ;= Dong, Guo ; Rhodes, Sean ; Lu, = James ; Guo, Gua Subject: [PATCH] UefiPayloadPkg/Crypto: Support external Crypto drivers. From: MarsX Lin REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4661 There is potential build problem when CRYPTO_PROTOCOL_SUPPORT is set to TRU= E and CRYPTO_DRIVER_EXTERNAL_SUPPORT is set to TRUE Cc: Chasel Chiu Cc: Guo Dong Cc: Sean Rhodes Cc: James Lu Cc: Gua Guo Signed-off-by: MarsX Lin --- UefiPayloadPkg/UefiPayloadPkg.dsc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UefiPayloadPkg/UefiPayloadPkg.dsc b/UefiPayloadPkg/UefiPayload= Pkg.dsc index 2c4013bd9d..0e142bb7c2 100644 --- a/UefiPayloadPkg/UefiPayloadPkg.dsc +++ b/UefiPayloadPkg/UefiPayloadPkg.dsc @@ -480,6 +480,7 @@ gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1800000 !if $(CR= YPTO_PROTOCOL_SUPPORT) =3D=3D TRUE+!if $(CRYPTO_DRIVER_EXTERNAL_SUPPORT) = =3D=3D FALSE gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Hma= cSha256.Family | PCD_CRYPTO_SERVICE_ENABLE_FAMILY = gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.Md5.Family = | PCD_CRYPTO_SERVICE_ENABLE_FAMILY gEfiCryptoPkgTo= kenSpaceGuid.PcdCryptoServiceFamilyEnable.Pkcs.Family = | PCD_CRYPTO_SERVICE_ENABLE_FAMILY@@ -501,6 +502,7 @@ gEfiCryptoPkgTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsSet.Family = | PCD_CRYPTO_SERVICE_ENABLE_FAMILY gEfiCryptoPk= gTokenSpaceGuid.PcdCryptoServiceFamilyEnable.TlsGet.Family = | PCD_CRYPTO_SERVICE_ENABLE_FAMILY !endif+!endif [PcdsPatchable= InModule.X64] !if $(NETWORK_DRIVER_ENABLE) =3D=3D TRUE--=20 2.39.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#114933): https://edk2.groups.io/g/devel/message/114933 Mute This Topic: https://groups.io/mt/104091974/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-