-/*++\r
-\r
-Copyright (c) 2005 - 2006, Intel Corporation \r
-All rights reserved. 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
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- Tpm12.h\r
-\r
-Abstract:\r
-\r
+/** \r
+ @file \r
TPM Specification data structures (TCG TPM Specification Version 1.2 Revision 94)\r
-\r
See http://trustedcomputinggroup.org for latest specification updates\r
\r
---*/\r
+ Copyright (c) 2006 - 2007, Intel Corporation\r
+ All rights reserved. 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
+ http://opensource.org/licenses/bsd-license.php \r
+\r
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+**/\r
+\r
\r
#ifndef _TPM12_H_\r
#define _TPM12_H_\r
// Structures are all packed on 1-byte alignment\r
//\r
\r
-#pragma pack (push)\r
-#pragma pack (1)\r
+#pragma pack (push, 1)\r
\r
//\r
// Part 2, section 2.2: Basic types & Helper redefinitions\r
//\r
// Part 2, section 5.10: TPM_KEY_FLAGS\r
//\r
-enum tdTPM_KEY_FLAGS {\r
+typedef enum tdTPM_KEY_FLAGS {\r
redirection = 0x00000001,\r
migratable = 0x00000002,\r
isVolatile = 0x00000004,\r
pcrIgnoredOnRead = 0x00000008,\r
migrateAuthority = 0x00000010\r
-};\r
+} TPM_KEY_FLAGS;\r
\r
//\r
// Part 2, section 5.11: TPM_CHANGEAUTH_VALIDATE\r
} TPM_EK_BLOB_AUTH;\r
\r
\r
-// TPM_CHOSENID_HASH = SHA(identityLabel || privacyCA)\r
-typedef TPM_DIGEST TPM_CHOSENID_HASH;\r
-\r
typedef struct tdTPM_IDENTITY_CONTENTS\r
{\r
TPM_STRUCT_VER ver;\r