SecurityPkg: Tcg2Dxe: Measure BootOrder, Boot#### to PCR[1]

Measure BootOrder, Boot#### to PCR[1] according to TCG PC-Client PFP Spec
00.21 Section 2.4.4.2
http://www.trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific_Platform_Profile_for_TPM_2p0_Systems_v21.pdf

Cc: Star Zeng <star.zeng@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
This commit is contained in:
Zhang, Chao B 2017-03-03 11:15:01 +08:00
parent 03f9cc20b8
commit fe13f92b6f
1 changed files with 3 additions and 2 deletions

View File

@ -1982,7 +1982,8 @@ ReadAndMeasureVariable (
}
/**
Read then Measure and log an EFI boot variable, and extend the measurement result into PCR[5].
Read then Measure and log an EFI boot variable, and extend the measurement result into PCR[1].
according to TCG PC Client PFP spec 0021 Section 2.4.4.2
@param[in] VarName A Null-terminated string that is the name of the vendor's variable.
@param[in] VendorGuid A unique identifier for the vendor.
@ -2003,7 +2004,7 @@ ReadAndMeasureBootVariable (
)
{
return ReadAndMeasureVariable (
5,
1,
EV_EFI_VARIABLE_BOOT,
VarName,
VendorGuid,