/** @file\r
Ihis library uses TPM2 device to calculation hash.\r
\r
-Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>\r
+Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved. <BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
#include <Library/MemoryAllocationLib.h>\r
#include <Library/HashLib.h>\r
#include <Library/PcdLib.h>\r
-#include <Protocol/TrEEProtocol.h>\r
\r
typedef struct {\r
TPM_ALG_ID AlgoId;\r
} TPM2_HASH_MASK;\r
\r
TPM2_HASH_MASK mTpm2HashMask[] = {\r
- {TPM_ALG_SHA1, TREE_BOOT_HASH_ALG_SHA1},\r
- {TPM_ALG_SHA256, TREE_BOOT_HASH_ALG_SHA256},\r
- {TPM_ALG_SHA384, TREE_BOOT_HASH_ALG_SHA384},\r
- {TPM_ALG_SHA512, TREE_BOOT_HASH_ALG_SHA512},\r
+ {TPM_ALG_SHA1, HASH_ALG_SHA1},\r
+ {TPM_ALG_SHA256, HASH_ALG_SHA256},\r
+ {TPM_ALG_SHA384, HASH_ALG_SHA384},\r
+ {TPM_ALG_SHA512, HASH_ALG_SHA512},\r
};\r
\r
/**\r