Re: [edk2] [PATCH V2 2/3] SecurityPkg: Tcg2Dxe: Measure DBT into PCR[7]
Reviewed-by: jiewen@intel.com > -Original Message- > From: Zhang, Chao B > Sent: Thursday, January 19, 2017 1:14 PM > To: edk2-devel@lists.01.org > Cc: yao.jie...@intel.com; Zeng, Star; Yao, Jiewen > ; Zhang, Chao B > Subject: [PATCH V2 2/3] SecurityPkg: Tcg2Dxe: Measure DBT into PCR[7] > > Measure DBT into PCR[7] in initial measurement phase according > to TCG PC Client PFP 00.37. > http://www.trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific > _Platform_Profile_for_TPM_2p0_Systems_v21.pdf > > Cc: Star Zeng > Cc: Yao Jiewen > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Chao Zhang > --- > SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c > b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c > index 556ef33..3534fd1 100644 > --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c > +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c > @@ -1,7 +1,7 @@ > /** @file >This module implements Tcg2 Protocol. > > -Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved. > +Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved. > (C) Copyright 2016 Hewlett Packard Enterprise Development LP > This program and the accompanying materials > are licensed and made available under the terms and conditions of the BSD > License > @@ -115,6 +115,7 @@ VARIABLE_TYPE mVariableType[] = { >{EFI_KEY_EXCHANGE_KEY_NAME,}, >{EFI_IMAGE_SECURITY_DATABASE, }, >{EFI_IMAGE_SECURITY_DATABASE1, }, > + {EFI_IMAGE_SECURITY_DATABASE2, }, > }; > > EFI_HANDLE mImageHandle; > -- > 1.9.5.msysgit.1 ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH V2 2/3] SecurityPkg: Tcg2Dxe: Measure DBT into PCR[7]
Chao, I have one minor comment. Please remember to add " ## SOMETIMES_CONSUMES ## Variable:L"dbt" " in Tcg2Dxe.inf. With the comment covered, Reviewed-by: Star ZengThanks, Star -Original Message- From: Zhang, Chao B Sent: Thursday, January 19, 2017 1:14 PM To: edk2-devel@lists.01.org Cc: yao.jie...@intel.com; Zeng, Star ; Yao, Jiewen ; Zhang, Chao B Subject: [PATCH V2 2/3] SecurityPkg: Tcg2Dxe: Measure DBT into PCR[7] Measure DBT into PCR[7] in initial measurement phase according to TCG PC Client PFP 00.37. http://www.trustedcomputinggroup.org/wp-content/uploads/PC-ClientSpecific_Platform_Profile_for_TPM_2p0_Systems_v21.pdf Cc: Star Zeng Cc: Yao Jiewen Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang --- SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c index 556ef33..3534fd1 100644 --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c @@ -1,7 +1,7 @@ /** @file This module implements Tcg2 Protocol. -Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved. +Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved. (C) Copyright 2016 Hewlett Packard Enterprise Development LP This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License @@ -115,6 +115,7 @@ VARIABLE_TYPE mVariableType[] = { {EFI_KEY_EXCHANGE_KEY_NAME,}, {EFI_IMAGE_SECURITY_DATABASE, }, {EFI_IMAGE_SECURITY_DATABASE1, }, + {EFI_IMAGE_SECURITY_DATABASE2, }, }; EFI_HANDLE mImageHandle; -- 1.9.5.msysgit.1 ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel