VirtualBox

source: vbox/trunk/src/VBox/Runtime/VBox/VBoxRTDeps.cpp@ 103795

Last change on this file since 103795 was 98103, checked in by vboxsync, 22 months ago

Copyright year updates by scm.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 4.9 KB
Line 
1/* $Id: VBoxRTDeps.cpp 98103 2023-01-17 14:15:46Z vboxsync $ */
2/** @file
3 * IPRT - VBoxRT.dll/so dependencies.
4 */
5
6/*
7 * Copyright (C) 2006-2023 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * The contents of this file may alternatively be used under the terms
26 * of the Common Development and Distribution License Version 1.0
27 * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
28 * in the VirtualBox distribution, in which case the provisions of the
29 * CDDL are applicable instead of those of the GPL.
30 *
31 * You may elect to license modified versions of this file under the
32 * terms and conditions of either the GPL or the CDDL or both.
33 *
34 * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
35 */
36
37
38/*********************************************************************************************************************************
39* Header Files *
40*********************************************************************************************************************************/
41#include <VBox/sup.h>
42#include <iprt/asm.h>
43#include <iprt/assert.h>
44#include <iprt/localipc.h>
45#include <iprt/buildconfig.h>
46#include <iprt/system.h>
47
48#include <libxml/catalog.h>
49#include <libxml/globals.h>
50#ifdef RT_OS_WINDOWS
51# include <iprt/win/windows.h>
52#endif
53#include "internal/openssl-pre.h"
54#include <openssl/md5.h>
55#include <openssl/rc4.h>
56#include <openssl/pem.h> /* drags in Windows.h */
57#include <openssl/x509.h>
58#include <openssl/rsa.h>
59#include <openssl/ssl.h>
60#include <openssl/rand.h>
61#include <openssl/aes.h>
62#include "internal/openssl-post.h"
63
64
65/*********************************************************************************************************************************
66* Global Variables *
67*********************************************************************************************************************************/
68struct CLANG11NONSENSE { PFNRT pfn; } g_VBoxRTDeps[] =
69{
70 { (PFNRT)SUPR3Init },
71 { (PFNRT)SUPR3PageAllocEx },
72 { (PFNRT)SUPR3LoadVMM },
73 { (PFNRT)SUPSemEventCreate },
74 { (PFNRT)SUPIsTscFreqCompatibleEx },
75#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
76 { (PFNRT)SUPTracerFireProbe }, /** @todo port me @bugref{9898} ? */
77 { (PFNRT)SUPGetTscDeltaSlow },
78#endif
79 { (PFNRT)xmlLoadCatalogs },
80 { (PFNRT)RTLocalIpcServerCreate },
81 { (PFNRT)MD5_Init },
82 { (PFNRT)RC4 },
83 { (PFNRT)RC4_set_key },
84 { (PFNRT)PEM_read_bio_X509 },
85 { (PFNRT)PEM_read_bio_PrivateKey },
86 { (PFNRT)X509_free },
87 { (PFNRT)X509_verify_cert_error_string },
88 { (PFNRT)i2d_X509 },
89 { (PFNRT)i2d_X509 },
90 { (PFNRT)i2d_PublicKey },
91 { (PFNRT)DH_generate_parameters_ex }, /* gsoap */
92 { (PFNRT)DH_new }, /* gsoap */
93#if OPENSSL_VERSION_NUMBER >= 0x10100000
94 { (PFNRT)OpenSSL_version_num }, /* gsoap */
95 { (PFNRT)ASN1_STRING_get0_data }, /* gsoap */
96#endif
97#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_MANGLER)
98 { (PFNRT)RSA_generate_key }, /* gsoap */
99#endif
100 { (PFNRT)RSA_generate_key_ex },
101#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_MANGLER)
102 { (PFNRT)DH_generate_parameters }, /* gsoap */
103#endif
104 { (PFNRT)DH_generate_parameters_ex },
105 { (PFNRT)RAND_load_file },
106#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
107 { (PFNRT)CRYPTO_set_dynlock_create_callback },
108 { (PFNRT)CRYPTO_set_dynlock_lock_callback },
109 { (PFNRT)CRYPTO_set_dynlock_destroy_callback },
110#endif
111 { (PFNRT)RTAssertShouldPanic },
112 { (PFNRT)ASMAtomicReadU64 },
113 { (PFNRT)ASMAtomicCmpXchgU64 },
114 { (PFNRT)ASMBitFirstSet },
115 { (PFNRT)RTBldCfgRevision },
116 { (PFNRT)SSL_free },
117#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
118 { (PFNRT)SSL_library_init },
119 { (PFNRT)SSL_load_error_strings },
120#endif
121 { (PFNRT)SSL_CTX_free },
122 { (PFNRT)SSL_CTX_use_certificate_file },
123 { (PFNRT)SSLv23_method },
124#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
125 { (PFNRT)TLSv1_server_method },
126#endif
127 { (PFNRT)AES_ofb128_encrypt }, /* libtpms */
128 { NULL }
129};
130
Note: See TracBrowser for help on using the repository browser.

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