From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web12.50226.1594004588719194806 for ; Sun, 05 Jul 2020 20:03:08 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: jiewen.yao@intel.com) IronPort-SDR: ydMJ1jQdc/gxGIgetgD8/cDU/kkzNBPbDRegMenLjjzIMJyWyjiCU5m+Ptjjk+D1pIlHqA2axM +XX0jQtmjPwQ== X-IronPort-AV: E=McAfee;i="6000,8403,9673"; a="212338570" X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="212338570" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2020 20:03:07 -0700 IronPort-SDR: L6OF6BFPr6MfIWfglwZA+EddFyW+cje85BH4grsKOomK/ZocKQpkbl1GJ0yNKn7k/n8ViyjDq8 HgTN4qiBJ2ow== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,318,1589266800"; d="scan'208";a="482557210" Received: from shwdeopensfp777.ccr.corp.intel.com ([10.239.158.78]) by fmsmga006.fm.intel.com with ESMTP; 05 Jul 2020 20:03:06 -0700 From: "Yao, Jiewen" To: devel@edk2.groups.io Cc: Jiewen Yao , Jian J Wang Subject: [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event. Date: Mon, 6 Jul 2020 11:03:05 +0800 Message-Id: <20200706030305.1688-1-jiewen.yao@intel.com> X-Mailer: git-send-email 2.24.0.windows.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Jiewen Yao REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2840=0D =0D Cc: Jian J Wang Signed-off-by: Jiewen Yao --- SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c b/SecurityPkg/Tcg/Tcg2Pei/Tc= g2Pei.c index 4852d86906..19b8e4b318 100644 --- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c +++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c @@ -633,6 +633,7 @@ MeasureFvImage ( }=0D FvBlob2.BlobBase =3D FvBase;=0D FvBlob2.BlobLength =3D FvLength;=0D + TcgEventHdr.PCRIndex =3D 0;=0D TcgEventHdr.EventType =3D EV_EFI_PLATFORM_FIRMWARE_BLOB2;=0D TcgEventHdr.EventSize =3D sizeof (FvBlob2);=0D EventData =3D &FvBlob2;=0D --=20 2.26.2.windows.1