]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
CryptoPkg/OpensslLib: Commit the auto-generated assembly files for IA32
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SecCryptLib.inf
1 ## @file
2 # Cryptographic Library Instance for SEC.
3 #
4 # Caution: This module requires additional review when modified.
5 # This library will have external input - signature.
6 # This external input must be validated carefully to avoid security issues such as
7 # buffer overflow or integer overflow.
8 #
9 # Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
10 # SPDX-License-Identifier: BSD-2-Clause-Patent
11 #
12 ##
13
14 [Defines]
15 INF_VERSION = 0x00010005
16 BASE_NAME = SecCryptLib
17 FILE_GUID = 3689D343-0D32-4284-8053-BF10537990E8
18 MODULE_TYPE = BASE
19 VERSION_STRING = 1.0
20 LIBRARY_CLASS = BaseCryptLib|SEC
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 InternalCryptLib.h
30 Hash/CryptSha512.c
31
32 Hash/CryptMd5Null.c
33 Hash/CryptSha1Null.c
34 Hash/CryptSha256Null.c
35 Hash/CryptSm3Null.c
36 Hash/CryptParallelHashNull.c
37 Hmac/CryptHmacNull.c
38 Kdf/CryptHkdfNull.c
39 Cipher/CryptAesNull.c
40 Pk/CryptRsaBasicNull.c
41 Pk/CryptRsaExtNull.c
42 Pk/CryptPkcs1OaepNull.c
43 Pk/CryptPkcs5Pbkdf2Null.c
44 Pk/CryptPkcs7SignNull.c
45 Pk/CryptPkcs7VerifyNull.c
46 Pk/CryptPkcs7VerifyEkuNull.c
47 Pk/CryptDhNull.c
48 Pk/CryptX509Null.c
49 Pk/CryptAuthenticodeNull.c
50 Pk/CryptTsNull.c
51 Pem/CryptPemNull.c
52 Rand/CryptRandNull.c
53 Pk/CryptRsaPssNull.c
54 Pk/CryptRsaPssSignNull.c
55
56 SysCall/CrtWrapper.c
57 SysCall/ConstantTimeClock.c
58 SysCall/BaseMemAllocation.c
59
60 [Packages]
61 MdePkg/MdePkg.dec
62 CryptoPkg/CryptoPkg.dec
63
64 [LibraryClasses]
65 BaseLib
66 BaseMemoryLib
67 MemoryAllocationLib
68 DebugLib
69 OpensslLib
70 IntrinsicLib
71
72 #
73 # Remove these [BuildOptions] after this library is cleaned up
74 #
75 [BuildOptions]
76 #
77 # suppress the following warnings so we do not break the build with warnings-as-errors:
78 # C4090: 'function' : different 'const' qualifiers
79 # C4718: 'function call' : recursive call has no side effects, deleting
80 #
81 MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4718
82
83 # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT
84 # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"
85 RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1
86
87 GCC:*_CLANG35_*_CC_FLAGS = -std=c99
88 GCC:*_CLANG38_*_CC_FLAGS = -std=c99
89 GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types
90
91 XCODE:*_*_*_CC_FLAGS = -std=c99