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