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 4B55FAC0A9E for ; Thu, 1 Feb 2024 06:11:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=yZyuoNNqb1ONek14OU9bHeqJLllS8Ky3l/N3/YVhJww=; 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=1706767878; v=1; b=DZ8b2tbCDMbZCJ9DewtYGPdHea/vUAYS4c3pcCCdSQkFfsX8a8cTt4GWSHeTA/8skxTxYodQ Lcni+WyzYzmK97SLQuPLAFt29H36Vtjppt4RI3qo/ssKdcyaPlQNTeHSmx7pg5FOXpsngrckXKG lRC/f9tfM3vQhsFFTYYB40PE= X-Received: by 127.0.0.2 with SMTP id DIO3YY7687511xkQlNqFyQj5; Wed, 31 Jan 2024 22:11:18 -0800 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web11.9667.1706767877895389215 for ; Wed, 31 Jan 2024 22:11:17 -0800 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="407535570" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="407535570" X-Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Jan 2024 22:11:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="37121213" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orviesa001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 31 Jan 2024 22:11:17 -0800 X-Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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.2507.35; Wed, 31 Jan 2024 22:11:16 -0800 X-Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx611.amr.corp.intel.com (10.18.126.91) 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:11:16 -0800 X-Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2507.35 via Frontend Transport; Wed, 31 Jan 2024 22:11:16 -0800 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.101) 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.2507.35; Wed, 31 Jan 2024 22:11:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P4+G2mRXKGzpCLXuzwSl3VE8RVrFZYEVGGE5OPKBamsFp8XAa53iXIH5iLZrefni2YUQR9uJ5ok9HilWrhdPggtzLYT/l+pR35JnKHBuMTXJmYKQptxy3He3q9gTaDNTFw6zA1WXN+YjQf+HwxsYF7/Zj4Jng4eXXjkzaC8T4bJi6M7NoC/ArrB7/m4K+sfQ2D56XYKGiY5ztK8bcJmY+cOEhp8+KoK9cC5zdRWCthMJMhKFMDjNi5hjFNrn+WUIlvFzB5ksUgksw1nLihybTUlgl8iWk38P7ZCHKPQ/JRooT5tQORlZ4kyg4H8lvfC2mQabB/Sw1iZHTQ8IfK7ZRQ== 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=jpS+XSeH3Ya0mOH0lT4gtmYfAQ3bWuPG7/56aHrH2DU=; b=aNXYtz0qsgcce1bGBArLMcUbYYjjdZSokCqvKBIpskP6jdgbPOP+cYF8gxwNXmOBuK2W4RYPHucbaj6AE51T79ESs7kKI8cSRk3T2dSDhERLAxaazzZNqdxtoMQYvFhxNHbdK0s3fHkedaWskQPS3XyJnTy4/zGOMn05hiJJ+QRHYarl15R+0Ngs+kshbQkQSe/MCtVSQ08wH5H1mQ2idGyVrFxwDoytY33BDcI2K7ki2KSb1fCR3hF7842utxfb06PCA2YvAPjoYLzxNX+MmRu/CbUIbugNYNporU4CYBd7iPj/DvOMbl6s/RsGPgRIP4D6yMU9QGCusRdwTGtBZQ== 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 BN9PR11MB5483.namprd11.prod.outlook.com (2603:10b6:408:104::10) by DS7PR11MB5992.namprd11.prod.outlook.com (2603:10b6:8:73::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.36; Thu, 1 Feb 2024 06:11:08 +0000 X-Received: from BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::aced:fdb2:cf39:5641]) by BN9PR11MB5483.namprd11.prod.outlook.com ([fe80::aced:fdb2:cf39:5641%6]) with mapi id 15.20.7249.024; Thu, 1 Feb 2024 06:11:08 +0000 From: "Guo, Gua" To: "Lin, MarsX" , "devel@edk2.groups.io" CC: "Chiu, Chasel" , "Dong, Guo" , "Rhodes, Sean" , "Lu, James" Subject: Re: [edk2-devel] [PATCH] UefiPayloadPkg/Crypto: Support external Crypto drivers. Thread-Topic: [PATCH] UefiPayloadPkg/Crypto: Support external Crypto drivers. Thread-Index: AQHaVNVQK/zM7bLmbEKvSvfBlJBV/7D1AQjA Date: Thu, 1 Feb 2024 06:11:08 +0000 Message-ID: References: <4226d0bf132ffffddecb76e21b1a8dd31c100f5d.1706767610.git.marsx.lin@intel.com> In-Reply-To: <4226d0bf132ffffddecb76e21b1a8dd31c100f5d.1706767610.git.marsx.lin@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN9PR11MB5483:EE_|DS7PR11MB5992:EE_ x-ms-office365-filtering-correlation-id: 6dead41f-3d0a-42c1-0864-08dc22ec94f3 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: kGc85ku6Wvl3KQ37nIQzabcnWE21WrtcFlzlOFnuT8lIoy3fR8y8tTxiSUQFpPKcpbgnN+e8L470BMdTtGjr2ZhSMrnn7pyTCrzL/I9cu0l3rE/yCv8wDEdlGoUIVjzcP7qXVmMHYm2yZNZiuglIK1vEGV2zE5dscEUvNE0c8MLzbvDVmlHbsh6WhdACDy4ho06ITXP+WdGo9sO92+yaLnlH54yVGj9o+qH/dwlrwKtccjk0zyJfygniHQKfWYg5MCFlz3/xkqXxtGc834H4uT9XUn+pbpJmGmO7xe/VXE65tZulZsMNyxSiYLSn+olRExdNYG5hR09SBGG4F4fD+T6rspvX00H5G+mFqscSsuZljcBOTRHurayMBnt4v7bcir9ASDTlf/cvUXJJ7uec++b7WcJWrc//udxOlLChOWJB+A5OnOcErRHZ6uVxNlFrMd8V/a30uumgG0JjC/wnnaKf2F64cr1dwCrsy+eV9z116h8SJzK1DrKGcurPdRtTgLhO9QzY4dHaa+wH90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6R9uSR4Js4hF00umPBGbf+EyyaV?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN9PR11MB5483.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dead41f-3d0a-42c1-0864-08dc22ec94f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Feb 2024 06:11:08.6006 (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: 5e+KipWG9+UTaxdAt82/4Ir3dRcMniaocxYm93eIyeGG+V31mwzJqTkr8zHE0oTaKKcJ3SlIUeX3Km2WS1XYYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB5992 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,gua.guo@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: gVde5A92zBSZZ4viIXmJtnqNx7686176AA= 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=DZ8b2tbC; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 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 (#114932): https://edk2.groups.io/g/devel/message/114932 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-