summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/crypto.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/crypto.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/crypto.h b/src/lib/libcrypto/hidden/openssl/crypto.h
new file mode 100644
index 0000000000..69ffa9480b
--- /dev/null
+++ b/src/lib/libcrypto/hidden/openssl/crypto.h
@@ -0,0 +1,79 @@
1/* $OpenBSD: crypto.h,v 1.1 2023/07/08 08:28:23 beck Exp $ */
2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 *
5 * Permission to use, copy, modify, and distribute this software for any
6 * purpose with or without fee is hereby granted, provided that the above
7 * copyright notice and this permission notice appear in all copies.
8 *
9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 */
17
18#ifndef _LIBCRYPTO_CRYPTO_H
19#define _LIBCRYPTO_CRYPTO_H
20
21#ifndef _MSC_VER
22#include_next <openssl/crypto.h>
23#else
24#include "../include/openssl/crypto.h"
25#endif
26#include "crypto_namespace.h"
27
28LCRYPTO_USED(OpenSSL_version);
29LCRYPTO_USED(OpenSSL_version_num);
30LCRYPTO_USED(SSLeay_version);
31LCRYPTO_USED(SSLeay);
32LCRYPTO_USED(CRYPTO_get_ex_data_implementation);
33LCRYPTO_USED(CRYPTO_set_ex_data_implementation);
34LCRYPTO_USED(CRYPTO_ex_data_new_class);
35LCRYPTO_USED(CRYPTO_get_ex_new_index);
36LCRYPTO_USED(CRYPTO_new_ex_data);
37LCRYPTO_USED(CRYPTO_dup_ex_data);
38LCRYPTO_USED(CRYPTO_free_ex_data);
39LCRYPTO_USED(CRYPTO_set_ex_data);
40LCRYPTO_USED(CRYPTO_get_ex_data);
41LCRYPTO_USED(CRYPTO_cleanup_all_ex_data);
42LCRYPTO_USED(CRYPTO_lock);
43LCRYPTO_USED(CRYPTO_add_lock);
44LCRYPTO_USED(CRYPTO_THREADID_current);
45LCRYPTO_USED(CRYPTO_THREADID_cmp);
46LCRYPTO_USED(CRYPTO_THREADID_cpy);
47LCRYPTO_USED(CRYPTO_THREADID_hash);
48LCRYPTO_USED(CRYPTO_set_mem_functions);
49LCRYPTO_USED(CRYPTO_set_locked_mem_functions);
50LCRYPTO_USED(CRYPTO_set_mem_ex_functions);
51LCRYPTO_USED(CRYPTO_set_locked_mem_ex_functions);
52LCRYPTO_USED(CRYPTO_set_mem_debug_functions);
53LCRYPTO_USED(CRYPTO_get_mem_functions);
54LCRYPTO_USED(CRYPTO_get_locked_mem_functions);
55LCRYPTO_USED(CRYPTO_get_mem_ex_functions);
56LCRYPTO_USED(CRYPTO_get_locked_mem_ex_functions);
57LCRYPTO_USED(CRYPTO_get_mem_debug_functions);
58LCRYPTO_USED(CRYPTO_realloc_clean);
59LCRYPTO_USED(CRYPTO_remalloc);
60LCRYPTO_USED(CRYPTO_set_mem_debug_options);
61LCRYPTO_USED(CRYPTO_get_mem_debug_options);
62LCRYPTO_USED(CRYPTO_push_info_);
63LCRYPTO_USED(CRYPTO_pop_info);
64LCRYPTO_USED(CRYPTO_remove_all_info);
65LCRYPTO_USED(CRYPTO_dbg_malloc);
66LCRYPTO_USED(CRYPTO_dbg_realloc);
67LCRYPTO_USED(CRYPTO_dbg_free);
68LCRYPTO_USED(CRYPTO_dbg_set_options);
69LCRYPTO_USED(CRYPTO_dbg_get_options);
70LCRYPTO_USED(CRYPTO_mem_leaks_fp);
71LCRYPTO_USED(CRYPTO_mem_leaks);
72LCRYPTO_USED(CRYPTO_mem_leaks_cb);
73LCRYPTO_USED(OpenSSLDie);
74LCRYPTO_USED(OPENSSL_cpu_caps);
75LCRYPTO_USED(OPENSSL_init_crypto);
76LCRYPTO_USED(OPENSSL_cleanup);
77LCRYPTO_USED(ERR_load_CRYPTO_strings);
78
79#endif /* _LIBCRYPTO_CRYPTO_H */