]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
CryptoPkg: Add extra build option to disable VS build warning
[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 - 2017, Intel Corporation. All rights reserved.<BR>\r
10# This program and the accompanying materials\r
11# are licensed and made available under the terms and conditions of the BSD License\r
12# which accompanies this distribution. The full text of the license may be found at\r
13# http://opensource.org/licenses/bsd-license.php\r
14#\r
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17#\r
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = BaseCryptLib\r
23 MODULE_UNI_FILE = BaseCryptLib.uni\r
24 FILE_GUID = be3bb803-91b6-4da0-bd91-a8b21c18ca5d\r
25 MODULE_TYPE = DXE_DRIVER\r
26 VERSION_STRING = 1.0\r
27 LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER\r
28\r
29#\r
30# The following information is for reference only and not required by the build tools.\r
31#\r
32# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64\r
33#\r
34\r
35[Sources]\r
36 InternalCryptLib.h\r
37 Hash/CryptMd4.c\r
38 Hash/CryptMd5.c\r
39 Hash/CryptSha1.c\r
40 Hash/CryptSha256.c\r
41 Hash/CryptSha512.c\r
42 Hmac/CryptHmacMd5.c\r
43 Hmac/CryptHmacSha1.c\r
44 Hmac/CryptHmacSha256.c\r
45 Cipher/CryptAes.c\r
46 Cipher/CryptTdes.c\r
47 Cipher/CryptArc4.c\r
48 Pk/CryptRsaBasic.c\r
49 Pk/CryptRsaExt.c\r
50 Pk/CryptPkcs5Pbkdf2.c\r
51 Pk/CryptPkcs7Sign.c\r
52 Pk/CryptPkcs7Verify.c\r
53 Pk/CryptDh.c\r
54 Pk/CryptX509.c\r
55 Pk/CryptAuthenticode.c\r
56 Pk/CryptTs.c\r
57 Pem/CryptPem.c\r
58\r
59 SysCall/CrtWrapper.c\r
60 SysCall/TimerWrapper.c\r
61 SysCall/BaseMemAllocation.c\r
62\r
63[Sources.Ia32]\r
64 Rand/CryptRandTsc.c\r
65\r
66[Sources.X64]\r
67 Rand/CryptRandTsc.c\r
68\r
69[Sources.IPF]\r
70 Rand/CryptRandItc.c\r
71\r
72[Sources.ARM]\r
73 Rand/CryptRand.c\r
74\r
75[Sources.AARCH64]\r
76 Rand/CryptRand.c\r
77\r
78[Packages]\r
79 MdePkg/MdePkg.dec\r
80 CryptoPkg/CryptoPkg.dec\r
81\r
82[LibraryClasses]\r
83 BaseLib\r
84 BaseMemoryLib\r
85 MemoryAllocationLib\r
86 UefiRuntimeServicesTableLib\r
87 DebugLib\r
88 OpensslLib\r
89 IntrinsicLib\r
90 PrintLib\r
91\r
92#\r
93# Remove these [BuildOptions] after this library is cleaned up\r
94#\r
95[BuildOptions]\r
96 #\r
97 # suppress the following warnings so we do not break the build with warnings-as-errors:\r
98 # C4090: 'function' : different 'const' qualifiers\r
99 #\r
100 MSFT:*_*_*_CC_FLAGS = /wd4090\r
101\r
102 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r
103\r
104 # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
105 # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"\r
106 RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r