/// This structure serves as the header for measuring variables. The name of the\r
/// variable (in Unicode format) should immediately follow, then the variable\r
/// data.\r
+/// This is defined in TCG EFI Platform Spec for TPM1.1 or 1.2 V1.22\r
///\r
typedef struct tdEFI_VARIABLE_DATA {\r
EFI_GUID VariableName;\r
INT8 VariableData[1]; ///< Driver or platform-specific data\r
} EFI_VARIABLE_DATA;\r
\r
+///\r
+/// UEFI_VARIABLE_DATA\r
+///\r
+/// This structure serves as the header for measuring variables. The name of the\r
+/// variable (in Unicode format) should immediately follow, then the variable\r
+/// data.\r
+/// This is defined in TCG PC Client Firmware Profile Spec 00.21\r
+///\r
+typedef struct tdUEFI_VARIABLE_DATA {\r
+ EFI_GUID VariableName;\r
+ UINT64 UnicodeNameLength;\r
+ UINT64 VariableDataLength;\r
+ CHAR16 UnicodeName[1];\r
+ INT8 VariableData[1]; ///< Driver or platform-specific data\r
+} UEFI_VARIABLE_DATA;\r
+\r
//\r
// For TrEE1.0 compatibility\r
//\r