From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web11.3772.1681457610110159385 for ; Fri, 14 Apr 2023 00:33:30 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=K3gUIFdX; spf=pass (domain: intel.com, ip: 134.134.136.24, 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=1681457610; x=1712993610; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Qy8pCZ0tzM9JHETaZuXL9rGkkblMb3RBnHRtn8aOawQ=; b=K3gUIFdXxMWQ7kTZYc+NMX4hcPHJo21xqgI0BPqF1N/73KXgyZRA9GFo kJ8ClZ15i9HAKDg00itGxRI47Hfxi3/Fq2NfkgRluH0UTA6Onjv3u/gQc NpUfP/CCRTSgkRVcFCyiSRI6rHNhyoJRILfgEIFBrwWzCjxiNICZR1rfZ 6uTZB4thviznfKXg19SyFrgIuf0y60bF3o1K4cRGOn27fhVHmdBtZ5wdb TrXEu/Ik034cJ0k1gY92qb97aiFXASVzsbEst3BKsYIEKW/6nUkfRrtPa 1mDjyIsWF1K9i8jTmLpCbgw8yL0gcn28V9bEdtBG6bY3wgnhA5rBNz/dg Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10679"; a="346235217" X-IronPort-AV: E=Sophos;i="5.99,195,1677571200"; d="scan'208";a="346235217" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2023 00:33:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10679"; a="864112807" X-IronPort-AV: E=Sophos;i="5.99,195,1677571200"; d="scan'208";a="864112807" Received: from liyi4-desktop.ccr.corp.intel.com ([10.239.153.82]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2023 00:33:27 -0700 From: "Li, Yi" To: devel@edk2.groups.io Cc: Yi Li , Jian J Wang , Jiewen Yao , Xiaoyu Lu , Guomin Jiang Subject: [PATCH] CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf Date: Fri, 14 Apr 2023 15:33:16 +0800 Message-Id: <20230414073316.2074-1-yi1.li@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4413 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.inf 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 = B38CBDA6-8017-4111-8232-9E8328DE82F6 VERSION_STRING = 1.0 MODULE_TYPE = DXE_DRIVER - LIBRARY_CLASS = BaseCryptLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION + LIBRARY_CLASS = BaseCryptLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION DXE_CORE LIBRARY_CLASS = TlsLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION CONSTRUCTOR = DxeCryptLibConstructor -- 2.31.1.windows.1