]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
Add interfaces to several library instances of BaseCryptLib.
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / BaseCryptLib.inf
CommitLineData
97f98500
HT
1## @file\r
2# Cryptographic Library Instance for DXE_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
7ce960e7 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 = BaseCryptLib\r
23 FILE_GUID = be3bb803-91b6-4da0-bd91-a8b21c18ca5d\r
532616bb 24 MODULE_TYPE = DXE_DRIVER\r
97f98500 25 VERSION_STRING = 1.0\r
532616bb 26 LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER\r
97f98500
HT
27\r
28#\r
29# The following information is for reference only and not required by the build tools.\r
30#\r
b7d320f8 31# VALID_ARCHITECTURES = IA32 X64 IPF ARM\r
97f98500
HT
32#\r
33\r
34[Sources]\r
a8c44645 35 InternalCryptLib.h\r
4a567c96 36 Hash/CryptMd4.c\r
97f98500
HT
37 Hash/CryptMd5.c\r
38 Hash/CryptSha1.c\r
39 Hash/CryptSha256.c\r
a8c44645 40 Hmac/CryptHmacMd5.c\r
41 Hmac/CryptHmacSha1.c\r
42 Cipher/CryptAes.c\r
43 Cipher/CryptTdes.c\r
44 Cipher/CryptArc4.c\r
532616bb 45 Pk/CryptRsaBasic.c\r
46 Pk/CryptRsaExt.c\r
47 Pk/CryptPkcs7Sign.c\r
48 Pk/CryptPkcs7Verify.c\r
a8c44645 49 Pk/CryptDh.c\r
4a567c96 50 Pk/CryptX509.c\r
b7d320f8 51 Pk/CryptAuthenticode.c\r
4a567c96 52 Pem/CryptPem.c\r
97f98500
HT
53\r
54 SysCall/CrtWrapper.c\r
55 SysCall/TimerWrapper.c\r
56 SysCall/BaseMemAllocation.c\r
57\r
58[Sources.Ia32]\r
97f98500
HT
59 SysCall/Ia32/MathMultS64x64.c | MSFT\r
60 SysCall/Ia32/MathDivU64x64.c | MSFT\r
61 SysCall/Ia32/MathReminderU64x64.c | MSFT\r
62 SysCall/Ia32/MathLShiftS64.c | MSFT\r
63 SysCall/Ia32/MathRShiftU64.c | MSFT\r
64\r
65 SysCall/Ia32/MathMultS64x64.c | INTEL\r
66 SysCall/Ia32/MathDivU64x64.c | INTEL\r
67 SysCall/Ia32/MathReminderU64x64.c | INTEL\r
68 SysCall/Ia32/MathLShiftS64.c | INTEL\r
69 SysCall/Ia32/MathRShiftU64.c | INTEL\r
70\r
71 SysCall/Ia32/MathMultS64x64.S | GCC\r
72 SysCall/Ia32/MathDivU64x64.S | GCC\r
73 SysCall/Ia32/MathReminderU64x64.S | GCC\r
74 SysCall/Ia32/MathLShiftS64.S | GCC\r
75 SysCall/Ia32/MathRShiftU64.S | GCC\r
76\r
7ce960e7 77 Rand/CryptRandTsc.c\r
78\r
79[Sources.X64]\r
80 Rand/CryptRandTsc.c\r
81\r
82[Sources.IPF]\r
83 Rand/CryptRandItc.c\r
84\r
85[Sources.ARM]\r
86 Rand/CryptRand.c\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
7ce960e7 99 PrintLib\r
97f98500
HT
100\r
101#\r
102# Remove these [BuildOptions] after this library is cleaned up\r
103#\r
104[BuildOptions]\r
105 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r