]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/SecurityPkg.dsc
SecurityPkg/TPM2: Sync PcrAllocations and PcrMask
authorJiewen Yao <jiewen.yao@intel.com>
Wed, 14 Sep 2016 08:54:50 +0000 (16:54 +0800)
committerStar Zeng <star.zeng@intel.com>
Wed, 21 Sep 2016 10:20:20 +0000 (18:20 +0800)
commit5919a9600e07b4700b54a5b47ae3991aad0e883c
treebbadbbfb2b86280fe5befe96af52c21f35b18c04
parent07cdba18cd974d818556d752facfbf35a8d0f012
SecurityPkg/TPM2: Sync PcrAllocations and PcrMask

Current TCG2 implementation will set Tpm2HashMask PCD value according to TPM2
PCR bank. However, there might be misconfiguration in BIOS build phase.
The enhanced logic makes sure that the current PCR allocations, the TPM
supported PCRs, and the PcdTpm2HashMask are all in agreement.

Cc: Chao B Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
SecurityPkg/SecurityPkg.dsc
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf