]> git.proxmox.com Git - mirror_edk2.git/commitdiff
adjust codes.
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Dec 2008 08:19:15 +0000 (08:19 +0000)
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 2 Dec 2008 08:19:15 +0000 (08:19 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6804 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/IndustryStandard/Tpm12.h

index 5f5ce5731dc91cc5fe40b8affd6f9028379e0d52..eca5eec32717387d363501c3c4f30dbdf17e9f7d 100644 (file)
@@ -305,13 +305,13 @@ typedef struct tdTPM_VERSION {
 ///\r
 /// Part 2, section 5.4: TPM_DIGEST\r
 ///\r
+#define TPM_SHA1_160_HASH_LEN       0x14\r
+#define TPM_SHA1BASED_NONCE_LEN     TPM_SHA1_160_HASH_LEN\r
+\r
 typedef struct tdTPM_DIGEST{\r
   UINT8                             digest[TPM_SHA1_160_HASH_LEN];\r
 } TPM_DIGEST;\r
 \r
-#define TPM_SHA1_160_HASH_LEN       0x14\r
-#define TPM_SHA1BASED_NONCE_LEN     TPM_SHA1_160_HASH_LEN\r
-\r
 typedef TPM_DIGEST                  TPM_CHOSENID_HASH;\r
 typedef TPM_DIGEST                  TPM_COMPOSITE_HASH;\r
 typedef TPM_DIGEST                  TPM_DIRVALUE;\r