public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event.
@ 2020-07-06  3:03 Yao, Jiewen
  2020-07-10  7:35 ` [edk2-devel] " Wang, Jian J
  0 siblings, 1 reply; 2+ messages in thread
From: Yao, Jiewen @ 2020-07-06  3:03 UTC (permalink / raw)
  To: devel; +Cc: Jiewen Yao, Jian J Wang

From: Jiewen Yao <jiewen.yao@intel.com>

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2840

Cc: Jian J Wang <jian.j.wang@intel.com>
Signed-off-by: Jiewen Yao <jiewen.yao@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [edk2-devel] [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event.
  2020-07-06  3:03 [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event Yao, Jiewen
@ 2020-07-10  7:35 ` Wang, Jian J
  0 siblings, 0 replies; 2+ messages in thread
From: Wang, Jian J @ 2020-07-10  7:35 UTC (permalink / raw)
  To: devel@edk2.groups.io, Yao, Jiewen


Reviewed-by: Jian J Wang <jian.j.wang@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.yao@intel.com>; Wang, Jian J <jian.j.wang@intel.com>
> Subject: [edk2-devel] [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex
> in FvBlob event.
> 
> From: Jiewen Yao <jiewen.yao@intel.com>
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2840
> 
> 
> 
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Signed-off-by: Jiewen Yao <jiewen.yao@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+owner@edk2.groups.io
> Unsubscribe: https://edk2.groups.io/g/devel/unsub  [jian.j.wang@intel.com]
> -=-=-=-=-=-=


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-07-10  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-06  3:03 [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event Yao, Jiewen
2020-07-10  7:35 ` [edk2-devel] " Wang, Jian J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox