]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Tpm12.h
adjust codes.
[mirror_edk2.git] / 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