From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9BCA81A1E43 for ; Tue, 6 Sep 2016 00:26:42 -0700 (PDT) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP; 06 Sep 2016 00:26:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,291,1470726000"; d="scan'208";a="5113157" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga005.jf.intel.com with ESMTP; 06 Sep 2016 00:26:42 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 6 Sep 2016 00:26:41 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.109]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.102]) with mapi id 14.03.0248.002; Tue, 6 Sep 2016 15:26:05 +0800 From: "Zhang, Chao B" To: winddy , "edk2-devel@lists.01.org" Thread-Topic: [edk2] why all applications will be measured even if it is in a measured FV in DxeTpm2MeasureBootHandler() ? Thread-Index: AQHSBxyLmlRuIx23yUCoLzCpSpnHaaBqjjdggAGCVPA= Date: Tue, 6 Sep 2016 07:26:04 +0000 Message-ID: References: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_IC x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOTNhZjczY2YtOWZhNC00ZjdiLWI5YjYtODk4OGZmY2QwZTgzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlVzSk1jeGhFRHBIU2NoMTQ5RFJyOFBYSU5YcU16cHFtQWRJM29GYlcyc2c9In0= x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: why all applications will be measured even if it is in a measured FV in DxeTpm2MeasureBootHandler() ? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Sep 2016 07:26:42 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Winddy: It is a good question. The original logic comes from TpmMeasureBootHandl= er().=20 TCG EFI Platform Specification Ver1.2 R1.0 Section 6.1 clarifies that the f= ollowing words "The measuring entity MUST measure normalized code for all EFI applicatio= ns into PCR [4]." From PCR perspective, FV(CRTM) measure targets PCR[0], Application measu= re targets PCR[4]. They focus=20 on different aspects. Thanks & Best regards Chao Zhang -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of wind= dy Sent: Monday, September 05, 2016 10:23 AM To: edk2-devel Subject: [edk2] why all applications will be measured even if it is in a me= asured FV in DxeTpm2MeasureBootHandler() ? Dear experts, I find in function DxeTpm2MeasureBootHandler(), all application PE file= s will be measured, even if it is in a measured FV? Is it a Duplicated meas= urement? Thanks. ------------------ BR winddy_zhang _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel