1 // /** @file 2 // Provides security service for TPM 1.2 measured boot 3 // 4 // This library instance hooks LoadImage() API to measure every image that 5 // is not measured in PEI phase. And, it will also measure GPT partition. 6 // 7 // Caution: This module requires additional review when modified. 8 // This library will have external input - PE/COFF image and GPT partition. 9 // This external input must be validated carefully to avoid security issues such 10 // as buffer overflow or integer overflow. 11 // 12 // Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> 13 // 14 // This program and the accompanying materials 15 // are licensed and made available under the terms and conditions of the BSD License 16 // which accompanies this distribution. The full text of the license may be found at 17 // http://opensource.org/licenses/bsd-license.php 18 // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 19 // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 20 // 21 // **/ 22 23 24 #string STR_MODULE_ABSTRACT #language en-US "Provides security service for TPM 1.2 measured boot" 25 26 #string STR_MODULE_DESCRIPTION #language en-US "This library instance hooks LoadImage() API to measure every image that is not measured in PEI phase. And, it will also measure GPT partition. Caution: This module requires additional review when modified. This library will have external input - PE/COFF image and GPT partition. This external input must be validated carefully to avoid security issues such as buffer overflow or integer overflow." 27 28