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