]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
BaseTools: Fix a cleanall issue.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / PeiCryptLib.inf
CommitLineData
97f98500
HT
1## @file\r
2# Cryptographic Library Instance for PEIM.\r
3#\r
dc204d5a
JY
4# Caution: This module requires additional review when modified.\r
5# This library will have external input - signature.\r
dda856b3
DG
6# This external input must be validated carefully to avoid security issues such as \r
7# buffer overflow or integer overflow.\r
dc204d5a 8#\r
532616bb 9# Note: MD4 Digest functions, HMAC-MD5 functions, HMAC-SHA1 functions, AES/\r
10# TDES/ARC4 functions, RSA external functions, PKCS#7 SignedData sign functions,\r
11# Diffie-Hellman functions, X.509 certificate handler functions, authenticode\r
dda856b3 12# signature verification functions, PEM handler functions, and pseudorandom number\r
532616bb 13# generator functions are not supported in this instance.\r
14#\r
dda856b3 15# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
97f98500
HT
16# This program and the accompanying materials\r
17# are licensed and made available under the terms and conditions of the BSD License\r
18# which accompanies this distribution. The full text of the license may be found at\r
19# http://opensource.org/licenses/bsd-license.php\r
20# \r
21# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
22# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
23# \r
24##\r
25\r
26[Defines]\r
27 INF_VERSION = 0x00010005\r
28 BASE_NAME = PeiCryptLib\r
dda856b3 29 MODULE_UNI_FILE = PeiCryptLib.uni\r
97f98500
HT
30 FILE_GUID = 9a2a4375-194c-4e97-9f67-547ec98d96ca\r
31 MODULE_TYPE = PEIM\r
32 VERSION_STRING = 1.0\r
532616bb 33 LIBRARY_CLASS = BaseCryptLib|PEIM PEI_CORE\r
97f98500
HT
34\r
35#\r
36# The following information is for reference only and not required by the build tools.\r
37#\r
38# VALID_ARCHITECTURES = IA32 X64\r
39#\r
40\r
41[Sources]\r
532616bb 42 Hash/CryptMd4Null.c\r
97f98500
HT
43 Hash/CryptMd5.c\r
44 Hash/CryptSha1.c\r
45 Hash/CryptSha256.c\r
532616bb 46 Hmac/CryptHmacMd5Null.c\r
47 Hmac/CryptHmacSha1Null.c\r
48 Cipher/CryptAesNull.c\r
49 Cipher/CryptTdesNull.c\r
50 Cipher/CryptArc4Null.c\r
51\r
52 Pk/CryptRsaBasic.c\r
53 Pk/CryptRsaExtNull.c\r
54 Pk/CryptPkcs7SignNull.c\r
55 Pk/CryptPkcs7Verify.c\r
56\r
57 Pk/CryptDhNull.c\r
58 Pk/CryptX509Null.c\r
59 Pk/CryptAuthenticodeNull.c\r
60 Pem/CryptPemNull.c\r
61\r
62 Rand/CryptRandNull.c\r
97f98500
HT
63\r
64 SysCall/CrtWrapper.c\r
efad60c5 65 SysCall/ConstantTimeClock.c\r
97f98500
HT
66 SysCall/BaseMemAllocation.c\r
67\r
532616bb 68\r
97f98500
HT
69[Sources.Ia32]\r
70 SysCall/Ia32/MathMultS64x64.c | MSFT\r
71 SysCall/Ia32/MathDivU64x64.c | MSFT\r
72 SysCall/Ia32/MathReminderU64x64.c | MSFT\r
73 SysCall/Ia32/MathLShiftS64.c | MSFT\r
74 SysCall/Ia32/MathRShiftU64.c | MSFT\r
75\r
76 SysCall/Ia32/MathMultS64x64.c | INTEL\r
77 SysCall/Ia32/MathDivU64x64.c | INTEL\r
78 SysCall/Ia32/MathReminderU64x64.c | INTEL\r
79 SysCall/Ia32/MathLShiftS64.c | INTEL\r
80 SysCall/Ia32/MathRShiftU64.c | INTEL\r
81\r
82 SysCall/Ia32/MathMultS64x64.S | GCC\r
83 SysCall/Ia32/MathDivU64x64.S | GCC\r
84 SysCall/Ia32/MathReminderU64x64.S | GCC\r
85 SysCall/Ia32/MathLShiftS64.S | GCC\r
86 SysCall/Ia32/MathRShiftU64.S | GCC\r
87\r
97f98500
HT
88[Packages]\r
89 MdePkg/MdePkg.dec\r
90 CryptoPkg/CryptoPkg.dec\r
91\r
92[LibraryClasses]\r
93 BaseLib\r
94 BaseMemoryLib\r
95 MemoryAllocationLib\r
96 DebugLib\r
97 OpensslLib\r
98 IntrinsicLib\r
99\r
100#\r
101# Remove these [BuildOptions] after this library is cleaned up\r
102#\r
103[BuildOptions]\r
104 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r
105 \r