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, Intel Corporation. All rights reserved.<BR> 8# This program and the accompanying materials 9# are licensed and made available under the terms and conditions of the BSD License 10# which accompanies this distribution. The full text of the license may be found at 11# http://opensource.org/licenses/bsd-license.php 12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 14# 15## 16 17[Defines] 18 INF_VERSION = 0x00010005 19 BASE_NAME = HashLibTpm2 20 MODULE_UNI_FILE = HashLibTpm2.uni 21 FILE_GUID = 1317F0D5-7842-475c-B1CA-6EDC20DCBE7D 22 MODULE_TYPE = BASE 23 VERSION_STRING = 1.0 24 LIBRARY_CLASS = HashLib 25 26# 27# The following information is for reference only and not required by the build tools. 28# 29# VALID_ARCHITECTURES = IA32 X64 IPF 30# 31 32[Sources] 33 HashLibTpm2.c 34 35[Packages] 36 MdePkg/MdePkg.dec 37 SecurityPkg/SecurityPkg.dec 38 CryptoPkg/CryptoPkg.dec 39 40[LibraryClasses] 41 BaseLib 42 BaseMemoryLib 43 DebugLib 44 Tpm2CommandLib 45 MemoryAllocationLib 46 PcdLib 47 48[Pcd] 49 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES 50