Winddy: It is a good question. The original logic comes from TpmMeasureBootHandler(). TCG EFI Platform Specification Ver1.2 R1.0 Section 6.1 clarifies that the following words "The measuring entity MUST measure normalized code for all EFI applications into PCR [4]."
From PCR perspective, FV(CRTM) measure targets PCR[0], Application measure targets PCR[4]. They focus on different aspects. Thanks & Best regards Chao Zhang -----Original Message----- From: edk2-devel [mailto:[email protected]] On Behalf Of winddy 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 measured FV in DxeTpm2MeasureBootHandler() ? Dear experts, I find in function DxeTpm2MeasureBootHandler(), all application PE files will be measured, even if it is in a measured FV? Is it a Duplicated measurement? Thanks. ------------------ BR winddy_zhang _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

