diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-02 08:19:15 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-12-02 08:19:15 +0000 |
commit | 9cf53f00606e3f6604e73d56139aedf75eeba05a (patch) | |
tree | 22a1f5ddac3e5ff718aafa8131d8668a6c8c5b4d /MdePkg/Include/IndustryStandard | |
parent | 427987f5bc27aef1beffa61b341e41d4740aea54 (diff) | |
download | edk2-platforms-9cf53f00606e3f6604e73d56139aedf75eeba05a.tar.xz |
adjust codes.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6804 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/IndustryStandard')
-rw-r--r-- | MdePkg/Include/IndustryStandard/Tpm12.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Include/IndustryStandard/Tpm12.h b/MdePkg/Include/IndustryStandard/Tpm12.h index 5f5ce5731d..eca5eec327 100644 --- a/MdePkg/Include/IndustryStandard/Tpm12.h +++ b/MdePkg/Include/IndustryStandard/Tpm12.h @@ -305,13 +305,13 @@ typedef struct tdTPM_VERSION { ///
/// Part 2, section 5.4: TPM_DIGEST
///
+#define TPM_SHA1_160_HASH_LEN 0x14
+#define TPM_SHA1BASED_NONCE_LEN TPM_SHA1_160_HASH_LEN
+
typedef struct tdTPM_DIGEST{
UINT8 digest[TPM_SHA1_160_HASH_LEN];
} TPM_DIGEST;
-#define TPM_SHA1_160_HASH_LEN 0x14
-#define TPM_SHA1BASED_NONCE_LEN TPM_SHA1_160_HASH_LEN
-
typedef TPM_DIGEST TPM_CHOSENID_HASH;
typedef TPM_DIGEST TPM_COMPOSITE_HASH;
typedef TPM_DIGEST TPM_DIRVALUE;
|