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>
This commit is contained in:
Amol N Sukerkar 2020-02-16 03:51:03 +00:00 committed by mergify[bot]
parent c70bdf9d4a
commit 70228e101e
1 changed files with 0 additions and 1 deletions

View File

@ -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>