From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.30204.1681877785682033913 for ; Tue, 18 Apr 2023 21:16:26 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=e2U7mKkE; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: jiewen.yao@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681877785; x=1713413785; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=B8NPbqwASrEQQs3KbAc8H0C7lLuAG0Z25Rw8oDGG1HU=; b=e2U7mKkEUPyXpWwddJqvaLAY3eP21vN2Fwm0ifsti+9JXYJ/c5kkfnoP XigvkiYkwNPixqYrLddPphZ+kl+Kwct0bS0v1VfCPUBsvIUwLXZSLPECE 5oDjrHmMUAjl3WC9Z+9ZY8oVuCf+U1kqP/T7yyRQgv0Sb7RxQsXCZ+y3r OqDby+UB1xgajUer8XBHgp9SqzhDjOr5yejXtfg5sDixAOcDnCjm2dM1f hm6UAuWb0Wj2mlUAIOvqhPsw6I8BMw57xNpGJKNfJLRsR0M4WraZQQbOl cg/mQsG6AGlGgR0YFQt8WPjcVlilzwicZL9WFhiZVngk9klaf2Y3uILOG w==; X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="410578948" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="410578948" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Apr 2023 21:16:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10684"; a="760590523" X-IronPort-AV: E=Sophos;i="5.99,208,1677571200"; d="scan'208";a="760590523" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga004.fm.intel.com with ESMTP; 18 Apr 2023 21:16:25 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 18 Apr 2023 21:16:24 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 18 Apr 2023 21:16:24 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Tue, 18 Apr 2023 21:16:24 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) 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.23; Tue, 18 Apr 2023 21:16:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=A+KFefH3T1O1i6hg7RouxK8C8FBmtlsXHMIrBeu6LdVqzP7QtYRz4qXMSlCBysOqAPiBU2+QTSyunH0shud5Neok0iNzCu5OabE+WpTyaV7s0uU6tGfOzjaSyiCdAEdT7R77RoUKC6qFiyZXKLszCDJIo/1/HrnT+N5zTNKHx8Z3cAZSt/d2Bj+DzoCLKjmsgCjl1ab7779hn9B6F3uZ9W54TyF3Vhz5VcnELNzhe1XjXd73QDouedO51ZYXa3ESkjM787DwSgUTFtcD/GR9MQjfkQIZTHVgO1CnmltGjGEgyEGxugJEjKsmhFj8Mgj74NFkxTeqQbyGuQK3fEKcyg== 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=WIm5j5of49Hlmu7zvSMnjMXey/fBKzubU+A9i8taFX0=; b=DEEpWks0ZTbeYWb/1/C5Wi7Zv7t08fU5t9yebhd3HTSZFDZII+9p44/87UOYBgsbPb9utgXhvNgZ0zKABalc/ae6puRW4dbqUNOt8BkgCB8AfykvXFl0/GRw8tSPURDjBube2lDUDKONWch5NRpGM1zFx18qWB2jDjqLp2i+1N+gOSLrw4m3EiEzoKHnDhuyd4E/tB+9ir5QKlqhir+bZa01OZCuoUTGieU+GxXxpUjABV5bBTUZp+YEHv45E75tIQYw+pfyDg2SvWz3iBZSyr36/QAZXpMjHfIJRdgkF4R/BFA6NqrTFHHYP9CazKBSrneY5N7RDNdZw5OtD00tLQ== 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 MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by PH8PR11MB6830.namprd11.prod.outlook.com (2603:10b6:510:22e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.45; Wed, 19 Apr 2023 04:16:21 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::48e9:aeb0:c365:388]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::48e9:aeb0:c365:388%6]) with mapi id 15.20.6298.030; Wed, 19 Apr 2023 04:16:21 +0000 From: "Yao, Jiewen" To: "devel@edk2.groups.io" , "Yao, Jiewen" , "Li, Yi1" CC: "Wang, Jian J" , "Lu, Xiaoyu1" , "Jiang, Guomin" Subject: Re: [edk2-devel] [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf Thread-Topic: [edk2-devel] [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf Thread-Index: AQHZbqNsneg8vMdNLEa0SO5VVOj/bK8qoEqAgAdtykA= Date: Wed, 19 Apr 2023 04:16:21 +0000 Message-ID: References: <20230414073316.2074-1-yi1.li@intel.com> <1755C78039A39C1B.16809@groups.io> In-Reply-To: <1755C78039A39C1B.16809@groups.io> Accept-Language: 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: MW4PR11MB5872:EE_|PH8PR11MB6830:EE_ x-ms-office365-filtering-correlation-id: 75a0ce32-5d65-4c28-1462-08db408cd4e4 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LQPg32IGr/NCqBr/xvK3AXsg0xtHV3wi42/dQ4EkJLr6ISwe4TIqX3Lf9RYRVOtcYbCg3uTLVd2Ea9XaKgRlikW1UqLHI7E3ZJKD13GgCfnSTUlqW7R78/MYMwm4ITXcPZj+NbO29MuKW/Tr4AIDLqAzxu0UEj2ZeO6pCn2qJqObZy6azgIVRWzJsf9knOiGkG/ufYq7ca5apvfgFgfW3pQn9H/0jeG5jcAHtcpUywG/35Dl2i1+APptBWWDcWjNblqkGuIaaFhZdJ3h5CB3hY84Clg+Yr8ncnrZustjyYbHy6+BmiYva9+9Nfcf6K4l66nbvjwE/1+lbFG17/9T+8ccfUi3rBZGb7IsGdvTXmEAfVW8ioJRLs3I7Y017YX1Fc2Eqy4hdCNkRTHEMgU2Ciq0EVwrLE39BAc1FOtGy8dTlVBY11ZlP8nBLqYBsLZb5a0gVQHwT6ADruFiPjvV0oPDU5CvATJp2i6oHB4TgWcWM6KHsTn8xTJ2bR4R/jPnhjCyAHmBOKB5zAUPTLwaSyBsq+BCGBxqmo542fp2ZX2BZsT9cfMyB/IloCnfnihhinUuHZVDymDcaaKn6Xw1feTMXWQc+QJE6CKlBw8Kecp/JS2PtoC3yJpAXb1IHfVtQel897N2kjp01+3vMz7FFA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB5872.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(366004)(376002)(346002)(39860400002)(396003)(136003)(451199021)(478600001)(71200400001)(38100700002)(66899021)(8936002)(8676002)(316002)(82960400001)(4326008)(76116006)(6636002)(41300700001)(66476007)(55016003)(66556008)(66946007)(66446008)(122000001)(54906003)(110136005)(186003)(107886003)(2906002)(53546011)(9686003)(38070700005)(6506007)(83380400001)(26005)(86362001)(64756008)(33656002)(5660300002)(966005)(52536014)(7696005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ij+8w5CGwMwLXfgmiyv9PeNdE3E1X4TE5gN+5BQN1AFTs8fWnet2sYqspQhR?= =?us-ascii?Q?RH3jOf7VFJteu+SvkgMC6NGOK/Omeoq8uICIttREUp924uYnPaoXlOTS5qiS?= =?us-ascii?Q?N2hKBT9hDw8w3fOrhm2kiR2PnI3tgkqCVpTt4YHATi/papUm3DiVJ0dsNG4l?= =?us-ascii?Q?r19S2sepZ/9+3zuTow2uqCu0Nmx2F58UVJ4hCxEbFotJhChf0wyfubjMujsg?= =?us-ascii?Q?QStMrREBLhN/z6DG36WXf61EsEWai5/PBhUL4a1hId2a5yrsh/VfpoAgUnQf?= =?us-ascii?Q?Dki0GmAulUjyxmusmvj+6L1vYnKzmO2afUmT2RxN4tBzZxNiHCL0kf07++sW?= =?us-ascii?Q?+c/OF5lXk4m46j/9DisudzlAXTTP6ELCRleDJczx++3NCRj1YTamY8g/Zx72?= =?us-ascii?Q?YF3WDX8+Y+bHT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E/2oWcCkxiw2m2wTXGISK3?= =?us-ascii?Q?aIR3EeucfMh1yn5+Ng5pklLuy/yEyQGLPgYaMWTdpIRhtV66hJh4wF8CA5Qw?= =?us-ascii?Q?fli4y5gmvgjcDtA7qPUICIqMtrMBXgB9NPjjaibi4BwWimyjSygVtXUwUAIs?= =?us-ascii?Q?qFilDK2WcQzVWvlsNrrz7/hRZrs+lKzRhyNDv2kmX/+iAIfg1os5R0vJRdvl?= =?us-ascii?Q?zX9xRQrbOK/OOLOlDNFIUaMu2OktW8QAVCohP1FoBfzg5LgSsNzurDj3FgEF?= =?us-ascii?Q?MTMAz47nm+p1N7iTqNKLI5umfsn1jnLPowR1+vGP?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75a0ce32-5d65-4c28-1462-08db408cd4e4 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Apr 2023 04:16:21.4228 (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: ZvyTmK0cyzAVWf2iIgP+MrzCYGa9WLlDG7Ukih3kCJ3Lai2gZynbY5qFjBcKkfITrx79Qj33/RJfwyLhvdGdrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6830 Return-Path: jiewen.yao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Merged https://github.com/tianocore/edk2/pull/4284 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Yao, > Jiewen > Sent: Friday, April 14, 2023 6:50 PM > To: Li, Yi1 ; devel@edk2.groups.io > Cc: Wang, Jian J ; Lu, Xiaoyu1 > ; Jiang, Guomin > Subject: Re: [edk2-devel] [PATCH] CryptoPkg: Enable DXE_CORE support in > DxeCryptLib.inf >=20 > Reviewed-by: JIewen Yao >=20 > > -----Original Message----- > > From: Li, Yi1 > > Sent: Friday, April 14, 2023 3:33 PM > > To: devel@edk2.groups.io > > Cc: Li, Yi1 ; Wang, Jian J ; Y= ao, > > Jiewen ; Lu, Xiaoyu1 ; > Jiang, > > Guomin > > Subject: [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf > > > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4413 > > > > Make the DXE_CORE module able to call the crypto protocol, > > which can reduce FV size on platforms using the Crypto Binaries. > > > > Cc: Jian J Wang > > Cc: Jiewen Yao > > Cc: Xiaoyu Lu > > Cc: Guomin Jiang > > Signed-off-by: Yi Li > > --- > > CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.in= f > > b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > > index b4945de336..972291574c 100644 > > --- a/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > > +++ b/CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf > > @@ -16,7 +16,7 @@ > > FILE_GUID =3D B38CBDA6-8017-4111-8232-9E8328DE8= 2F6 > > VERSION_STRING =3D 1.0 > > MODULE_TYPE =3D DXE_DRIVER > > - LIBRARY_CLASS =3D BaseCryptLib | DXE_DRIVER UEFI_DR= IVER > > UEFI_APPLICATION > > + LIBRARY_CLASS =3D BaseCryptLib | DXE_DRIVER UEFI_DR= IVER > > UEFI_APPLICATION DXE_CORE > > LIBRARY_CLASS =3D TlsLib | DXE_DRIVER UEFI_DR= IVER > > UEFI_APPLICATION > > CONSTRUCTOR =3D DxeCryptLibConstructor > > > > -- > > 2.31.1.windows.1 >=20 >=20 >=20 >=20 >=20