]>
Commit | Line | Data |
---|---|---|
a8c44645 | 1 | ## @file\r |
2 | # Cryptographic Library Instance for SMM driver.\r | |
3 | #\r | |
38fcd027 | 4 | # This library instance uses ConstantTimeClock.c thus does not provide\r |
5 | # functionality for following APIs which need system time support:\r | |
6 | # 1) RsaGenerateKey\r | |
7 | # 2) RsaCheckKey\r | |
8 | # 3) RsaPkcs1Sign\r | |
9 | # 4) Pkcs7Sign\r | |
10 | # 5) DhGenerateParameter\r | |
11 | # 6) DhGenerateKey\r | |
12 | #\r | |
e8b4eb04 | 13 | # Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>\r |
a8c44645 | 14 | # This program and the accompanying materials\r |
15 | # are licensed and made available under the terms and conditions of the BSD License\r | |
16 | # which accompanies this distribution. The full text of the license may be found at\r | |
17 | # http://opensource.org/licenses/bsd-license.php\r | |
18 | # \r | |
19 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
20 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
21 | # \r | |
22 | ##\r | |
23 | \r | |
24 | [Defines]\r | |
25 | INF_VERSION = 0x00010005\r | |
26 | BASE_NAME = SmmCryptLib\r | |
27 | FILE_GUID = 028080a3-8958-4a62-a1a8-0fa1da162007\r | |
28 | MODULE_TYPE = DXE_SMM_DRIVER\r | |
29 | VERSION_STRING = 1.0\r | |
b7d320f8 | 30 | PI_SPECIFICATION_VERSION = 0x0001000A\r |
a8c44645 | 31 | LIBRARY_CLASS = BaseCryptLib|DXE_SMM_DRIVER SMM_CORE\r |
32 | \r | |
33 | #\r | |
34 | # The following information is for reference only and not required by the build tools.\r | |
35 | #\r | |
36 | # VALID_ARCHITECTURES = IA32 X64\r | |
37 | #\r | |
38 | \r | |
39 | [Sources]\r | |
40 | Hash/CryptMd5.c\r | |
41 | Hash/CryptSha1.c\r | |
42 | Hash/CryptSha256.c\r | |
43 | Pk/CryptRsa.c\r | |
44 | Pk/CryptPkcs7.c\r | |
e8b4eb04 | 45 | Pk/CryptX509.c\r |
b7d320f8 | 46 | Pem/CryptPem.c\r |
a8c44645 | 47 | \r |
48 | SysCall/CrtWrapper.c\r | |
38fcd027 | 49 | SysCall/ConstantTimeClock.c\r |
a8c44645 | 50 | SysCall/BaseMemAllocation.c\r |
51 | \r | |
52 | [Sources.Ia32]\r | |
a8c44645 | 53 | SysCall/Ia32/MathMultS64x64.c | MSFT\r |
54 | SysCall/Ia32/MathDivU64x64.c | MSFT\r | |
55 | SysCall/Ia32/MathReminderU64x64.c | MSFT\r | |
56 | SysCall/Ia32/MathLShiftS64.c | MSFT\r | |
57 | SysCall/Ia32/MathRShiftU64.c | MSFT\r | |
58 | \r | |
59 | SysCall/Ia32/MathMultS64x64.c | INTEL\r | |
60 | SysCall/Ia32/MathDivU64x64.c | INTEL\r | |
61 | SysCall/Ia32/MathReminderU64x64.c | INTEL\r | |
62 | SysCall/Ia32/MathLShiftS64.c | INTEL\r | |
63 | SysCall/Ia32/MathRShiftU64.c | INTEL\r | |
64 | \r | |
65 | SysCall/Ia32/MathMultS64x64.S | GCC\r | |
66 | SysCall/Ia32/MathDivU64x64.S | GCC\r | |
67 | SysCall/Ia32/MathReminderU64x64.S | GCC\r | |
68 | SysCall/Ia32/MathLShiftS64.S | GCC\r | |
69 | SysCall/Ia32/MathRShiftU64.S | GCC\r | |
70 | \r | |
7ce960e7 | 71 | Rand/CryptRandTsc.c\r |
72 | \r | |
73 | [Sources.X64]\r | |
74 | Rand/CryptRandTsc.c\r | |
75 | \r | |
76 | [Sources.IPF]\r | |
77 | Rand/CryptRandItc.c\r | |
78 | \r | |
79 | [Sources.ARM]\r | |
80 | Rand/CryptRand.c\r | |
81 | \r | |
a8c44645 | 82 | [Packages]\r |
83 | MdePkg/MdePkg.dec\r | |
84 | CryptoPkg/CryptoPkg.dec\r | |
85 | \r | |
86 | [LibraryClasses]\r | |
87 | BaseLib\r | |
88 | IoLib\r | |
89 | BaseMemoryLib\r | |
90 | MemoryAllocationLib\r | |
91 | OpensslLib\r | |
92 | IntrinsicLib\r | |
7ce960e7 | 93 | PrintLib\r |
a8c44645 | 94 | \r |
95 | #\r | |
96 | # Remove these [BuildOptions] after this library is cleaned up\r | |
97 | #\r | |
98 | [BuildOptions]\r | |
99 | GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r | |
100 | \r |