summaryrefslogtreecommitdiffstats
path: root/src/VBox/Runtime/r3/win/VBoxRT-openssl-1.1plus.def
blob: 8787224f954df577fbc06e0f1e6f6d239394b689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
; $Id: VBoxRT-openssl-1.1plus.def $
;; @file
; IPRT - Windows OpenSSL exports we use outside VBoxRT (keep them few!).
;
; This file is appended to the architecture specific .def file.
;

;
; Copyright (C) 2009-2023 Oracle and/or its affiliates.
;
; This file is part of VirtualBox base platform packages, as
; available from https://www.virtualbox.org.
;
; This program is free software; you can redistribute it and/or
; modify it under the terms of the GNU General Public License
; as published by the Free Software Foundation, in version 3 of the
; License.
;
; This program is distributed in the hope that it will be useful, but
; WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
; General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with this program; if not, see <https://www.gnu.org/licenses>.
;
; The contents of this file may alternatively be used under the terms
; of the Common Development and Distribution License Version 1.0
; (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
; in the VirtualBox distribution, in which case the provisions of the
; CDDL are applicable instead of those of the GPL.
;
; You may elect to license modified versions of this file under the
; terms and conditions of either the GPL or the CDDL or both.
;
; SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
;

    ; ConsoleImpl.cpp uses this when VBOX_OPENSSL_FIPS is enabled.
    FIPS_mode

    ; VBoxVRDP.dll - secure.cpp
    BIO_free
    BIO_new_file
    BN_bin2bn
    BN_bn2bin
    BN_CTX_free
    BN_CTX_new
    BN_free
    BN_mod_exp
    BN_new
    BN_num_bits
    BN_set_word
    EVP_PKEY_get0_RSA
    i2d_X509
    MD5_Final
    MD5_Init
    MD5_Update
    OBJ_obj2nid
    PEM_read_bio_PrivateKey
    PEM_read_bio_X509
    RAND_bytes
    RC4
    RC4_set_key
    RSA_free
    RSA_generate_key_ex
    RSA_get0_key
    RSA_new
    SHA1_Final
    SHA1_Init
    SHA1_Update
    X509_free
    X509_get_X509_PUBKEY
    X509_PUBKEY_get0_param

    ; VBoxVRDP.dll - tcp_vrdp.cpp
    BIO_new_socket
    BIO_test_flags
    OPENSSL_init_ssl
    SSL_accept
    SSL_CTX_free
    SSL_CTX_load_verify_locations
    SSL_CTX_new
    SSL_CTX_set_verify
    SSL_CTX_use_certificate_file
    SSL_CTX_use_PrivateKey_file
    SSL_free
    SSL_get_certificate
    SSL_new
    SSL_pending
    SSL_read
    SSL_set_bio
    SSL_set_read_ahead
    SSL_write
    TLSv1_server_method
    X509_get_issuer_name
    X509_NAME_oneline

    ; VDPluginCrypt.dll (if it wanted to use IPRT) - VDKeyStore.cpp:
    EVP_aes_128_xts
    EVP_aes_256_xts
    EVP_CIPHER_CTX_free
    EVP_CIPHER_CTX_new
    EVP_DecryptFinal
    EVP_DecryptInit
    EVP_DecryptUpdate
    EVP_EncryptFinal
    EVP_EncryptInit
    EVP_EncryptUpdate
    EVP_MD_size
    EVP_sha1
    EVP_sha256
    EVP_sha512
    PKCS5_PBKDF2_HMAC
    ;exported above: RAND_bytes

    ; VDPluginCrypt.dll (if it wanted to use IPRT) - VDFilterCrypt.cpp:
    ;exported above: EVP_aes_128_xts
    ;exported above: EVP_aes_256_xts
    ;exported above: EVP_CIPHER_CTX_free
    ;exported above: EVP_CIPHER_CTX_new
    ;exported above: EVP_DecryptFinal
    ;exported above: EVP_DecryptInit
    ;exported above: EVP_DecryptUpdate
    ;exported above: EVP_EncryptFinal
    ;exported above: EVP_EncryptInit
    ;exported above: EVP_EncryptUpdate
    ;exported above: RAND_bytes

    ; vboxwebsrv needs SSL support.
    ASN1_STRING_data
    ASN1_STRING_get0_data
    ASN1_STRING_to_UTF8
    ;exported above: BIO_free
    ;exported above: BIO_new_file
    ;exported above: BIO_new_socket
    BIO_read
    BIO_write
    CRYPTO_free
    DH_check
    DH_free
    DH_generate_parameters
    DH_generate_parameters_ex
    DH_new
    ERR_clear_error
    ERR_error_string
    ERR_error_string_n
    ERR_get_error
    ERR_peek_error
    GENERAL_NAME_free
    i2v_GENERAL_NAMES
    OpenSSL_version_num
    OPENSSL_init_crypto
    ;exported above: OPENSSL_init_ssl
    OPENSSL_sk_num
    OPENSSL_sk_pop_free
    OPENSSL_sk_value
    PEM_read_bio_DHparams
    RAND_load_file
    RAND_pseudo_bytes
    RAND_seed
    RAND_status
    ;exported above: RSA_free
    RSA_generate_key
    ;exported above: SSL_accept
    SSL_clear
    SSL_connect
    SSL_ctrl
    SSL_CTX_ctrl
    ;exported above: SSL_CTX_free
    SSL_CTX_get_cert_store
    ;exported above: SSL_CTX_load_verify_locations
    ;exported above: SSL_CTX_new
    SSL_CTX_set_client_CA_list
    SSL_CTX_set_default_passwd_cb
    SSL_CTX_set_default_passwd_cb_userdata
    SSL_CTX_set_default_verify_paths
    SSL_CTX_set_options
    SSL_CTX_set_session_id_context
    ;exported above: SSL_CTX_set_verify
    SSL_CTX_set_verify_depth
    SSL_CTX_use_certificate_chain_file
    ;exported above: SSL_CTX_use_PrivateKey_file
    ;exported above: SSL_free
    SSL_get_error
    SSL_get_peer_certificate
    SSL_get_verify_result
    SSL_get1_session
    SSL_is_init_finished
    SSL_load_client_CA_file
    ;exported above: SSL_new
    SSL_peek
    ;exported above: SSL_read
    SSL_SESSION_free
    ;exported above: SSL_set_bio
    SSL_set_session
    SSL_shutdown
    SSL_want
    ;exported above: SSL_write
    TLS_method
    ;exported above: X509_free
    X509_get_ext_d2i
    ;exported above: X509_get_issuer_name
    X509_get_subject_name
    X509_load_crl_file
    X509_LOOKUP_file
    X509_NAME_ENTRY_get_data
    X509_NAME_get_entry
    X509_NAME_get_index_by_NID
    ;exported above: X509_NAME_oneline
    X509_STORE_add_lookup
    X509_STORE_CTX_get_current_cert
    X509_STORE_CTX_get_error
    X509_STORE_CTX_get_error_depth
    X509_STORE_CTX_set_error
    X509_STORE_set1_param
    X509_STORE_set_flags
    X509_verify_cert_error_string
    X509_VERIFY_PARAM_free
    X509_VERIFY_PARAM_new
    X509_VERIFY_PARAM_set_flags
    X509V3_conf_free

    ; tstRTBigNum.cpp
    BN_div
    BN_mul
    BN_mod_exp_simple
    BN_ucmp

    ; VBox-libtpms
    BN_set_flags
    BN_clear_free
    BN_cmp
    BN_dup
    BN_sub
    BN_add
    BN_copy
    RAND_add
    BN_is_zero
    BN_is_one
    BN_value_one
    BN_CTX_start
    BN_CTX_get
    BN_CTX_end
    BN_mod_add
    BN_mod_mul
    BN_lshift
    BN_mask_bits
    BN_rshift
    BN_mod_inverse
    RSA_size
    RSA_set0_key
    RSA_get0_factors
    RSA_public_encrypt
    RSA_private_encrypt
    RSA_private_decrypt
    RSA_sign
    RSA_verify
    RSA_padding_add_PKCS1_type_1
    RSA_padding_add_PKCS1_type_2
    RSA_padding_check_PKCS1_type_1
    RSA_padding_check_PKCS1_type_2
    RSA_padding_add_PKCS1_OAEP
    RSA_padding_check_PKCS1_OAEP
    ERR_get_error_line_data
    AES_set_encrypt_key
    AES_set_decrypt_key
    AES_decrypt
    AES_encrypt
    AES_cbc_encrypt
    AES_ofb128_encrypt
    SHA256_Init
    SHA256_Update
    SHA256_Final
    SHA384_Init
    SHA384_Update
    SHA384_Final
    SHA512_Init
    SHA512_Update
    SHA512_Final
    EC_GROUP_free
    EC_GROUP_set_generator
    EC_GROUP_new_curve_GFp
    EC_POINT_new
    EC_POINT_free
    EC_POINT_clear_free
    EC_POINT_set_affine_coordinates
    EC_POINT_get_affine_coordinates
    EC_POINT_add
    EC_POINTs_mul
    EC_POINT_mul
    Camellia_set_key
    Camellia_encrypt
    Camellia_decrypt
    DES_ecb3_encrypt
    DES_set_key_unchecked

    ; VBox-libssh
    BIO_ctrl
    BIO_new
    BIO_new_mem_buf
    BIO_s_mem
    BN_bn2hex
    BN_is_bit_set
    d2i_DSA_SIG
    d2i_ECDSA_SIG
    DH_compute_key
    DH_generate_key
    DH_get0_key
    DH_get0_pqg
    DH_set0_key
    DH_set0_pqg
    DH_size
    DSA_free
    DSA_generate_key
    DSA_generate_parameters_ex
    DSA_get0_key
    DSA_get0_pqg
    DSA_new
    DSA_set0_key
    DSA_set0_pqg
    DSA_SIG_free
    DSA_SIG_get0
    DSA_SIG_new
    DSA_SIG_set0
    DSA_size
    EC_GROUP_cmp
    EC_GROUP_get_curve_name
    EC_GROUP_get_degree
    EC_KEY_dup
    EC_KEY_free
    EC_KEY_generate_key
    EC_KEY_get0_group
    EC_KEY_get0_private_key
    EC_KEY_get0_public_key
    EC_KEY_new_by_curve_name
    EC_KEY_set_asn1_flag
    EC_KEY_set_private_key
    EC_KEY_set_public_key
    EC_POINT_cmp
    EC_POINT_oct2point
    EC_POINT_point2oct
    ECDH_compute_key
    ECDSA_SIG_free
    ECDSA_SIG_get0
    ECDSA_SIG_new
    ECDSA_SIG_set0
    EVP_aes_128_cbc
    EVP_aes_128_ctr
    EVP_aes_128_gcm
    EVP_aes_192_cbc
    EVP_aes_192_ctr
    EVP_aes_256_cbc
    EVP_aes_256_ctr
    EVP_aes_256_gcm
    EVP_CIPHER_CTX_ctrl
    EVP_CIPHER_CTX_reset
    EVP_CIPHER_CTX_set_padding
    EVP_DecryptInit_ex
    EVP_DigestFinal
    EVP_DigestInit
    EVP_DigestInit_ex
    EVP_DigestSignFinal
    EVP_DigestSignInit
    EVP_DigestUpdate
    EVP_DigestVerifyFinal
    EVP_DigestVerifyInit
    EVP_EncryptInit_ex
    EVP_MD_CTX_free
    EVP_MD_CTX_new
    EVP_MD_CTX_reset
    EVP_md5
    EVP_PKEY_base_id
    EVP_PKEY_free
    EVP_PKEY_get1_DSA
    EVP_PKEY_get1_EC_KEY
    EVP_PKEY_get1_RSA
    EVP_PKEY_new
    EVP_PKEY_set1_DSA
    EVP_PKEY_set1_EC_KEY
    EVP_PKEY_set1_RSA
    EVP_PKEY_size
    EVP_sha384
    HMAC_CTX_free
    HMAC_CTX_new
    HMAC_Final
    HMAC_Init_ex
    HMAC_Update
    i2d_DSA_SIG
    i2d_ECDSA_SIG
    OpenSSL_version
    PEM_write_bio_PrivateKey
    RSA_get0_crt_params
    RSA_set0_crt_params
    RSA_set0_factors