]> xenbits.xensource.com Git - ovmf.git/commitdiff
CryptoPkg: Enable DXE_CORE support in DxeCryptLib.inf
authorYi Li <yi1.li@intel.com>
Fri, 14 Apr 2023 07:33:16 +0000 (15:33 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Apr 2023 03:59:33 +0000 (03:59 +0000)
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 <jian.j.wang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Xiaoyu Lu <xiaoyu1.lu@intel.com>
Cc: Guomin Jiang <guomin.jiang@intel.com>
Signed-off-by: Yi Li <yi1.li@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf

index b4945de336b6d994887f71f5077c26c2e892deb8..972291574c556d2b271bb67acae64495df59f1bd 100644 (file)
@@ -16,7 +16,7 @@
   FILE_GUID                      = B38CBDA6-8017-4111-8232-9E8328DE82F6\r
   VERSION_STRING                 = 1.0\r
   MODULE_TYPE                    = DXE_DRIVER\r
-  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
+  LIBRARY_CLASS                  = BaseCryptLib | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION DXE_CORE\r
   LIBRARY_CLASS                  = TlsLib       | DXE_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
   CONSTRUCTOR                    = DxeCryptLibConstructor\r
 \r