]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
Add error handling for TPM in S3 resume failure.
authorYao, Jiewen <jiewen.yao@intel.com>
Tue, 10 Nov 2015 02:03:40 +0000 (02:03 +0000)
committerjyao1 <jyao1@Edk2>
Tue, 10 Nov 2015 02:03:40 +0000 (02:03 +0000)
commitc2fe66bf62c4430dcff7002b88dfc5be464efdcb
treea5d3d1c527e378fc1e6ed4c7567b41b04332f788
parent07c707858d2547aff283f2e639559627f98d3a9c
Add error handling for TPM in S3 resume failure.

If TPM2_Startup(TPM_SU_STATE) to return an error, the system
 firmware that resumes from S3 MUST deal with a TPM2_Startup
 error appropriately.
For example, issuing a TPM2_Startup(TPM_SU_CLEAR) command and
 configuring the device securely by taking actions like extending
 a separator with an error digest (0x01) into PCRs 0 through 7.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18760 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c