]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseHashApiLib/BaseHashApiLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / CryptoPkg / Library / BaseHashApiLib / BaseHashApiLib.inf
1 ## @file
2 # Provides Unified API for Hash Calculation
3 #
4 # This library is BaseHashApiLib. It will redirect hash request to
5 # each individual hash API, such as SHA1, SHA256, SHA384, SM3 based
6 # on hashing algorithm specified by PcdHashApiLibPolicy.
7 #
8 # Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
9 # SPDX-License-Identifier: BSD-2-Clause-Patent
10 #
11 ##
12
13 [Defines]
14 INF_VERSION = 0x00010005
15 BASE_NAME = BaseHashApiLib
16 MODULE_UNI_FILE = BaseHashApiLib.uni
17 FILE_GUID = B1E566DD-DE7C-4F04-BDA0-B1295D3BE927
18 MODULE_TYPE = BASE
19 VERSION_STRING = 1.0
20 LIBRARY_CLASS = HashApiLib
21
22 #
23 # The following information is for reference only and not required by the build tools.
24 #
25 # VALID_ARCHITECTURES = IA32 X64
26 #
27
28 [Sources]
29 BaseHashApiLib.c
30
31 [Packages]
32 MdePkg/MdePkg.dec
33 CryptoPkg/CryptoPkg.dec
34
35 [LibraryClasses]
36 BaseLib
37 BaseMemoryLib
38 DebugLib
39 MemoryAllocationLib
40 BaseCryptLib
41 PcdLib
42
43 [Pcd]
44 gEfiCryptoPkgTokenSpaceGuid.PcdHashApiLibPolicy ## CONSUMES