]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
To follow UEFI spec, update the code to make correct check to support multiple _ADR...
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / RuntimeCryptLib.inf
CommitLineData
97f98500
HT
1## @file\r
2# Cryptographic Library Instance for DXE_RUNTIME_DRIVER\r
3#\r
dc204d5a
JY
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 issue like\r
7# buffer overflow, integer overflow.\r
8#\r
e8b4eb04 9# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>\r
97f98500
HT
10# This program and the accompanying materials\r
11# are licensed and made available under the terms and conditions of the BSD License\r
12# which accompanies this distribution. The full text of the license may be found at\r
13# http://opensource.org/licenses/bsd-license.php\r
14# \r
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
17# \r
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = RuntimeCryptLib\r
23 FILE_GUID = 78189cc0-727d-46a4-84ea-f7dd860de64a\r
24 MODULE_TYPE = DXE_RUNTIME_DRIVER\r
25 VERSION_STRING = 1.0\r
26 LIBRARY_CLASS = BaseCryptLib\r
27 CONSTRUCTOR = RuntimeCryptLibConstructor\r
28\r
29#\r
30# The following information is for reference only and not required by the build tools.\r
31#\r
b7d320f8 32# VALID_ARCHITECTURES = IA32 X64 IPF ARM\r
97f98500
HT
33#\r
34\r
35[Sources]\r
36 Hash/CryptMd5.c\r
37 Hash/CryptSha1.c\r
38 Hash/CryptSha256.c\r
39 Pk/CryptRsa.c\r
b7d320f8 40 Pk/CryptPkcs7.c\r
e8b4eb04 41 Pk/CryptX509.c\r
b7d320f8 42 Pem/CryptPem.c\r
43\r
97f98500
HT
44 SysCall/CrtWrapper.c\r
45 SysCall/TimerWrapper.c\r
97f98500
HT
46 SysCall/RuntimeMemAllocation.c\r
47\r
48[Sources.Ia32]\r
49 SysCall/Ia32/MathMultS64x64.c | MSFT\r
50 SysCall/Ia32/MathDivU64x64.c | MSFT\r
51 SysCall/Ia32/MathReminderU64x64.c | MSFT\r
52 SysCall/Ia32/MathLShiftS64.c | MSFT\r
53 SysCall/Ia32/MathRShiftU64.c | MSFT\r
54\r
55 SysCall/Ia32/MathMultS64x64.c | INTEL\r
56 SysCall/Ia32/MathDivU64x64.c | INTEL\r
57 SysCall/Ia32/MathReminderU64x64.c | INTEL\r
58 SysCall/Ia32/MathLShiftS64.c | INTEL\r
59 SysCall/Ia32/MathRShiftU64.c | INTEL\r
60\r
61 SysCall/Ia32/MathMultS64x64.S | GCC\r
62 SysCall/Ia32/MathDivU64x64.S | GCC\r
63 SysCall/Ia32/MathReminderU64x64.S | GCC\r
64 SysCall/Ia32/MathLShiftS64.S | GCC\r
65 SysCall/Ia32/MathRShiftU64.S | GCC\r
66\r
7ce960e7 67 Rand/CryptRandTsc.c\r
68\r
69[Sources.X64]\r
70 Rand/CryptRandTsc.c\r
71\r
72[Sources.IPF]\r
73 Rand/CryptRandItc.c\r
74\r
75[Sources.ARM]\r
76 Rand/CryptRand.c\r
77\r
97f98500
HT
78[Packages]\r
79 MdePkg/MdePkg.dec\r
80 CryptoPkg/CryptoPkg.dec\r
81\r
82[LibraryClasses]\r
83 BaseLib\r
84 BaseMemoryLib\r
85 MemoryAllocationLib\r
86 UefiBootServicesTableLib\r
87 UefiRuntimeServicesTableLib\r
88 DebugLib\r
89 OpensslLib\r
90 IntrinsicLib\r
7ce960e7 91 PrintLib\r
97f98500
HT
92\r
93#\r
94# Remove these [BuildOptions] after this library is cleaned up\r
95#\r
96[BuildOptions]\r
97 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r
98 \r