• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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                      = HashLibBaseCryptoRouterPei
21  MODULE_UNI_FILE                = HashLibBaseCryptoRouterPei.uni
22  FILE_GUID                      = DDCBCFBA-8EEB-488a-96D6-097831A6E50B
23  MODULE_TYPE                    = PEIM
24  VERSION_STRING                 = 1.0
25  LIBRARY_CLASS                  = HashLib|PEIM
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  HashLibBaseCryptoRouterPei.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  HobLib
50
51[Pcd]
52  gEfiSecurityPkgTokenSpaceGuid.PcdTpm2HashMask             ## CONSUMES
53  ## SOMETIMES_CONSUMES
54  ## SOMETIMES_PRODUCES
55  gEfiSecurityPkgTokenSpaceGuid.PcdTcg2HashAlgorithmBitmap
56
57