VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/BaseCryptLibMbedTls/PeiCryptLib.inf@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 2 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 2.8 KB
Line 
1## @file
2# Cryptographic Library Instance for PEIM.
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:
10# HMAC-SHA256 functions, AES functions, RSA external
11# functions, PKCS#7 SignedData sign functions, Diffie-Hellman functions, X.509
12# certificate handler functions, authenticode signature verification functions,
13# PEM handler functions, and pseudorandom number generator functions are not
14# supported in this instance.
15#
16# Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
17# SPDX-License-Identifier: BSD-2-Clause-Patent
18#
19##
20
21[Defines]
22 INF_VERSION = 0x00010005
23 BASE_NAME = PeiCryptLib
24 MODULE_UNI_FILE = PeiCryptLib.uni
25 FILE_GUID = 91E0A3C3-37A7-4AEE-8689-C5B0AD2C8E63
26 MODULE_TYPE = PEIM
27 VERSION_STRING = 1.0
28 LIBRARY_CLASS = BaseCryptLib|PEIM PEI_CORE
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33# VALID_ARCHITECTURES = IA32 X64
34#
35
36[Sources]
37 InternalCryptLib.h
38 Hash/CryptMd5.c
39 Hash/CryptSha1.c
40 Hash/CryptSha256.c
41 Hash/CryptSha512.c
42 Hash/CryptParallelHashNull.c
43 Hash/CryptSm3.c
44 Hmac/CryptHmac.c
45 Kdf/CryptHkdf.c
46 Cipher/CryptAes.c
47 Cipher/CryptAeadAesGcmNull.c
48 Pk/CryptRsaBasic.c
49 Pk/CryptRsaExtNull.c
50 Pk/CryptPkcs1OaepNull.c
51 Pk/CryptPkcs5Pbkdf2Null.c
52 Pk/CryptPkcs7SignNull.c
53 Pk/CryptPkcs7VerifyCommon.c
54 Pk/CryptPkcs7VerifyBase.c
55 Pk/CryptPkcs7VerifyEku.c
56 Pk/CryptDhNull.c
57 Pk/CryptX509Null.c
58 Pk/CryptAuthenticodeNull.c
59 Pk/CryptTsNull.c
60 Pk/CryptRsaPss.c
61 Pk/CryptRsaPssSignNull.c
62 Pk/CryptEcNull.c
63 Pem/CryptPemNull.c
64 Rand/CryptRandNull.c
65 Bn/CryptBnNull.c
66
67 SysCall/CrtWrapper.c
68 SysCall/DummyOpensslSupport.c
69 SysCall/BaseMemAllocation.c
70 SysCall/ConstantTimeClock.c
71
72[Packages]
73 MdePkg/MdePkg.dec
74 CryptoPkg/CryptoPkg.dec
75
76[LibraryClasses]
77 BaseLib
78 BaseMemoryLib
79 MemoryAllocationLib
80 DebugLib
81 MbedTlsLib
82 OpensslLib
83 IntrinsicLib
84 PrintLib
85 PeiServicesTablePointerLib
86 PeiServicesLib
87 SynchronizationLib
88
89[Ppis]
90 gEfiPeiMpServicesPpiGuid
91#
92# Remove these [BuildOptions] after this library is cleaned up
93#
94[BuildOptions]
95 #
96 # suppress the following warnings so we do not break the build with warnings-as-errors:
97 # C4090: 'function' : different 'const' qualifiers
98 # C4718: 'function call' : recursive call has no side effects, deleting
99 #
100 MSFT:*_*_*_CC_FLAGS = /wd4090 /wd4718
101
102 GCC:*_CLANGDWARF_*_CC_FLAGS = -std=gnu99
103 GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types
104
105 XCODE:*_*_*_CC_FLAGS = -std=c99
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette