From 9cf53f00606e3f6604e73d56139aedf75eeba05a Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 2 Dec 2008 08:19:15 +0000 Subject: [PATCH] adjust codes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6804 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/IndustryStandard/Tpm12.h | 6 +++--- 1 file 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;