]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / BaseCryptLib.inf
... / ...
CommitLineData
1## @file\r
2# Cryptographic Library Instance for DXE_DRIVER.\r
3#\r
4# Caution: This module requires additional review when modified.\r
5# This library will have external input - signature.\r
6# This external input must be validated carefully to avoid security issues such as\r
7# buffer overflow or integer overflow.\r
8#\r
9# Copyright (c) 2009 - 2022, Intel Corporation. All rights reserved.<BR>\r
10# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
11# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>\r
12# SPDX-License-Identifier: BSD-2-Clause-Patent\r
13#\r
14##\r
15\r
16[Defines]\r
17 INF_VERSION = 0x00010005\r
18 BASE_NAME = BaseCryptLib\r
19 MODULE_UNI_FILE = BaseCryptLib.uni\r
20 FILE_GUID = be3bb803-91b6-4da0-bd91-a8b21c18ca5d\r
21 MODULE_TYPE = DXE_DRIVER\r
22 VERSION_STRING = 1.0\r
23 LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER\r
24\r
25#\r
26# The following information is for reference only and not required by the build tools.\r
27#\r
28# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64 RISCV64 LOONGARCH64\r
29#\r
30\r
31[Sources]\r
32 InternalCryptLib.h\r
33 Hash/CryptMd5.c\r
34 Hash/CryptSha1.c\r
35 Hash/CryptSha256.c\r
36 Hash/CryptSha512.c\r
37 Hash/CryptSm3.c\r
38 Hash/CryptSha3.c\r
39 Hash/CryptXkcp.c\r
40 Hash/CryptCShake256.c\r
41 Hash/CryptParallelHash.c\r
42 Hash/CryptDispatchApDxe.c\r
43 Hmac/CryptHmac.c\r
44 Kdf/CryptHkdf.c\r
45 Cipher/CryptAes.c\r
46 Cipher/CryptAeadAesGcm.c\r
47 Pk/CryptRsaBasic.c\r
48 Pk/CryptRsaExt.c\r
49 Pk/CryptPkcs1Oaep.c\r
50 Pk/CryptPkcs5Pbkdf2.c\r
51 Pk/CryptPkcs7Sign.c\r
52 Pk/CryptPkcs7VerifyCommon.c\r
53 Pk/CryptPkcs7VerifyBase.c\r
54 Pk/CryptPkcs7VerifyEku.c\r
55 Pk/CryptDh.c\r
56 Pk/CryptX509.c\r
57 Pk/CryptAuthenticode.c\r
58 Pk/CryptTs.c\r
59 Pk/CryptRsaPss.c\r
60 Pk/CryptRsaPssSign.c\r
61 Pk/CryptEc.c\r
62 Pem/CryptPem.c\r
63 Bn/CryptBn.c\r
64\r
65 SysCall/CrtWrapper.c\r
66 SysCall/TimerWrapper.c\r
67 SysCall/BaseMemAllocation.c\r
68\r
69[Sources.Ia32]\r
70 Rand/CryptRandTsc.c\r
71\r
72[Sources.X64]\r
73 Rand/CryptRandTsc.c\r
74\r
75[Sources.ARM]\r
76 Rand/CryptRand.c\r
77\r
78[Sources.AARCH64]\r
79 Rand/CryptRand.c\r
80\r
81[Sources.RISCV64]\r
82 Rand/CryptRand.c\r
83\r
84[Sources.LOONGARCH64]\r
85 Rand/CryptRand.c\r
86\r
87[Packages]\r
88 MdePkg/MdePkg.dec\r
89 CryptoPkg/CryptoPkg.dec\r
90\r
91[LibraryClasses]\r
92 BaseLib\r
93 BaseMemoryLib\r
94 MemoryAllocationLib\r
95 UefiRuntimeServicesTableLib\r
96 DebugLib\r
97 OpensslLib\r
98 IntrinsicLib\r
99 PrintLib\r
100 UefiBootServicesTableLib\r
101 SynchronizationLib\r
102\r
103[Protocols]\r
104 gEfiMpServiceProtocolGuid\r
105\r
106#\r
107# Remove these [BuildOptions] after this library is cleaned up\r
108#\r
109[BuildOptions]\r
110 #\r
111 # suppress the following warnings so we do not break the build with warnings-as-errors:\r
112 #\r
113 GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
114 GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
115 GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
116\r
117 XCODE:*_*_*_CC_FLAGS = -std=c99\r