summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/CryptoPkg.dec
diff options
context:
space:
mode:
authoryi1 li <yi1.li@intel.com>2022-04-13 15:02:02 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2022-04-14 03:16:59 +0000
commit0c901fcc200e411b78b9ca42d07d5ea4aaa13b21 (patch)
tree6cf085b1e23d745d0548c1b6fdf6dc44a2a6a5bc /CryptoPkg/CryptoPkg.dec
parentefc39e65e5db7396f5fc4b5e28631167c1a10965 (diff)
downloadedk2-0c901fcc200e411b78b9ca42d07d5ea4aaa13b21.tar.gz
edk2-0c901fcc200e411b78b9ca42d07d5ea4aaa13b21.tar.bz2
edk2-0c901fcc200e411b78b9ca42d07d5ea4aaa13b21.zip
CryptoPkg: Make EC source file config-able
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3679 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3828 Use PCD gEfiCryptoPkgTokenSpaceGuid.PcdEcEnabled to config-able source files list in OpensslLib.inf and OpensslLibCrypto.inf. If PcdEcEnabled equals to FALSE, this file will not be compiled. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Signed-off-by: yi1 li <yi1.li@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'CryptoPkg/CryptoPkg.dec')
-rw-r--r--CryptoPkg/CryptoPkg.dec4
1 files changed, 4 insertions, 0 deletions
diff --git a/CryptoPkg/CryptoPkg.dec b/CryptoPkg/CryptoPkg.dec
index 5888941bab..ebec64050b 100644
--- a/CryptoPkg/CryptoPkg.dec
+++ b/CryptoPkg/CryptoPkg.dec
@@ -81,5 +81,9 @@
# @ValidList 0x80000001 | 0x00000001, 0x00000002, 0x00000004, 0x00000008, 0x00000010
gEfiCryptoPkgTokenSpaceGuid.PcdHashApiLibPolicy|0x00000002|UINT32|0x00000001
+ ## Enable/Disable the ECC feature in openssl library. The default is disabled.
+ # If ECC feature is disabled, all related source files will not be compiled.
+ gEfiCryptoPkgTokenSpaceGuid.PcdEcEnabled|FALSE|BOOLEAN|0x0000003
+
[UserExtensions.TianoCore."ExtraFiles"]
CryptoPkgExtra.uni