]> git.proxmox.com Git - mirror_edk2.git/commitdiff
CryptoPkg/BaseHashApiLib: Change PcdHashApiLibPolicy type to FixedAtBuild
authorAmol N Sukerkar <amol.n.sukerkar@intel.com>
Sun, 16 Feb 2020 03:51:03 +0000 (03:51 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Feb 2020 16:38:22 +0000 (16:38 +0000)
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>
CryptoPkg/CryptoPkg.dec

index 82437fef6d893e4404c6f7b40d09bd7b84bcabd3..4d1a1368a8d44bf1ebe1c67c0b9f3d73a406e3b1 100644 (file)
@@ -69,7 +69,6 @@
       Pcd/PcdCryptoServiceFamilyEnable.h\r
   }\r
 \r
-[PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]\r
   ## This PCD indicates the HASH algorithm to calculate hash of data\r
   #  Based on the value set, the required algorithm is chosen to calculate\r
   #  the hash of data.<BR>\r