summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/CryptoPkg.uni
diff options
context:
space:
mode:
authorAmol N Sukerkar <amol.n.sukerkar@intel.com>2020-02-16 03:51:02 +0000
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-19 16:38:22 +0000
commitc70bdf9d4a6a65b88970f31bc2cabd4d08b33885 (patch)
treebddc8e74b03f5303cdbe06e5033e63ffc13c9159 /CryptoPkg/CryptoPkg.uni
parent0997352ddb4761c49dfedf6fef46b4cd15f6c9bf (diff)
downloadedk2-c70bdf9d4a6a65b88970f31bc2cabd4d08b33885.tar.gz
edk2-c70bdf9d4a6a65b88970f31bc2cabd4d08b33885.tar.bz2
edk2-c70bdf9d4a6a65b88970f31bc2cabd4d08b33885.zip
CryptoPkg/BaseHashApiLib: Align BaseHashApiLib with TPM 2.0 Implementation
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2511 This commit aligns the baseHashApiLib with TPM 2.0 Implementation as follows: - Remove reference to MD4 and MD5 algorithms as they are deprecated - Align the enumerations for hashing algoerithms with the one used in TPM 2.0 implementation defined in IndustryStandard/Tpm20.h. 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>
Diffstat (limited to 'CryptoPkg/CryptoPkg.uni')
-rw-r--r--CryptoPkg/CryptoPkg.uni12
1 files changed, 5 insertions, 7 deletions
diff --git a/CryptoPkg/CryptoPkg.uni b/CryptoPkg/CryptoPkg.uni
index 2222762f42..28459fcafe 100644
--- a/CryptoPkg/CryptoPkg.uni
+++ b/CryptoPkg/CryptoPkg.uni
@@ -21,13 +21,11 @@
"Based on the value set, the required algorithm is chosen to calculate\n"
"the hash of data.<BR>\n"
"The default hashing algorithm for BaseHashApiLib is set to SHA256.<BR>\n"
- "0x00000001 - MD4.<BR>\n"
- "0x00000002 - MD5.<BR>\n"
- "0x00000003 - SHA1.<BR>\n"
- "0x00000004 - SHA256.<BR>\n"
- "0x00000005 - SHA384.<BR>\n"
- "0x00000006 - SHA512.<BR>\n"
- "0x00000007 - SM3.<BR>"
+ "0x00000001 - HASH_ALG_SHA1.<BR>\n"
+ "0x00000002 - HASH_ALG_SHA256.<BR>\n"
+ "0x00000004 - HASH_ALG_SHA384.<BR>\n"
+ "0x00000008 - HASH_ALG_SHA512.<BR>\n"
+ "0x00000010 - HASH_ALG_SM3.<BR>"
#string STR_gEfiCryptoPkgTokenSpaceGuid_PcdCryptoServiceFamilyEnable_PROMPT #language en-US "Enable/Disable EDK II Crypto Protocol/PPI services"