summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Li <yi1.li@intel.com>2023-04-14 15:33:16 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-04-19 03:59:33 +0000
commite3d2c08322bc61e9c5b87b3c282dd2af3d52aec6 (patch)
treec1b0149f10e65974214e0b8e014df524b59ac991
parentb16284e2a0011489f6e16dfcc6af7623c3cbaf0b (diff)
downloadedk2-e3d2c08322bc61e9c5b87b3c282dd2af3d52aec6.tar.gz
edk2-e3d2c08322bc61e9c5b87b3c282dd2af3d52aec6.tar.bz2
edk2-e3d2c08322bc61e9c5b87b3c282dd2af3d52aec6.zip
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 <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>
-rw-r--r--CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf2
1 files changed, 1 insertions, 1 deletions
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