adjust codes.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6804 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2008-12-02 08:19:15 +00:00
parent 427987f5bc
commit 9cf53f0060
1 changed files with 3 additions and 3 deletions

View File

@ -305,13 +305,13 @@ typedef struct tdTPM_VERSION {
/// ///
/// Part 2, section 5.4: TPM_DIGEST /// 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{ typedef struct tdTPM_DIGEST{
UINT8 digest[TPM_SHA1_160_HASH_LEN]; UINT8 digest[TPM_SHA1_160_HASH_LEN];
} TPM_DIGEST; } 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_CHOSENID_HASH;
typedef TPM_DIGEST TPM_COMPOSITE_HASH; typedef TPM_DIGEST TPM_COMPOSITE_HASH;
typedef TPM_DIGEST TPM_DIRVALUE; typedef TPM_DIGEST TPM_DIRVALUE;