]> git.proxmox.com Git - mirror_edk2.git/blame - CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
CryptoPkg: Add some comments for API usage clarification.
[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
2ac68e8b 6# This external input must be validated carefully to avoid security issues such as\r
dda856b3 7# buffer overflow or integer overflow.\r
dc204d5a 8#\r
dda856b3 9# Copyright (c) 2009 - 2014, 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
2ac68e8b 14#\r
97f98500
HT
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
2ac68e8b 17#\r
97f98500
HT
18##\r
19\r
20[Defines]\r
21 INF_VERSION = 0x00010005\r
22 BASE_NAME = BaseCryptLib\r
dda856b3 23 MODULE_UNI_FILE = BaseCryptLib.uni\r
97f98500 24 FILE_GUID = be3bb803-91b6-4da0-bd91-a8b21c18ca5d\r
532616bb 25 MODULE_TYPE = DXE_DRIVER\r
97f98500 26 VERSION_STRING = 1.0\r
532616bb 27 LIBRARY_CLASS = BaseCryptLib|DXE_DRIVER DXE_CORE UEFI_APPLICATION UEFI_DRIVER\r
97f98500
HT
28\r
29#\r
30# The following information is for reference only and not required by the build tools.\r
31#\r
d1984abc 32# VALID_ARCHITECTURES = IA32 X64 IPF ARM AARCH64\r
97f98500
HT
33#\r
34\r
35[Sources]\r
a8c44645 36 InternalCryptLib.h\r
4a567c96 37 Hash/CryptMd4.c\r
97f98500
HT
38 Hash/CryptMd5.c\r
39 Hash/CryptSha1.c\r
40 Hash/CryptSha256.c\r
2ac68e8b 41 Hash/CryptSha512.c\r
a8c44645 42 Hmac/CryptHmacMd5.c\r
43 Hmac/CryptHmacSha1.c\r
44 Cipher/CryptAes.c\r
45 Cipher/CryptTdes.c\r
46 Cipher/CryptArc4.c\r
532616bb 47 Pk/CryptRsaBasic.c\r
48 Pk/CryptRsaExt.c\r
49 Pk/CryptPkcs7Sign.c\r
50 Pk/CryptPkcs7Verify.c\r
a8c44645 51 Pk/CryptDh.c\r
4a567c96 52 Pk/CryptX509.c\r
b7d320f8 53 Pk/CryptAuthenticode.c\r
2ac68e8b 54 Pk/CryptTs.c\r
4a567c96 55 Pem/CryptPem.c\r
97f98500
HT
56\r
57 SysCall/CrtWrapper.c\r
58 SysCall/TimerWrapper.c\r
59 SysCall/BaseMemAllocation.c\r
60\r
61[Sources.Ia32]\r
7ce960e7 62 Rand/CryptRandTsc.c\r
63\r
64[Sources.X64]\r
65 Rand/CryptRandTsc.c\r
66\r
67[Sources.IPF]\r
68 Rand/CryptRandItc.c\r
69\r
70[Sources.ARM]\r
71 Rand/CryptRand.c\r
72\r
d1984abc
RC
73[Sources.AARCH64]\r
74 Rand/CryptRand.c\r
75\r
97f98500
HT
76[Packages]\r
77 MdePkg/MdePkg.dec\r
78 CryptoPkg/CryptoPkg.dec\r
79\r
80[LibraryClasses]\r
81 BaseLib\r
82 BaseMemoryLib\r
83 MemoryAllocationLib\r
dda39f3a 84 UefiRuntimeServicesTableLib\r
97f98500
HT
85 DebugLib\r
86 OpensslLib\r
87 IntrinsicLib\r
7ce960e7 88 PrintLib\r
97f98500
HT
89\r
90#\r
91# Remove these [BuildOptions] after this library is cleaned up\r
92#\r
93[BuildOptions]\r
2ac68e8b
QL
94 # suppress the following warnings so we do not break the build with warnings-as-errors:\r
95 # C4305: truncation from type1 to type2 (Introduced by RFC3161 Timestamp ASN.1 declarations)\r
b01fcf92 96 MSFT:*_*_*_CC_FLAGS = /wd4305\r
97f98500 97 GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"\r