]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf
CryptoPkg/Library/BaseCryptLib: Add missing UNI file and fix format
[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 MODULE_UNI_FILE = SecCryptLib.uni
18 FILE_GUID = 3689D343-0D32-4284-8053-BF10537990E8
19 MODULE_TYPE = BASE
20 VERSION_STRING = 1.0
21 LIBRARY_CLASS = BaseCryptLib|SEC
22
23 #
24 # The following information is for reference only and not required by the build tools.
25 #
26 # VALID_ARCHITECTURES = IA32 X64
27 #
28
29 [Sources]
30 InternalCryptLib.h
31 Hash/CryptSha512.c
32
33 Hash/CryptMd5Null.c
34 Hash/CryptSha1Null.c
35 Hash/CryptSha256Null.c
36 Hash/CryptSm3Null.c
37 Hash/CryptParallelHashNull.c
38 Hmac/CryptHmacNull.c
39 Kdf/CryptHkdfNull.c
40 Cipher/CryptAesNull.c
41 Pk/CryptRsaBasicNull.c
42 Pk/CryptRsaExtNull.c
43 Pk/CryptPkcs1OaepNull.c
44 Pk/CryptPkcs5Pbkdf2Null.c
45 Pk/CryptPkcs7SignNull.c
46 Pk/CryptPkcs7VerifyNull.c
47 Pk/CryptPkcs7VerifyEkuNull.c
48 Pk/CryptDhNull.c
49 Pk/CryptX509Null.c
50 Pk/CryptAuthenticodeNull.c
51 Pk/CryptTsNull.c
52 Pem/CryptPemNull.c
53 Rand/CryptRandNull.c
54 Pk/CryptRsaPssNull.c
55 Pk/CryptRsaPssSignNull.c
56
57 SysCall/CrtWrapper.c
58 SysCall/ConstantTimeClock.c
59 SysCall/BaseMemAllocation.c
60
61 [Packages]
62 MdePkg/MdePkg.dec
63 CryptoPkg/CryptoPkg.dec
64
65 [LibraryClasses]
66 BaseLib
67 BaseMemoryLib
68 MemoryAllocationLib
69 DebugLib
70 OpensslLib
71 IntrinsicLib
72
73 #
74 # Remove these [BuildOptions] after this library is cleaned up
75 #
76 [BuildOptions]
77 #
78 # suppress the following warnings so we do not break the build with warnings-as-errors:
79 # C4090: 'function' : different 'const' qualifiers
80 # C4718: 'function call' : recursive call has no side effects, deleting
81 #
82 MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4718
83
84 # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT
85 # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"
86 RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1
87
88 GCC:*_CLANG35_*_CC_FLAGS = -std=c99
89 GCC:*_CLANG38_*_CC_FLAGS = -std=c99
90 GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types
91
92 XCODE:*_*_*_CC_FLAGS = -std=c99