From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: "Zhang, Chao B" <chao.b.zhang@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Zeng, Star" <star.zeng@intel.com>
Subject: Re: [PATCH] SecurityPkg: Tcg2Dxe: Measure BootOrder, Boot#### to PCR[1]
Date: Fri, 3 Mar 2017 14:11:42 +0000 [thread overview]
Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503A8F90DE@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20170303083613.37384-1-chao.b.zhang@intel.com>
Reviewed-by: jiewen.yao@intel.com
> -----Original Message-----
> From: Zhang, Chao B
> Sent: Friday, March 3, 2017 4:36 PM
> To: edk2-devel@lists.01.org
> Cc: Zeng, Star <star.zeng@intel.com>; Yao, Jiewen <jiewen.yao@intel.com>;
> Zhang, Chao B <chao.b.zhang@intel.com>
> Subject: [PATCH] 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>
> ---
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> index 79d614c..1d2ac9a 100644
> --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> @@ -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,
> --
> 1.9.5.msysgit.1
prev parent reply other threads:[~2017-03-03 14:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 8:36 [PATCH] SecurityPkg: Tcg2Dxe: Measure BootOrder, Boot#### to PCR[1] Zhang, Chao B
2017-03-03 14:11 ` Yao, Jiewen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74D8A39837DF1E4DA445A8C0B3885C503A8F90DE@shsmsx102.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox