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