VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/CryptoPkg/Library/BaseCryptLibMbedTls/RuntimeCryptLib.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.5 KB
Line 
1## @file
2# Cryptographic Library Instance for DXE_RUNTIME_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: SHA-384 Digest functions, SHA-512 Digest functions,
10# HMAC-SHA256 functions, AES 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) 2023, 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 = RuntimeCryptLib
22 MODULE_UNI_FILE = RuntimeCryptLib.uni
23 FILE_GUID = D263B580-D9FC-4DC4-B445-578AAEFF530E
24 MODULE_TYPE = DXE_RUNTIME_DRIVER
25 VERSION_STRING = 1.0
26 LIBRARY_CLASS = BaseCryptLib|DXE_RUNTIME_DRIVER
27 CONSTRUCTOR = RuntimeCryptLibConstructor
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 InternalCryptLib.h
37 Hash/CryptMd5.c
38 Hash/CryptSha1.c
39 Hash/CryptSha256.c
40 Hash/CryptSha512.c
41 Hash/CryptParallelHashNull.c
42 Hash/CryptSm3.c
43 Hmac/CryptHmac.c
44 Kdf/CryptHkdf.c
45 Cipher/CryptAes.c
46 Cipher/CryptAeadAesGcmNull.c
47 Pk/CryptRsaBasic.c
48 Pk/CryptRsaExtNull.c
49 Pk/CryptPkcs1OaepNull.c
50 Pk/CryptPkcs5Pbkdf2Null.c
51 Pk/CryptPkcs7SignNull.c
52 Pk/CryptPkcs7VerifyCommon.c
53 Pk/CryptPkcs7VerifyRuntime.c
54 Pk/CryptPkcs7VerifyEkuRuntime.c
55 Pk/CryptDhNull.c
56 Pk/CryptX509.c
57 Pk/CryptAuthenticodeNull.c
58 Pk/CryptTsNull.c
59 Pk/CryptRsaPssNull.c
60 Pk/CryptRsaPssSignNull.c
61 Pk/CryptEcNull.c
62 Pem/CryptPem.c
63 Bn/CryptBnNull.c
64 Rand/CryptRand.c
65
66 SysCall/CrtWrapper.c
67 SysCall/TimerWrapper.c
68 SysCall/DummyOpensslSupport.c
69 SysCall/RuntimeMemAllocation.c
70
71[Packages]
72 MdePkg/MdePkg.dec
73 CryptoPkg/CryptoPkg.dec
74
75[LibraryClasses]
76 BaseLib
77 BaseMemoryLib
78 UefiRuntimeServicesTableLib
79 DebugLib
80 MbedTlsLib
81 OpensslLib
82 IntrinsicLib
83 PrintLib
84 RngLib
85
86#
87# Remove these [BuildOptions] after this library is cleaned up
88#
89[BuildOptions]
90 GCC:*_CLANGDWARF_*_CC_FLAGS = -std=gnu99
91 GCC:*_CLANGPDB_*_CC_FLAGS = -std=c99 -Wno-error=incompatible-pointer-types
92
93 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