]> git.proxmox.com Git - mirror_edk2.git/commit
Security: Add HashLibTdx
authorMin Xu <min.m.xu@intel.com>
Mon, 16 May 2022 07:42:15 +0000 (15:42 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 3 Jun 2022 11:41:36 +0000 (11:41 +0000)
commit72c5afd0b47b26d569451bbee4cef18b0dd6e043
tree1090acee9a73cff4a6957723437e9eeecf5e120b
parentbf25f27e0021ae1f37184fa8fc76382599e23012
Security: Add HashLibTdx

RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3853

This library provides hash service by registered hash handler in Td
guest. Currently only SHA384 is supported. After that the hash value is
extended to Td RTMR registers which is similar to TPM PCRs.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Min Xu <min.m.xu@intel.com>
SecurityPkg/Library/HashLibTdx/HashLibTdx.c [new file with mode: 0644]
SecurityPkg/Library/HashLibTdx/HashLibTdx.inf [new file with mode: 0644]
SecurityPkg/SecurityPkg.dsc