]> git.proxmox.com Git - mirror_edk2.git/blob - CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
CryptoPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SmmCryptLib.inf
1 ## @file
2 # Cryptographic Library Instance for SMM 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 issues such as
7 # buffer overflow or integer overflow.
8 #
9 # Note: MD4 Digest functions, SHA-384 Digest functions, SHA-512 Digest functions,
10 # HMAC-MD5 functions, HMAC-SHA1 functions, TDES/ARC4 functions, RSA external
11 # functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and
12 # authenticode signature verification functions are not supported in this instance.
13 #
14 # Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
15 # SPDX-License-Identifier: BSD-2-Clause-Patent
16 #
17 ##
18
19 [Defines]
20 INF_VERSION = 0x00010005
21 BASE_NAME = SmmCryptLib
22 MODULE_UNI_FILE = SmmCryptLib.uni
23 FILE_GUID = 028080a3-8958-4a62-a1a8-0fa1da162007
24 MODULE_TYPE = DXE_SMM_DRIVER
25 VERSION_STRING = 1.0
26 PI_SPECIFICATION_VERSION = 0x0001000A
27 LIBRARY_CLASS = BaseCryptLib|DXE_SMM_DRIVER SMM_CORE MM_STANDALONE
28
29 #
30 # The following information is for reference only and not required by the build tools.
31 #
32 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH64
33 #
34
35 [Sources]
36 Hash/CryptMd4Null.c
37 Hash/CryptMd5.c
38 Hash/CryptSha1.c
39 Hash/CryptSha256.c
40 Hash/CryptSha512Null.c
41 Hmac/CryptHmacMd5Null.c
42 Hmac/CryptHmacSha1Null.c
43 Hmac/CryptHmacSha256.c
44 Cipher/CryptAes.c
45 Cipher/CryptTdesNull.c
46 Cipher/CryptArc4Null.c
47 Pk/CryptRsaBasic.c
48 Pk/CryptRsaExtNull.c
49 Pk/CryptPkcs5Pbkdf2.c
50 Pk/CryptPkcs7SignNull.c
51 Pk/CryptPkcs7VerifyCommon.c
52 Pk/CryptPkcs7VerifyBase.c
53 Pk/CryptDhNull.c
54 Pk/CryptX509.c
55 Pk/CryptAuthenticodeNull.c
56 Pk/CryptTsNull.c
57 Pem/CryptPem.c
58
59 SysCall/CrtWrapper.c
60 SysCall/ConstantTimeClock.c
61 SysCall/BaseMemAllocation.c
62
63 [Sources.Ia32]
64 Rand/CryptRandTsc.c
65
66 [Sources.X64]
67 Rand/CryptRandTsc.c
68
69 [Sources.ARM]
70 Rand/CryptRand.c
71
72 [Sources.AARCH64]
73 Rand/CryptRand.c
74
75 [Packages]
76 MdePkg/MdePkg.dec
77 CryptoPkg/CryptoPkg.dec
78
79 [LibraryClasses]
80 BaseLib
81 IoLib
82 BaseMemoryLib
83 MemoryAllocationLib
84 OpensslLib
85 IntrinsicLib
86 PrintLib
87
88 #
89 # Remove these [BuildOptions] after this library is cleaned up
90 #
91 [BuildOptions]
92 #
93 # suppress the following warnings so we do not break the build with warnings-as-errors:
94 # C4090: 'function' : different 'const' qualifiers
95 #
96 MSFT:*_*_*_CC_FLAGS = /wd4090
97
98 XCODE:*_*_*_CC_FLAGS = -mmmx -msse