From: "Wang, Jian J" <jian.j.wang@intel.com>
To: "Yao, Jiewen" <jiewen.yao@intel.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [PATCH 01/14] SecurityPkg/Tcg2Dxe: Add PcdTcgPfpMeasurementRevision in SpecId event.
Date: Fri, 10 Jul 2020 07:32:41 +0000 [thread overview]
Message-ID: <SN6PR11MB33125D72EFBEA4D0EBF16BD5B6650@SN6PR11MB3312.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20200706030239.1280-1-jiewen.yao@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
Regards,
Jian
> -----Original Message-----
> From: Yao, Jiewen <jiewen.yao@intel.com>
> Sent: Monday, July 06, 2020 11:03 AM
> To: devel@edk2.groups.io
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
> Subject: [PATCH 01/14] SecurityPkg/Tcg2Dxe: Add
> PcdTcgPfpMeasurementRevision in SpecId event.
>
> From: Jiewen Yao <jiewen.yao@intel.com>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2839
>
>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
> ---
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 2 +-
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> index 9a5f987e68..6d17616c1c 100644
> --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c
> @@ -1589,7 +1589,7 @@ SetupEventLog (
> TcgEfiSpecIdEventStruct->platformClass = PcdGet8 (PcdTpmPlatformClass);
>
> TcgEfiSpecIdEventStruct->specVersionMajor =
> TCG_EfiSpecIDEventStruct_SPEC_VERSION_MAJOR_TPM2;
>
> TcgEfiSpecIdEventStruct->specVersionMinor =
> TCG_EfiSpecIDEventStruct_SPEC_VERSION_MINOR_TPM2;
>
> - TcgEfiSpecIdEventStruct->specErrata =
> TCG_EfiSpecIDEventStruct_SPEC_ERRATA_TPM2;
>
> + TcgEfiSpecIdEventStruct->specErrata =
> (UINT8)PcdGet32(PcdTcgPfpMeasurementRevision);
>
> TcgEfiSpecIdEventStruct->uintnSize = sizeof(UINTN)/sizeof(UINT32);
>
> NumberOfAlgorithms = 0;
>
> DigestSize = (TCG_EfiSpecIdEventAlgorithmSize *)((UINT8
> *)TcgEfiSpecIdEventStruct + sizeof(*TcgEfiSpecIdEventStruct) +
> sizeof(NumberOfAlgorithms));
>
> diff --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> index 576cf80d06..7dc7a2683d 100644
> --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> @@ -106,6 +106,7 @@
> gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev ##
> CONSUMES
>
> gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableLaml ##
> PRODUCES
>
> gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableLasa ##
> PRODUCES
>
> + gEfiMdeModulePkgTokenSpaceGuid.PcdTcgPfpMeasurementRevision
> ## CONSUMES
>
>
>
> [Depex]
>
> # According to PcdTpm2AcpiTableRev definition in SecurityPkg.dec
>
> --
> 2.26.2.windows.1
prev parent reply other threads:[~2020-07-10 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-06 3:02 [PATCH 01/14] SecurityPkg/Tcg2Dxe: Add PcdTcgPfpMeasurementRevision in SpecId event Yao, Jiewen
2020-07-10 7:32 ` Wang, Jian J [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=SN6PR11MB33125D72EFBEA4D0EBF16BD5B6650@SN6PR11MB3312.namprd11.prod.outlook.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