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