]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
CryptoPkg/Crt: satisfy "inet_pton.c" dependencies (CVE-2019-14553)
[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 - 2019, Intel Corporation. All rights reserved.<BR>\r
10# SPDX-License-Identifier: BSD-2-Clause-Patent\r
11#\r
12##\r
13\r
14[Defines]\r
15 INF_VERSION = 0x00010005\r
16 BASE_NAME = BaseCryptLib\r
17 MODULE_UNI_FILE = BaseCryptLib.uni\r
18 FILE_GUID = be3bb803-91b6-4da0-bd91-a8b21c18ca5d\r
19 MODULE_TYPE = DXE_DRIVER\r
20 VERSION_STRING = 1.0\r
21 LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER\r
22\r
23#\r
24# The following information is for reference only and not required by the build tools.\r
25#\r
26# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64\r
27#\r
28\r
29[Sources]\r
30 InternalCryptLib.h\r
31 Hash/CryptMd4.c\r
32 Hash/CryptMd5.c\r
33 Hash/CryptSha1.c\r
34 Hash/CryptSha256.c\r
35 Hash/CryptSha512.c\r
36 Hash/CryptSm3.c\r
37 Hmac/CryptHmacMd5.c\r
38 Hmac/CryptHmacSha1.c\r
39 Hmac/CryptHmacSha256.c\r
40 Kdf/CryptHkdf.c\r
41 Cipher/CryptAes.c\r
42 Cipher/CryptTdes.c\r
43 Cipher/CryptArc4.c\r
44 Pk/CryptRsaBasic.c\r
45 Pk/CryptRsaExt.c\r
46 Pk/CryptPkcs1Oaep.c\r
47 Pk/CryptPkcs5Pbkdf2.c\r
48 Pk/CryptPkcs7Sign.c\r
49 Pk/CryptPkcs7VerifyCommon.c\r
50 Pk/CryptPkcs7VerifyBase.c\r
51 Pk/CryptPkcs7VerifyEku.c\r
52 Pk/CryptDh.c\r
53 Pk/CryptX509.c\r
54 Pk/CryptAuthenticode.c\r
55 Pk/CryptTs.c\r
56 Pem/CryptPem.c\r
57\r
58 SysCall/CrtWrapper.c\r
59 SysCall/TimerWrapper.c\r
60 SysCall/BaseMemAllocation.c\r
61\r
62[Sources.Ia32]\r
63 Rand/CryptRandTsc.c\r
64\r
65[Sources.X64]\r
66 Rand/CryptRandTsc.c\r
67\r
68[Sources.ARM]\r
69 Rand/CryptRand.c\r
70\r
71[Sources.AARCH64]\r
72 Rand/CryptRand.c\r
73\r
74[Packages]\r
75 MdePkg/MdePkg.dec\r
76 CryptoPkg/CryptoPkg.dec\r
77\r
78[LibraryClasses]\r
79 BaseLib\r
80 BaseMemoryLib\r
81 MemoryAllocationLib\r
82 UefiRuntimeServicesTableLib\r
83 DebugLib\r
84 OpensslLib\r
85 IntrinsicLib\r
86 PrintLib\r
87\r
88#\r
89# Remove these [BuildOptions] after this library is cleaned up\r
90#\r
91[BuildOptions]\r
92 #\r
93 # suppress the following warnings so we do not break the build with warnings-as-errors:\r
94 # C4090: 'function' : different 'const' qualifiers\r
95 #\r
96 MSFT:*_*_*_CC_FLAGS = /wd4090\r
97\r
98 # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
99 # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"\r
100 RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r
101\r
102 GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
103 GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
104 GCC:*_CLANG9_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r
105\r
106 XCODE:*_*_*_CC_FLAGS = -std=c99\r