From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mx.groups.io with SMTP id smtpd.web12.5906.1594366557180983854 for ; Fri, 10 Jul 2020 00:35:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=WxUXl/sh; spf=pass (domain: intel.com, ip: 192.55.52.151, mailfrom: jian.j.wang@intel.com) IronPort-SDR: 0EetsCfLICNeyHcQYcfef12RpPI0WpGLgYTNVM69DxeMl3PqQ8dqkm04kodYrJWRUFtUrQIQnM GkyM0MV8czuA== X-IronPort-AV: E=McAfee;i="6000,8403,9677"; a="128230274" X-IronPort-AV: E=Sophos;i="5.75,334,1589266800"; d="scan'208";a="128230274" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2020 00:35:56 -0700 IronPort-SDR: uVWUGx9sNFHauQfWZEKqN18269EPQWpuDDxTRQi9Kcw49quBfTqUdeMSVXco3HwrwcoVjt6Znt vYfS3oFNptFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,334,1589266800"; d="scan'208";a="316510944" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by fmsmga002.fm.intel.com with ESMTP; 10 Jul 2020 00:35:56 -0700 Received: from orsmsx152.amr.corp.intel.com (10.22.226.39) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Jul 2020 00:35:51 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX152.amr.corp.intel.com (10.22.226.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Jul 2020 00:35:51 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.170) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 10 Jul 2020 00:35:51 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TAtgJq0T6WK402et7OkfL315jozy6Qu8r10JayH4AcJ190XxEVbpNx4n9LZlhlczwnaF3XEbaagw8Aba25WToS47fP9V9HpOATQmvwCYZ2QkLCIxXtuBxM6Xp9aH2GXcexD4slNeoa7nuBsCKE2awWtuPABLc7lIjJNLWfNDlIovnzJXamb8MYMmcyuL3xoPZ15sNPNa5Z1Zj0wVF2QrO6yFyjFYhr89yf92GeUUzZfmUO+KrzrccoZwXCVDwJ/mk/Aph6sfATfiUATtWq6AGa7XENZJlDhsuft83V6AaVFE8scf5JIWvgpzD+pYkikkQz/Bmb69dVzlS2LKlPA8Ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jGBS/mu+cmqJC834EFW9d4lQmUbOVj/rxK1SoV+u2+E=; b=U6kqGJOUCXeJvLXFYp5McifCbizQyp3s1914Lhmfys9F5wkBOha2HgD5AvAp7S2Ji22BAphYxSVmb3CgwCJXi6L3p/yNsfT32L5sw+AwzXDNp7wBQSALhadwPvw30ecJmQo6g9FfL/u5UBiwYrdTQsEwLL2lMB9PEI2wHgNhkD5qg1Dm2C4Go2AjB3w3bY2YQ6gsjKqZQky3053A1zQsAhl9mMpwa1jd8PNNGent+d2KS26lBG/rYUm4bbZmwHyxmCeUk2YvG6WG/syTAEatwR+YVMl6Ku7vkGm5C6uLeqofLz7139THbjnDrHfW5whhzE+vq2sJ6TZ+u2/0QDpQ7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jGBS/mu+cmqJC834EFW9d4lQmUbOVj/rxK1SoV+u2+E=; b=WxUXl/shP2AVLyOH94FoRSe1grxIeHrBArKn4+S9U/kPs5hjd4+10D+9fLE05cwxyqSM1sUS+qX78tf52aWCNI36Aw+PX0qKqFNIlgBYdG1xgVkoy0bZ4aOvud6P7xZYK/n9jjL1jTfLRRk83bZJlqZf/SJHiVrhZcpJyn0Wy98= Received: from SN6PR11MB3312.namprd11.prod.outlook.com (2603:10b6:805:c8::14) by SN6PR11MB3311.namprd11.prod.outlook.com (2603:10b6:805:c1::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Fri, 10 Jul 2020 07:35:50 +0000 Received: from SN6PR11MB3312.namprd11.prod.outlook.com ([fe80::31f6:24c6:99f0:33d2]) by SN6PR11MB3312.namprd11.prod.outlook.com ([fe80::31f6:24c6:99f0:33d2%6]) with mapi id 15.20.3174.022; Fri, 10 Jul 2020 07:35:50 +0000 From: "Wang, Jian J" To: "devel@edk2.groups.io" , "Yao, Jiewen" Subject: Re: [edk2-devel] [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event. Thread-Topic: [edk2-devel] [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRIndex in FvBlob event. Thread-Index: AQHWU0H9iTF65kiT+kqSDgOikuW12qkAcuTQ Date: Fri, 10 Jul 2020 07:35:50 +0000 Message-ID: References: <20200706030305.1688-1-jiewen.yao@intel.com> In-Reply-To: <20200706030305.1688-1-jiewen.yao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTExMTcwNjYtZDlkZS00ODA0LWFmODMtOWJhZGE1NTE1ODE2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiQ1R0aVNtS2tHcDd1TUttQnViTHQ5WEVCQVNhN29SN0s4eFp6UVhhS3dPdHV0dkZEQ1hqNldkWHVuRTArK2hZciJ9 dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows x-ctpclassification: CTP_NT authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.194] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6413714e-58c8-4507-bf80-08d824a3debe x-ms-traffictypediagnostic: SN6PR11MB3311: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:138; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: dgkXXXaU1zOYwmLGzlcUAYBN18pE0FvQh53jWxAx0YAJKSvNT3ci8MFzjv798QXKIxMwjfD3fztoquiXg/jI3nD89nwQ+vNQyL7Vmnx3GtzD2FO/XT4vMZKcnZ8RKRjkKZShOCtYgJx26vd4bBGiT5iOziF/JF14COBlCmIzsQzNtkaeraVZt7HH6pPokE//SoKQiYtO83zj0kV/16TuI9H7Lh64y8IjkP0BBSWIzOWmq91e6pIhICuJMeV59kdanM3gvnFbYf/Vu/TKViVJb0tbbfDp9XIUfdBymXpT23/68Md/jPn3nb5SPCdaEaTuLGBbwR4t6QqM0DCWXJuxsuoi9hQeEjyLnCpUKzhOGHFMemSu3gcKCo6N5EN0LFwJHEHRyDFIF9Tmyvo/N0yaAw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SN6PR11MB3312.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(6029001)(4636009)(136003)(396003)(39860400002)(366004)(376002)(346002)(71200400001)(186003)(26005)(19627235002)(9686003)(478600001)(55016002)(5660300002)(6506007)(8936002)(53546011)(15650500001)(7696005)(66946007)(6636002)(66446008)(64756008)(66556008)(966005)(83380400001)(52536014)(86362001)(110136005)(66476007)(316002)(8676002)(2906002)(76116006)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: xE9ySRICZBsEKgk7dce/YfO4LnmgiSGR37un9kXs7qDkCGQKGmP0u9zZwd2EWZC6p45f2czjDXuUR6n9L7Drw/dyR5YSgqC79+2Jo+rz/V4vukOL+4lHnk/92lxRFyZwMDJfU07kvgNaK0OzUyLSm6g8jwwUKwMgT731Q2LL4Co6adX9IPhjvKr/LoTd/svxPtbrgq6sPGCKQztWJy+jwUu1wdq+Gguzhd2lfa8TilK+nAPHsJDlsKAOsNgIk3BQfENfHpjt34E11JstGRWmtwmdMSgoQXXAQ63TQE7Ohwn09O49cU33dUE84HNoygVsOZdBwK+I/yyLGv4/GsNnSzevubJkEq+4AbZq8bTobm+Mq4DsHi/OL9xY9vic9EIj2fFCr4IG9ke/sa0ERVl6rwJ6xic/36fOT5gDTUiJCmgVVwH7q+xYaUKpgtK/UjmMdA40nBJu7fuN+2lqhKzt/ebLzokXZJdkPPDLvtMzT6z7a7S4feK6a0IWpaE7iWLM MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3312.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6413714e-58c8-4507-bf80-08d824a3debe X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jul 2020 07:35:50.6528 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: zBjHz1zDgOGmhI297fTpIqBHdDx0dbEdT4taTYziWzCA9DSOWkZIvrAshUEAMWJMbmanp7Mp5nU5Lfdcnynseg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB3311 Return-Path: jian.j.wang@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Jian J Wang Regards, Jian > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Yao, Jiewe= n > Sent: Monday, July 06, 2020 11:03 AM > To: devel@edk2.groups.io > Cc: Yao, Jiewen ; Wang, Jian J > Subject: [edk2-devel] [PATCH 01/13] SecurityPkg/Tcg2Pei: Add missing PCRI= ndex > in FvBlob event. >=20 > From: Jiewen Yao >=20 > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2840 >=20 >=20 >=20 > Cc: Jian J Wang > Signed-off-by: Jiewen Yao > --- > SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 1 + > 1 file changed, 1 insertion(+) >=20 > 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 ( > } >=20 > FvBlob2.BlobBase =3D FvBase; >=20 > FvBlob2.BlobLength =3D FvLength; >=20 > + TcgEventHdr.PCRIndex =3D 0; >=20 > TcgEventHdr.EventType =3D EV_EFI_PLATFORM_FIRMWARE_BLOB2; >=20 > TcgEventHdr.EventSize =3D sizeof (FvBlob2); >=20 > EventData =3D &FvBlob2; >=20 > -- > 2.26.2.windows.1 >=20 >=20 > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. >=20 > 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= ] > -=3D-=3D-=3D-=3D-=3D-=3D