1## @file 2# Provides hash service by registered hash handler 3# 4# This library is BaseCrypto router. It will redirect hash request to each individual 5# hash handler registered, such as SHA1, SHA256. Platform can use PcdTpm2HashMask to 6# mask some hash engines. 7# 8# Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR> 9# This program and the accompanying materials 10# are licensed and made available under the terms and conditions of the BSD License 11# which accompanies this distribution. The full text of the license may be found at 12# http://opensource.org/licenses/bsd-license.php 13# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 14# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 15# 16## 17 18[Defines] 19 INF_VERSION = 0x00010005 20 BASE_NAME = HashLibBaseCryptoRouterDxe 21 MODULE_UNI_FILE = HashLibBaseCryptoRouterDxe.uni 22 FILE_GUID = 158DC712-F15A-44dc-93BB-1675045BE066 23 MODULE_TYPE = DXE_DRIVER 24 VERSION_STRING = 1.0 25 LIBRARY_CLASS = HashLib|DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER 26 27# 28# The following information is for reference only and not required by the build tools. 29# 30# VALID_ARCHITECTURES = IA32 X64 IPF 31# 32 33[Sources] 34 HashLibBaseCryptoRouterCommon.h 35 HashLibBaseCryptoRouterCommon.c 36 HashLibBaseCryptoRouterDxe.c 37 38[Packages] 39 MdePkg/MdePkg.dec 40 SecurityPkg/SecurityPkg.dec 41 42[LibraryClasses] 43 BaseLib 44 BaseMemoryLib 45 DebugLib 46 Tpm2CommandLib 47 MemoryAllocationLib 48 PcdLib 49 50[Pcd] 51 gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask ## CONSUMES 52 ## SOMETIMES_CONSUMES 53 ## SOMETIMES_PRODUCES 54 gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap 55 56