]>
Commit | Line | Data |
---|---|---|
1 | ## @file\r | |
2 | # Provides hash service using TPM2 device\r | |
3 | #\r | |
4 | # This library uses TPM2 device to calculate hash. Platform can use PcdTpm2HashMask to\r | |
5 | # mask some hash calculation.\r | |
6 | #\r | |
7 | # Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r | |
8 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
9 | #\r | |
10 | ##\r | |
11 | \r | |
12 | [Defines]\r | |
13 | INF_VERSION = 0x00010005\r | |
14 | BASE_NAME = HashLibTpm2\r | |
15 | MODULE_UNI_FILE = HashLibTpm2.uni\r | |
16 | FILE_GUID = 1317F0D5-7842-475c-B1CA-6EDC20DCBE7D\r | |
17 | MODULE_TYPE = BASE\r | |
18 | VERSION_STRING = 1.0\r | |
19 | LIBRARY_CLASS = HashLib\r | |
20 | \r | |
21 | #\r | |
22 | # The following information is for reference only and not required by the build tools.\r | |
23 | #\r | |
24 | # VALID_ARCHITECTURES = IA32 X64\r | |
25 | #\r | |
26 | \r | |
27 | [Sources]\r | |
28 | HashLibTpm2.c\r | |
29 | \r | |
30 | [Packages]\r | |
31 | MdePkg/MdePkg.dec\r | |
32 | SecurityPkg/SecurityPkg.dec\r | |
33 | CryptoPkg/CryptoPkg.dec\r | |
34 | \r | |
35 | [LibraryClasses]\r | |
36 | BaseLib\r | |
37 | BaseMemoryLib\r | |
38 | DebugLib\r | |
39 | Tpm2CommandLib\r | |
40 | MemoryAllocationLib\r | |
41 | PcdLib\r | |
42 | \r | |
43 | [Pcd]\r | |
44 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES\r |