]> git.proxmox.com Git - mirror_edk2.git/commit - CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.c
CryptoPkg/BaseHashApiLib: Align BaseHashApiLib with TPM 2.0 Implementation
authorAmol N Sukerkar <amol.n.sukerkar@intel.com>
Sun, 16 Feb 2020 03:51:02 +0000 (03:51 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 19 Feb 2020 16:38:22 +0000 (16:38 +0000)
commitc70bdf9d4a6a65b88970f31bc2cabd4d08b33885
treebddc8e74b03f5303cdbe06e5033e63ffc13c9159
parent0997352ddb4761c49dfedf6fef46b4cd15f6c9bf
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>
CryptoPkg/CryptoPkg.dec
CryptoPkg/CryptoPkg.uni
CryptoPkg/Include/Library/HashApiLib.h
CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.c