Reviewed-by: Jian J Wang <jian.j.w...@intel.com>

Regards,
Jian

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Yao, Jiewen
> Sent: Monday, July 06, 2020 11:03 AM
> To: devel@edk2.groups.io
> Cc: Yao, Jiewen <jiewen....@intel.com>; Wang, Jian J <jian.j.w...@intel.com>
> Subject: [edk2-devel] [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex
> in FvBlob event.
> 
> From: Jiewen Yao <jiewen....@intel.com>
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2840
> 
> 
> 
> Cc: Jian J Wang <jian.j.w...@intel.com>
> Signed-off-by: Jiewen Yao <jiewen....@intel.com>
> ---
>  SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
> b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
> index 4852d86906..19b8e4b318 100644
> --- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
> +++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c
> @@ -633,6 +633,7 @@ MeasureFvImage (
>      }
> 
>      FvBlob2.BlobBase      = FvBase;
> 
>      FvBlob2.BlobLength    = FvLength;
> 
> +    TcgEventHdr.PCRIndex  = 0;
> 
>      TcgEventHdr.EventType = EV_EFI_PLATFORM_FIRMWARE_BLOB2;
> 
>      TcgEventHdr.EventSize = sizeof (FvBlob2);
> 
>      EventData             = &FvBlob2;
> 
> --
> 2.26.2.windows.1
> 
> 
> -=-=-=-=-=-=
> Groups.io Links: You receive all messages sent to this group.
> 
> View/Reply Online (#62062): https://edk2.groups.io/g/devel/message/62062
> Mute This Topic: https://groups.io/mt/75326457/1768734
> Group Owner: devel+ow...@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub  [jian.j.w...@intel.com]
> -=-=-=-=-=-=


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#62336): https://edk2.groups.io/g/devel/message/62336
Mute This Topic: https://groups.io/mt/75326457/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to