]>
Commit | Line | Data |
---|---|---|
c1d93242 | 1 | ## @file\r |
60c944c7 | 2 | # Provides hash service using TPM2 device\r |
c1d93242 | 3 | #\r |
b3548d32 | 4 | # This library uses TPM2 device to calculate hash. Platform can use PcdTpm2HashMask to\r |
60c944c7 DG |
5 | # mask some hash calculation.\r |
6 | #\r | |
b3548d32 | 7 | # Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r |
c1d93242 JY |
8 | # This program and the accompanying materials\r |
9 | # are licensed and made available under the terms and conditions of the BSD License\r | |
10 | # which accompanies this distribution. The full text of the license may be found at\r | |
11 | # http://opensource.org/licenses/bsd-license.php\r | |
12 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
13 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | #\r | |
15 | ##\r | |
16 | \r | |
17 | [Defines]\r | |
18 | INF_VERSION = 0x00010005\r | |
19 | BASE_NAME = HashLibTpm2\r | |
60c944c7 | 20 | MODULE_UNI_FILE = HashLibTpm2.uni\r |
c1d93242 JY |
21 | FILE_GUID = 1317F0D5-7842-475c-B1CA-6EDC20DCBE7D\r |
22 | MODULE_TYPE = BASE\r | |
23 | VERSION_STRING = 1.0\r | |
22f89647 | 24 | LIBRARY_CLASS = HashLib\r |
c1d93242 JY |
25 | \r |
26 | #\r | |
27 | # The following information is for reference only and not required by the build tools.\r | |
28 | #\r | |
4cecd19a | 29 | # VALID_ARCHITECTURES = IA32 X64\r |
c1d93242 JY |
30 | #\r |
31 | \r | |
32 | [Sources]\r | |
33 | HashLibTpm2.c\r | |
34 | \r | |
35 | [Packages]\r | |
36 | MdePkg/MdePkg.dec\r | |
37 | SecurityPkg/SecurityPkg.dec\r | |
38 | CryptoPkg/CryptoPkg.dec\r | |
39 | \r | |
40 | [LibraryClasses]\r | |
41 | BaseLib\r | |
42 | BaseMemoryLib\r | |
43 | DebugLib\r | |
44 | Tpm2CommandLib\r | |
45 | MemoryAllocationLib\r | |
46 | PcdLib\r | |
47 | \r | |
48 | [Pcd]\r | |
60c944c7 | 49 | gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES\r |