]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / CryptoPkg / Library / BaseCryptLib / SmmCryptLib.inf
... / ...
CommitLineData
1## @file\r
2# Cryptographic Library Instance for SMM driver.\r
3#\r
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 issues such as\r
7# buffer overflow or integer overflow.\r
8#\r
9# Note: SHA-384 Digest functions, SHA-512 Digest functions,\r
10# RSA external functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, and\r
11# authenticode signature verification functions are not supported in this instance.\r
12#\r
13# Copyright (c) 2010 - 2022, Intel Corporation. All rights reserved.<BR>\r
14# SPDX-License-Identifier: BSD-2-Clause-Patent\r
15#\r
16##\r
17\r
18[Defines]\r
19 INF_VERSION = 0x00010005\r
20 BASE_NAME = SmmCryptLib\r
21 MODULE_UNI_FILE = SmmCryptLib.uni\r
22 FILE_GUID = 028080a3-8958-4a62-a1a8-0fa1da162007\r
23 MODULE_TYPE = DXE_SMM_DRIVER\r
24 VERSION_STRING = 1.0\r
25 PI_SPECIFICATION_VERSION = 0x0001000A\r
26 LIBRARY_CLASS = BaseCryptLib|DXE_SMM_DRIVER SMM_CORE MM_STANDALONE\r
27\r
28#\r
29# The following information is for reference only and not required by the build tools.\r
30#\r
31# VALID_ARCHITECTURES = IA32 X64 ARM AARCH64\r
32#\r
33\r
34[Sources]\r
35 InternalCryptLib.h\r
36 Hash/CryptMd5.c\r
37 Hash/CryptSha1.c\r
38 Hash/CryptSha256.c\r
39 Hash/CryptSm3.c\r
40 Hash/CryptSha512.c\r
41 Hash/CryptSha3.c\r
42 Hash/CryptXkcp.c\r
43 Hash/CryptCShake256.c\r
44 Hash/CryptParallelHash.c\r
45 Hash/CryptDispatchApMm.c\r
46 Hmac/CryptHmac.c\r
47 Kdf/CryptHkdf.c\r
48 Cipher/CryptAes.c\r
49 Cipher/CryptAeadAesGcmNull.c\r
50 Pk/CryptRsaBasic.c\r
51 Pk/CryptRsaExtNull.c\r
52 Pk/CryptPkcs1Oaep.c\r
53 Pk/CryptPkcs5Pbkdf2.c\r
54 Pk/CryptPkcs7SignNull.c\r
55 Pk/CryptPkcs7VerifyCommon.c\r
56 Pk/CryptPkcs7VerifyBase.c\r
57 Pk/CryptPkcs7VerifyEku.c\r
58 Pk/CryptDhNull.c\r
59 Pk/CryptX509.c\r
60 Pk/CryptAuthenticodeNull.c\r
61 Pk/CryptTsNull.c\r
62 Pk/CryptRsaPss.c\r
63 Pk/CryptRsaPssSignNull.c\r
64 Pk/CryptEcNull.c\r
65 Pem/CryptPem.c\r
66 Bn/CryptBnNull.c\r
67\r
68 SysCall/CrtWrapper.c\r
69 SysCall/ConstantTimeClock.c\r
70 SysCall/BaseMemAllocation.c\r
71\r
72[Sources.Ia32]\r
73 Rand/CryptRandTsc.c\r
74\r
75[Sources.X64]\r
76 Rand/CryptRandTsc.c\r
77\r
78[Sources.ARM]\r
79 Rand/CryptRand.c\r
80\r
81[Sources.AARCH64]\r
82 Rand/CryptRand.c\r
83\r
84[Packages]\r
85 MdePkg/MdePkg.dec\r
86 CryptoPkg/CryptoPkg.dec\r
87\r
88[LibraryClasses]\r
89 BaseLib\r
90 BaseMemoryLib\r
91 MemoryAllocationLib\r
92 OpensslLib\r
93 IntrinsicLib\r
94 PrintLib\r
95 MmServicesTableLib\r
96 SynchronizationLib\r
97\r
98#\r
99# Remove these [BuildOptions] after this library is cleaned up\r
100#\r
101[BuildOptions]\r
102 #\r
103 # suppress the following warnings so we do not break the build with warnings-as-errors:\r
104 #\r
105\r
106 XCODE:*_*_*_CC_FLAGS = -mmmx -msse -std=c99\r
107\r
108 GCC:*_CLANG35_*_CC_FLAGS = -std=c99\r
109 GCC:*_CLANG38_*_CC_FLAGS = -std=c99\r
110 GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types\r