]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
CryptoPkg/BaseCryptLib: Add PKCS1v2 (RSAES-OAEP) support.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / PeiCryptLib.inf
... / ...
CommitLineData
1## @file\r
2# Cryptographic Library Instance for PEIM.\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# Note: MD4 Digest functions,\r
10# HMAC-MD5 functions, HMAC-SHA1/SHA256 functions, AES/TDES/ARC4 functions, RSA external\r
11# functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, X.509\r
12# certificate handler functions, authenticode signature verification functions,\r
13# PEM handler functions, and pseudorandom number generator functions are not\r
14# supported in this instance.\r
15#\r
16# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>\r
17# SPDX-License-Identifier: BSD-2-Clause-Patent\r
18\r
19#\r
20##\r
21\r
22[Defines]\r
23 INF_VERSION = 0x00010005\r
24 BASE_NAME = PeiCryptLib\r
25 MODULE_UNI_FILE = PeiCryptLib.uni\r
26 FILE_GUID = 9a2a4375-194c-4e97-9f67-547ec98d96ca\r
27 MODULE_TYPE = PEIM\r
28 VERSION_STRING = 1.0\r
29 LIBRARY_CLASS = BaseCryptLib|PEIM PEI_CORE\r
30\r
31#\r
32# The following information is for reference only and not required by the build tools.\r
33#\r
34# VALID_ARCHITECTURES = IA32 X64\r
35#\r
36\r
37[Sources]\r
38 Hash/CryptMd4Null.c\r
39 Hash/CryptMd5.c\r
40 Hash/CryptSha1.c\r
41 Hash/CryptSha256.c\r
42 Hash/CryptSha512.c\r
43 Hmac/CryptHmacMd5Null.c\r
44 Hmac/CryptHmacSha1Null.c\r
45 Hmac/CryptHmacSha256Null.c\r
46 Cipher/CryptAesNull.c\r
47 Cipher/CryptTdesNull.c\r
48 Cipher/CryptArc4Null.c\r
49\r
50 Pk/CryptRsaBasic.c\r
51 Pk/CryptRsaExtNull.c\r
52 Pk/CryptPkcs1OaepNull.c\r
53 Pk/CryptPkcs5Pbkdf2Null.c\r
54 Pk/CryptPkcs7SignNull.c\r
55 Pk/CryptPkcs7VerifyCommon.c\r
56 Pk/CryptPkcs7VerifyBase.c\r
57 Pk/CryptPkcs7VerifyEku.c\r
58\r
59 Pk/CryptDhNull.c\r
60 Pk/CryptX509Null.c\r
61 Pk/CryptAuthenticodeNull.c\r
62 Pk/CryptTsNull.c\r
63 Pem/CryptPemNull.c\r
64\r
65 Rand/CryptRandNull.c\r
66\r
67 SysCall/CrtWrapper.c\r
68 SysCall/ConstantTimeClock.c\r
69 SysCall/BaseMemAllocation.c\r
70\r
71[Packages]\r
72 MdePkg/MdePkg.dec\r
73 CryptoPkg/CryptoPkg.dec\r
74\r
75[LibraryClasses]\r
76 BaseLib\r
77 BaseMemoryLib\r
78 MemoryAllocationLib\r
79 DebugLib\r
80 OpensslLib\r
81 IntrinsicLib\r
82\r
83#\r
84# Remove these [BuildOptions] after this library is cleaned up\r
85#\r
86[BuildOptions]\r
87 #\r
88 # suppress the following warnings so we do not break the build with warnings-as-errors:\r
89 # C4090: 'function' : different 'const' qualifiers\r
90 # C4718: 'function call' : recursive call has no side effects, deleting\r
91 #\r
92 MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4718\r
93\r
94 # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT\r
95 # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"\r
96 RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1\r