]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/DxeImageVerificationLib/DxeImageVerificationLib.h
Enable TPM measurement lib to measure all PE image from a FV unmeasured by TcgPei
[mirror_edk2.git] / SecurityPkg / Library / DxeImageVerificationLib / DxeImageVerificationLib.h
index 34ed0c89a1935cb71527b633e865ad5d5f3bc609..55371e90bfc1773521ddb27d8cf31c5f6f1e5280 100644 (file)
@@ -2,7 +2,7 @@
   The internal header file includes the common header files, defines\r
   internal structure and functions used by ImageVerificationLib.\r
 \r
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
 are licensed and made available under the terms and conditions of the BSD License \r
 which accompanies this distribution.  The full text of the license may be found at \r
@@ -28,17 +28,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/PcdLib.h>\r
 #include <Library/DevicePathLib.h>\r
 #include <Library/SecurityManagementLib.h>\r
+#include <Library/PeCoffLib.h>\r
 #include <Protocol/FirmwareVolume2.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/BlockIo.h>\r
 #include <Protocol/SimpleFileSystem.h>\r
 #include <Protocol/VariableWrite.h>\r
 #include <Guid/ImageAuthentication.h>\r
+#include <Guid/AuthenticatedVariableFormat.h>\r
 #include <IndustryStandard/PeImage.h>\r
 \r
 #define EFI_CERT_TYPE_RSA2048_SHA256_SIZE 256\r
 #define EFI_CERT_TYPE_RSA2048_SIZE        256\r
 #define MAX_NOTIFY_STRING_LEN             64\r
+#define TWO_BYTE_ENCODE                   0x82\r
 \r
 //\r
 // Image type definitions\r