From: Yi Li Date: Fri, 14 Apr 2023 07:33:16 +0000 (+0800) Subject: CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf X-Git-Tag: edk2-stable202305~118 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e3d2c08322bc61e9c5b87b3c282dd2af3d52aec6;p=ovmf.git CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf 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 Reviewed-by: Jiewen Yao --- 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