summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmol N Sukerkar <amol.n.sukerkar@intel.com>2020-02-16 03:51:03 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-19 16:38:22 +0000
commit70228e101e67445dadec2756c61785289b060402 (patch)
tree91d283206b0e16ec2d9f24bb1843730ff48c5923
parentc70bdf9d4a6a65b88970f31bc2cabd4d08b33885 (diff)
downloadedk2-70228e101e67445dadec2756c61785289b060402.zip
edk2-70228e101e67445dadec2756c61785289b060402.tar.gz
edk2-70228e101e67445dadec2756c61785289b060402.tar.bz2
CryptoPkg/BaseHashApiLib: Change PcdHashApiLibPolicy type to FixedAtBuild
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2511 This commit changes the PCD PcdHashApiLibPolicy to the type PcdsFixedAtBuild so as to be able to optimize away the unused hashing algorithms in HashApiLib instance used by a driver. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Amol N Sukerkar <amol.n.sukerkar@intel.com> Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
-rw-r--r--CryptoPkg/CryptoPkg.dec1
1 files changed, 0 insertions, 1 deletions
diff --git a/CryptoPkg/CryptoPkg.dec b/CryptoPkg/CryptoPkg.dec
index 82437fe..4d1a136 100644
--- a/CryptoPkg/CryptoPkg.dec
+++ b/CryptoPkg/CryptoPkg.dec
@@ -69,7 +69,6 @@
Pcd/PcdCryptoServiceFamilyEnable.h
}
-[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]
## This PCD indicates the HASH algorithm to calculate hash of data
# Based on the value set, the required algorithm is chosen to calculate
# the hash of data.<BR>