diff options
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl')
53 files changed, 0 insertions, 4832 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/aes.h b/src/lib/libcrypto/hidden/openssl/aes.h deleted file mode 100644 index 0ec5a8d544..0000000000 --- a/src/lib/libcrypto/hidden/openssl/aes.h +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /* $OpenBSD: aes.h,v 1.1 2024/03/30 05:14:12 joshua Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
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_AES_H | ||
19 | #define _LIBCRYPTO_AES_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/aes.h> | ||
23 | #else | ||
24 | #include "../include/openssl/aes.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(AES_set_encrypt_key); | ||
29 | LCRYPTO_USED(AES_set_decrypt_key); | ||
30 | LCRYPTO_USED(AES_encrypt); | ||
31 | LCRYPTO_USED(AES_decrypt); | ||
32 | LCRYPTO_USED(AES_ecb_encrypt); | ||
33 | LCRYPTO_USED(AES_cbc_encrypt); | ||
34 | LCRYPTO_USED(AES_cfb128_encrypt); | ||
35 | LCRYPTO_USED(AES_cfb1_encrypt); | ||
36 | LCRYPTO_USED(AES_cfb8_encrypt); | ||
37 | LCRYPTO_USED(AES_ofb128_encrypt); | ||
38 | LCRYPTO_USED(AES_ctr128_encrypt); | ||
39 | LCRYPTO_USED(AES_ige_encrypt); | ||
40 | LCRYPTO_USED(AES_wrap_key); | ||
41 | LCRYPTO_USED(AES_unwrap_key); | ||
42 | |||
43 | #endif /* _LIBCRYPTO_AES_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/asn1.h b/src/lib/libcrypto/hidden/openssl/asn1.h deleted file mode 100644 index 3325cf4bef..0000000000 --- a/src/lib/libcrypto/hidden/openssl/asn1.h +++ /dev/null | |||
@@ -1,262 +0,0 @@ | |||
1 | /* $OpenBSD: asn1.h,v 1.15 2024/07/08 17:01:54 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_ASN1_H | ||
19 | #define _LIBCRYPTO_ASN1_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/asn1.h> | ||
23 | #else | ||
24 | #include "../include/openssl/asn1.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(d2i_ASN1_SEQUENCE_ANY); | ||
29 | LCRYPTO_USED(i2d_ASN1_SEQUENCE_ANY); | ||
30 | LCRYPTO_USED(d2i_ASN1_SET_ANY); | ||
31 | LCRYPTO_USED(i2d_ASN1_SET_ANY); | ||
32 | LCRYPTO_USED(ASN1_TYPE_new); | ||
33 | LCRYPTO_USED(ASN1_TYPE_free); | ||
34 | LCRYPTO_USED(d2i_ASN1_TYPE); | ||
35 | LCRYPTO_USED(i2d_ASN1_TYPE); | ||
36 | LCRYPTO_USED(ASN1_TYPE_get); | ||
37 | LCRYPTO_USED(ASN1_TYPE_set); | ||
38 | LCRYPTO_USED(ASN1_TYPE_set1); | ||
39 | LCRYPTO_USED(ASN1_TYPE_cmp); | ||
40 | LCRYPTO_USED(ASN1_OBJECT_new); | ||
41 | LCRYPTO_USED(ASN1_OBJECT_free); | ||
42 | LCRYPTO_USED(i2d_ASN1_OBJECT); | ||
43 | LCRYPTO_USED(d2i_ASN1_OBJECT); | ||
44 | LCRYPTO_USED(ASN1_STRING_new); | ||
45 | LCRYPTO_USED(ASN1_STRING_free); | ||
46 | LCRYPTO_USED(ASN1_STRING_copy); | ||
47 | LCRYPTO_USED(ASN1_STRING_dup); | ||
48 | LCRYPTO_USED(ASN1_STRING_type_new); | ||
49 | LCRYPTO_USED(ASN1_STRING_cmp); | ||
50 | LCRYPTO_USED(ASN1_STRING_set); | ||
51 | LCRYPTO_USED(ASN1_STRING_set0); | ||
52 | LCRYPTO_USED(ASN1_STRING_length); | ||
53 | LCRYPTO_USED(ASN1_STRING_length_set); | ||
54 | LCRYPTO_USED(ASN1_STRING_type); | ||
55 | LCRYPTO_USED(ASN1_STRING_data); | ||
56 | LCRYPTO_USED(ASN1_STRING_get0_data); | ||
57 | LCRYPTO_USED(ASN1_BIT_STRING_new); | ||
58 | LCRYPTO_USED(ASN1_BIT_STRING_free); | ||
59 | LCRYPTO_USED(d2i_ASN1_BIT_STRING); | ||
60 | LCRYPTO_USED(i2d_ASN1_BIT_STRING); | ||
61 | LCRYPTO_USED(ASN1_BIT_STRING_set); | ||
62 | LCRYPTO_USED(ASN1_BIT_STRING_set_bit); | ||
63 | LCRYPTO_USED(ASN1_BIT_STRING_get_bit); | ||
64 | LCRYPTO_USED(ASN1_INTEGER_new); | ||
65 | LCRYPTO_USED(ASN1_INTEGER_free); | ||
66 | LCRYPTO_USED(d2i_ASN1_INTEGER); | ||
67 | LCRYPTO_USED(i2d_ASN1_INTEGER); | ||
68 | LCRYPTO_USED(d2i_ASN1_UINTEGER); | ||
69 | LCRYPTO_USED(ASN1_INTEGER_dup); | ||
70 | LCRYPTO_USED(ASN1_INTEGER_cmp); | ||
71 | LCRYPTO_USED(ASN1_ENUMERATED_new); | ||
72 | LCRYPTO_USED(ASN1_ENUMERATED_free); | ||
73 | LCRYPTO_USED(d2i_ASN1_ENUMERATED); | ||
74 | LCRYPTO_USED(i2d_ASN1_ENUMERATED); | ||
75 | LCRYPTO_USED(ASN1_UTCTIME_check); | ||
76 | LCRYPTO_USED(ASN1_UTCTIME_set); | ||
77 | LCRYPTO_USED(ASN1_UTCTIME_adj); | ||
78 | LCRYPTO_USED(ASN1_UTCTIME_set_string); | ||
79 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_check); | ||
80 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_set); | ||
81 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_adj); | ||
82 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_set_string); | ||
83 | LCRYPTO_USED(ASN1_OCTET_STRING_new); | ||
84 | LCRYPTO_USED(ASN1_OCTET_STRING_free); | ||
85 | LCRYPTO_USED(d2i_ASN1_OCTET_STRING); | ||
86 | LCRYPTO_USED(i2d_ASN1_OCTET_STRING); | ||
87 | LCRYPTO_USED(ASN1_OCTET_STRING_dup); | ||
88 | LCRYPTO_USED(ASN1_OCTET_STRING_cmp); | ||
89 | LCRYPTO_USED(ASN1_OCTET_STRING_set); | ||
90 | LCRYPTO_USED(ASN1_VISIBLESTRING_new); | ||
91 | LCRYPTO_USED(ASN1_VISIBLESTRING_free); | ||
92 | LCRYPTO_USED(d2i_ASN1_VISIBLESTRING); | ||
93 | LCRYPTO_USED(i2d_ASN1_VISIBLESTRING); | ||
94 | LCRYPTO_USED(ASN1_UNIVERSALSTRING_new); | ||
95 | LCRYPTO_USED(ASN1_UNIVERSALSTRING_free); | ||
96 | LCRYPTO_USED(d2i_ASN1_UNIVERSALSTRING); | ||
97 | LCRYPTO_USED(i2d_ASN1_UNIVERSALSTRING); | ||
98 | LCRYPTO_USED(ASN1_UTF8STRING_new); | ||
99 | LCRYPTO_USED(ASN1_UTF8STRING_free); | ||
100 | LCRYPTO_USED(d2i_ASN1_UTF8STRING); | ||
101 | LCRYPTO_USED(i2d_ASN1_UTF8STRING); | ||
102 | LCRYPTO_USED(ASN1_NULL_new); | ||
103 | LCRYPTO_USED(ASN1_NULL_free); | ||
104 | LCRYPTO_USED(d2i_ASN1_NULL); | ||
105 | LCRYPTO_USED(i2d_ASN1_NULL); | ||
106 | LCRYPTO_USED(ASN1_BMPSTRING_new); | ||
107 | LCRYPTO_USED(ASN1_BMPSTRING_free); | ||
108 | LCRYPTO_USED(d2i_ASN1_BMPSTRING); | ||
109 | LCRYPTO_USED(i2d_ASN1_BMPSTRING); | ||
110 | LCRYPTO_USED(ASN1_PRINTABLE_new); | ||
111 | LCRYPTO_USED(ASN1_PRINTABLE_free); | ||
112 | LCRYPTO_USED(d2i_ASN1_PRINTABLE); | ||
113 | LCRYPTO_USED(i2d_ASN1_PRINTABLE); | ||
114 | LCRYPTO_USED(DIRECTORYSTRING_new); | ||
115 | LCRYPTO_USED(DIRECTORYSTRING_free); | ||
116 | LCRYPTO_USED(d2i_DIRECTORYSTRING); | ||
117 | LCRYPTO_USED(i2d_DIRECTORYSTRING); | ||
118 | LCRYPTO_USED(DISPLAYTEXT_new); | ||
119 | LCRYPTO_USED(DISPLAYTEXT_free); | ||
120 | LCRYPTO_USED(d2i_DISPLAYTEXT); | ||
121 | LCRYPTO_USED(i2d_DISPLAYTEXT); | ||
122 | LCRYPTO_USED(ASN1_PRINTABLESTRING_new); | ||
123 | LCRYPTO_USED(ASN1_PRINTABLESTRING_free); | ||
124 | LCRYPTO_USED(d2i_ASN1_PRINTABLESTRING); | ||
125 | LCRYPTO_USED(i2d_ASN1_PRINTABLESTRING); | ||
126 | LCRYPTO_USED(ASN1_T61STRING_new); | ||
127 | LCRYPTO_USED(ASN1_T61STRING_free); | ||
128 | LCRYPTO_USED(d2i_ASN1_T61STRING); | ||
129 | LCRYPTO_USED(i2d_ASN1_T61STRING); | ||
130 | LCRYPTO_USED(ASN1_IA5STRING_new); | ||
131 | LCRYPTO_USED(ASN1_IA5STRING_free); | ||
132 | LCRYPTO_USED(d2i_ASN1_IA5STRING); | ||
133 | LCRYPTO_USED(i2d_ASN1_IA5STRING); | ||
134 | LCRYPTO_USED(ASN1_GENERALSTRING_new); | ||
135 | LCRYPTO_USED(ASN1_GENERALSTRING_free); | ||
136 | LCRYPTO_USED(d2i_ASN1_GENERALSTRING); | ||
137 | LCRYPTO_USED(i2d_ASN1_GENERALSTRING); | ||
138 | LCRYPTO_USED(ASN1_UTCTIME_new); | ||
139 | LCRYPTO_USED(ASN1_UTCTIME_free); | ||
140 | LCRYPTO_USED(d2i_ASN1_UTCTIME); | ||
141 | LCRYPTO_USED(i2d_ASN1_UTCTIME); | ||
142 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_new); | ||
143 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_free); | ||
144 | LCRYPTO_USED(d2i_ASN1_GENERALIZEDTIME); | ||
145 | LCRYPTO_USED(i2d_ASN1_GENERALIZEDTIME); | ||
146 | LCRYPTO_USED(ASN1_TIME_new); | ||
147 | LCRYPTO_USED(ASN1_TIME_free); | ||
148 | LCRYPTO_USED(d2i_ASN1_TIME); | ||
149 | LCRYPTO_USED(i2d_ASN1_TIME); | ||
150 | LCRYPTO_USED(ASN1_TIME_to_tm); | ||
151 | LCRYPTO_USED(ASN1_TIME_compare); | ||
152 | LCRYPTO_USED(ASN1_TIME_cmp_time_t); | ||
153 | LCRYPTO_USED(ASN1_TIME_normalize); | ||
154 | LCRYPTO_USED(ASN1_TIME_set_string_X509); | ||
155 | LCRYPTO_USED(ASN1_TIME_diff); | ||
156 | LCRYPTO_USED(ASN1_TIME_set); | ||
157 | LCRYPTO_USED(ASN1_TIME_adj); | ||
158 | LCRYPTO_USED(ASN1_TIME_check); | ||
159 | LCRYPTO_USED(ASN1_TIME_to_generalizedtime); | ||
160 | LCRYPTO_USED(ASN1_TIME_set_string); | ||
161 | LCRYPTO_USED(i2a_ASN1_INTEGER); | ||
162 | LCRYPTO_USED(a2i_ASN1_INTEGER); | ||
163 | LCRYPTO_USED(i2a_ASN1_ENUMERATED); | ||
164 | LCRYPTO_USED(a2i_ASN1_ENUMERATED); | ||
165 | LCRYPTO_USED(i2a_ASN1_OBJECT); | ||
166 | LCRYPTO_USED(a2i_ASN1_STRING); | ||
167 | LCRYPTO_USED(i2a_ASN1_STRING); | ||
168 | LCRYPTO_USED(i2t_ASN1_OBJECT); | ||
169 | LCRYPTO_USED(a2d_ASN1_OBJECT); | ||
170 | LCRYPTO_USED(ASN1_OBJECT_create); | ||
171 | LCRYPTO_USED(ASN1_INTEGER_get_uint64); | ||
172 | LCRYPTO_USED(ASN1_INTEGER_set_uint64); | ||
173 | LCRYPTO_USED(ASN1_INTEGER_get_int64); | ||
174 | LCRYPTO_USED(ASN1_INTEGER_set_int64); | ||
175 | LCRYPTO_USED(ASN1_INTEGER_set); | ||
176 | LCRYPTO_USED(ASN1_INTEGER_get); | ||
177 | LCRYPTO_USED(BN_to_ASN1_INTEGER); | ||
178 | LCRYPTO_USED(ASN1_INTEGER_to_BN); | ||
179 | LCRYPTO_USED(ASN1_ENUMERATED_get_int64); | ||
180 | LCRYPTO_USED(ASN1_ENUMERATED_set_int64); | ||
181 | LCRYPTO_USED(ASN1_ENUMERATED_set); | ||
182 | LCRYPTO_USED(ASN1_ENUMERATED_get); | ||
183 | LCRYPTO_USED(BN_to_ASN1_ENUMERATED); | ||
184 | LCRYPTO_USED(ASN1_ENUMERATED_to_BN); | ||
185 | LCRYPTO_USED(ASN1_PRINTABLE_type); | ||
186 | LCRYPTO_USED(ASN1_get_object); | ||
187 | LCRYPTO_USED(ASN1_put_object); | ||
188 | LCRYPTO_USED(ASN1_put_eoc); | ||
189 | LCRYPTO_USED(ASN1_object_size); | ||
190 | LCRYPTO_USED(ASN1_item_dup); | ||
191 | LCRYPTO_USED(ASN1_d2i_fp); | ||
192 | LCRYPTO_USED(ASN1_item_d2i_fp); | ||
193 | LCRYPTO_USED(ASN1_i2d_fp); | ||
194 | LCRYPTO_USED(ASN1_item_i2d_fp); | ||
195 | LCRYPTO_USED(ASN1_STRING_print_ex_fp); | ||
196 | LCRYPTO_USED(ASN1_STRING_to_UTF8); | ||
197 | LCRYPTO_USED(ASN1_d2i_bio); | ||
198 | LCRYPTO_USED(ASN1_item_d2i_bio); | ||
199 | LCRYPTO_USED(ASN1_i2d_bio); | ||
200 | LCRYPTO_USED(ASN1_item_i2d_bio); | ||
201 | LCRYPTO_USED(ASN1_UTCTIME_print); | ||
202 | LCRYPTO_USED(ASN1_GENERALIZEDTIME_print); | ||
203 | LCRYPTO_USED(ASN1_TIME_print); | ||
204 | LCRYPTO_USED(ASN1_STRING_print); | ||
205 | LCRYPTO_USED(ASN1_STRING_print_ex); | ||
206 | LCRYPTO_USED(ASN1_parse); | ||
207 | LCRYPTO_USED(ASN1_parse_dump); | ||
208 | LCRYPTO_USED(ASN1_tag2bit); | ||
209 | LCRYPTO_USED(ASN1_tag2str); | ||
210 | LCRYPTO_USED(ASN1_UNIVERSALSTRING_to_string); | ||
211 | LCRYPTO_USED(ASN1_TYPE_set_octetstring); | ||
212 | LCRYPTO_USED(ASN1_TYPE_get_octetstring); | ||
213 | LCRYPTO_USED(ASN1_TYPE_set_int_octetstring); | ||
214 | LCRYPTO_USED(ASN1_TYPE_get_int_octetstring); | ||
215 | LCRYPTO_USED(ASN1_item_pack); | ||
216 | LCRYPTO_USED(ASN1_item_unpack); | ||
217 | LCRYPTO_USED(ASN1_STRING_set_default_mask); | ||
218 | LCRYPTO_USED(ASN1_STRING_set_default_mask_asc); | ||
219 | LCRYPTO_USED(ASN1_STRING_get_default_mask); | ||
220 | LCRYPTO_USED(ASN1_mbstring_copy); | ||
221 | LCRYPTO_USED(ASN1_mbstring_ncopy); | ||
222 | LCRYPTO_USED(ASN1_STRING_set_by_NID); | ||
223 | LCRYPTO_USED(ASN1_STRING_TABLE_get); | ||
224 | LCRYPTO_USED(ASN1_item_new); | ||
225 | LCRYPTO_USED(ASN1_item_free); | ||
226 | LCRYPTO_USED(ASN1_item_d2i); | ||
227 | LCRYPTO_USED(ASN1_item_i2d); | ||
228 | LCRYPTO_USED(ASN1_generate_nconf); | ||
229 | LCRYPTO_USED(ASN1_generate_v3); | ||
230 | LCRYPTO_USED(ASN1_item_print); | ||
231 | LCRYPTO_USED(SMIME_crlf_copy); | ||
232 | LCRYPTO_USED(SMIME_text); | ||
233 | LCRYPTO_USED(ERR_load_ASN1_strings); | ||
234 | LCRYPTO_UNUSED(ASN1_UTCTIME_cmp_time_t); | ||
235 | LCRYPTO_UNUSED(ASN1_dup); | ||
236 | #if defined(LIBRESSL_NAMESPACE) | ||
237 | extern LCRYPTO_USED(ASN1_SEQUENCE_ANY_it); | ||
238 | extern LCRYPTO_USED(ASN1_SET_ANY_it); | ||
239 | extern LCRYPTO_USED(ASN1_ANY_it); | ||
240 | extern LCRYPTO_USED(ASN1_OBJECT_it); | ||
241 | extern LCRYPTO_USED(ASN1_BIT_STRING_it); | ||
242 | extern LCRYPTO_USED(ASN1_INTEGER_it); | ||
243 | extern LCRYPTO_USED(ASN1_ENUMERATED_it); | ||
244 | extern LCRYPTO_USED(ASN1_OCTET_STRING_it); | ||
245 | extern LCRYPTO_USED(ASN1_VISIBLESTRING_it); | ||
246 | extern LCRYPTO_USED(ASN1_UNIVERSALSTRING_it); | ||
247 | extern LCRYPTO_USED(ASN1_UTF8STRING_it); | ||
248 | extern LCRYPTO_USED(ASN1_NULL_it); | ||
249 | extern LCRYPTO_USED(ASN1_BMPSTRING_it); | ||
250 | extern LCRYPTO_USED(ASN1_PRINTABLE_it); | ||
251 | extern LCRYPTO_USED(DIRECTORYSTRING_it); | ||
252 | extern LCRYPTO_USED(DISPLAYTEXT_it); | ||
253 | extern LCRYPTO_USED(ASN1_PRINTABLESTRING_it); | ||
254 | extern LCRYPTO_USED(ASN1_T61STRING_it); | ||
255 | extern LCRYPTO_USED(ASN1_IA5STRING_it); | ||
256 | extern LCRYPTO_USED(ASN1_GENERALSTRING_it); | ||
257 | extern LCRYPTO_USED(ASN1_UTCTIME_it); | ||
258 | extern LCRYPTO_USED(ASN1_GENERALIZEDTIME_it); | ||
259 | extern LCRYPTO_USED(ASN1_TIME_it); | ||
260 | #endif | ||
261 | |||
262 | #endif /* _LIBCRYPTO_ASN1_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/asn1t.h b/src/lib/libcrypto/hidden/openssl/asn1t.h deleted file mode 100644 index 17bcb4e453..0000000000 --- a/src/lib/libcrypto/hidden/openssl/asn1t.h +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | /* $OpenBSD: asn1t.h,v 1.5 2024/07/08 17:01:54 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_ASN1T_H | ||
19 | #define _LIBCRYPTO_ASN1T_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/asn1t.h> | ||
23 | #else | ||
24 | #include "../include/openssl/asn1t.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(ASN1_item_ex_new); | ||
29 | LCRYPTO_USED(ASN1_item_ex_free); | ||
30 | LCRYPTO_USED(ASN1_item_ex_d2i); | ||
31 | LCRYPTO_USED(ASN1_item_ex_i2d); | ||
32 | #if defined(LIBRESSL_NAMESPACE) | ||
33 | extern LCRYPTO_USED(ASN1_SEQUENCE_it); | ||
34 | extern LCRYPTO_USED(BIGNUM_it); | ||
35 | extern LCRYPTO_USED(LONG_it); | ||
36 | extern LCRYPTO_USED(ZLONG_it); | ||
37 | extern LCRYPTO_UNUSED(CBIGNUM_it); | ||
38 | #endif | ||
39 | |||
40 | #endif /* _LIBCRYPTO_ASN1T_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/bio.h b/src/lib/libcrypto/hidden/openssl/bio.h deleted file mode 100644 index 03da75a795..0000000000 --- a/src/lib/libcrypto/hidden/openssl/bio.h +++ /dev/null | |||
@@ -1,142 +0,0 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.8 2024/07/09 06:14:59 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_BIO_H | ||
19 | #define _LIBCRYPTO_BIO_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/bio.h> | ||
23 | #else | ||
24 | #include "../include/openssl/bio.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(BIO_set_flags); | ||
29 | LCRYPTO_USED(BIO_test_flags); | ||
30 | LCRYPTO_USED(BIO_clear_flags); | ||
31 | LCRYPTO_USED(BIO_get_callback); | ||
32 | LCRYPTO_USED(BIO_set_callback); | ||
33 | LCRYPTO_USED(BIO_get_callback_ex); | ||
34 | LCRYPTO_USED(BIO_set_callback_ex); | ||
35 | LCRYPTO_USED(BIO_get_callback_arg); | ||
36 | LCRYPTO_USED(BIO_set_callback_arg); | ||
37 | LCRYPTO_USED(BIO_method_name); | ||
38 | LCRYPTO_USED(BIO_method_type); | ||
39 | LCRYPTO_USED(BIO_meth_new); | ||
40 | LCRYPTO_USED(BIO_meth_free); | ||
41 | LCRYPTO_USED(BIO_meth_get_write); | ||
42 | LCRYPTO_USED(BIO_meth_set_write); | ||
43 | LCRYPTO_USED(BIO_meth_get_read); | ||
44 | LCRYPTO_USED(BIO_meth_set_read); | ||
45 | LCRYPTO_USED(BIO_meth_get_puts); | ||
46 | LCRYPTO_USED(BIO_meth_set_puts); | ||
47 | LCRYPTO_USED(BIO_meth_get_gets); | ||
48 | LCRYPTO_USED(BIO_meth_set_gets); | ||
49 | LCRYPTO_USED(BIO_meth_get_ctrl); | ||
50 | LCRYPTO_USED(BIO_meth_set_ctrl); | ||
51 | LCRYPTO_USED(BIO_meth_get_create); | ||
52 | LCRYPTO_USED(BIO_meth_set_create); | ||
53 | LCRYPTO_USED(BIO_meth_get_destroy); | ||
54 | LCRYPTO_USED(BIO_meth_set_destroy); | ||
55 | LCRYPTO_USED(BIO_meth_get_callback_ctrl); | ||
56 | LCRYPTO_USED(BIO_meth_set_callback_ctrl); | ||
57 | LCRYPTO_USED(BIO_ctrl_pending); | ||
58 | LCRYPTO_USED(BIO_ctrl_wpending); | ||
59 | LCRYPTO_USED(BIO_ctrl_get_write_guarantee); | ||
60 | LCRYPTO_USED(BIO_ctrl_get_read_request); | ||
61 | LCRYPTO_USED(BIO_ctrl_reset_read_request); | ||
62 | LCRYPTO_USED(BIO_set_ex_data); | ||
63 | LCRYPTO_USED(BIO_get_ex_data); | ||
64 | LCRYPTO_USED(BIO_number_read); | ||
65 | LCRYPTO_USED(BIO_number_written); | ||
66 | LCRYPTO_USED(BIO_get_new_index); | ||
67 | LCRYPTO_USED(BIO_s_file); | ||
68 | LCRYPTO_USED(BIO_new_file); | ||
69 | LCRYPTO_USED(BIO_new_fp); | ||
70 | LCRYPTO_USED(BIO_new); | ||
71 | LCRYPTO_USED(BIO_free); | ||
72 | LCRYPTO_USED(BIO_up_ref); | ||
73 | LCRYPTO_USED(BIO_get_data); | ||
74 | LCRYPTO_USED(BIO_set_data); | ||
75 | LCRYPTO_USED(BIO_get_init); | ||
76 | LCRYPTO_USED(BIO_set_init); | ||
77 | LCRYPTO_USED(BIO_get_shutdown); | ||
78 | LCRYPTO_USED(BIO_set_shutdown); | ||
79 | LCRYPTO_USED(BIO_vfree); | ||
80 | LCRYPTO_USED(BIO_read); | ||
81 | LCRYPTO_USED(BIO_gets); | ||
82 | LCRYPTO_USED(BIO_write); | ||
83 | LCRYPTO_USED(BIO_puts); | ||
84 | LCRYPTO_USED(BIO_indent); | ||
85 | LCRYPTO_USED(BIO_ctrl); | ||
86 | LCRYPTO_USED(BIO_callback_ctrl); | ||
87 | LCRYPTO_USED(BIO_ptr_ctrl); | ||
88 | LCRYPTO_USED(BIO_int_ctrl); | ||
89 | LCRYPTO_USED(BIO_push); | ||
90 | LCRYPTO_USED(BIO_pop); | ||
91 | LCRYPTO_USED(BIO_free_all); | ||
92 | LCRYPTO_USED(BIO_find_type); | ||
93 | LCRYPTO_USED(BIO_next); | ||
94 | LCRYPTO_USED(BIO_set_next); | ||
95 | LCRYPTO_USED(BIO_get_retry_BIO); | ||
96 | LCRYPTO_USED(BIO_get_retry_reason); | ||
97 | LCRYPTO_USED(BIO_set_retry_reason); | ||
98 | LCRYPTO_USED(BIO_dup_chain); | ||
99 | LCRYPTO_USED(BIO_debug_callback); | ||
100 | LCRYPTO_USED(BIO_s_mem); | ||
101 | LCRYPTO_USED(BIO_new_mem_buf); | ||
102 | LCRYPTO_USED(BIO_s_socket); | ||
103 | LCRYPTO_USED(BIO_s_connect); | ||
104 | LCRYPTO_USED(BIO_s_accept); | ||
105 | LCRYPTO_USED(BIO_s_fd); | ||
106 | LCRYPTO_USED(BIO_s_log); | ||
107 | LCRYPTO_USED(BIO_s_bio); | ||
108 | LCRYPTO_USED(BIO_s_null); | ||
109 | LCRYPTO_USED(BIO_f_null); | ||
110 | LCRYPTO_USED(BIO_f_buffer); | ||
111 | LCRYPTO_USED(BIO_f_nbio_test); | ||
112 | LCRYPTO_USED(BIO_s_datagram); | ||
113 | LCRYPTO_USED(BIO_sock_should_retry); | ||
114 | LCRYPTO_USED(BIO_sock_non_fatal_error); | ||
115 | LCRYPTO_USED(BIO_dgram_non_fatal_error); | ||
116 | LCRYPTO_USED(BIO_fd_should_retry); | ||
117 | LCRYPTO_USED(BIO_fd_non_fatal_error); | ||
118 | LCRYPTO_USED(BIO_dump); | ||
119 | LCRYPTO_USED(BIO_dump_indent); | ||
120 | LCRYPTO_USED(BIO_gethostbyname); | ||
121 | LCRYPTO_USED(BIO_sock_error); | ||
122 | LCRYPTO_USED(BIO_socket_ioctl); | ||
123 | LCRYPTO_USED(BIO_socket_nbio); | ||
124 | LCRYPTO_USED(BIO_get_port); | ||
125 | LCRYPTO_USED(BIO_get_host_ip); | ||
126 | LCRYPTO_USED(BIO_get_accept_socket); | ||
127 | LCRYPTO_USED(BIO_accept); | ||
128 | LCRYPTO_USED(BIO_sock_init); | ||
129 | LCRYPTO_USED(BIO_sock_cleanup); | ||
130 | LCRYPTO_USED(BIO_set_tcp_ndelay); | ||
131 | LCRYPTO_USED(BIO_new_socket); | ||
132 | LCRYPTO_USED(BIO_new_dgram); | ||
133 | LCRYPTO_USED(BIO_new_fd); | ||
134 | LCRYPTO_USED(BIO_new_connect); | ||
135 | LCRYPTO_USED(BIO_new_accept); | ||
136 | LCRYPTO_USED(BIO_copy_next_retry); | ||
137 | LCRYPTO_USED(BIO_printf); | ||
138 | LCRYPTO_USED(ERR_load_BIO_strings); | ||
139 | LCRYPTO_USED(BIO_get_ex_new_index); | ||
140 | LCRYPTO_USED(BIO_new_bio_pair); | ||
141 | |||
142 | #endif /* _LIBCRYPTO_BIO_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/blowfish.h b/src/lib/libcrypto/hidden/openssl/blowfish.h deleted file mode 100644 index e9a0d98fe8..0000000000 --- a/src/lib/libcrypto/hidden/openssl/blowfish.h +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* $OpenBSD: blowfish.h,v 1.1 2024/03/29 02:37:20 joshua Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
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_BLOWFISH_H | ||
19 | #define _LIBCRYPTO_BLOWFISH_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/blowfish.h> | ||
23 | #else | ||
24 | #include "../include/openssl/blowfish.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(BF_set_key); | ||
29 | LCRYPTO_USED(BF_encrypt); | ||
30 | LCRYPTO_USED(BF_decrypt); | ||
31 | LCRYPTO_USED(BF_ecb_encrypt); | ||
32 | LCRYPTO_USED(BF_cbc_encrypt); | ||
33 | LCRYPTO_USED(BF_cfb64_encrypt); | ||
34 | LCRYPTO_USED(BF_ofb64_encrypt); | ||
35 | |||
36 | #endif /* _LIBCRYPTO_BLOWFISH_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/bn.h b/src/lib/libcrypto/hidden/openssl/bn.h deleted file mode 100644 index af3465c790..0000000000 --- a/src/lib/libcrypto/hidden/openssl/bn.h +++ /dev/null | |||
@@ -1,145 +0,0 @@ | |||
1 | /* $OpenBSD: bn.h,v 1.7 2024/04/10 14:58:06 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_BN_H | ||
19 | #define _LIBCRYPTO_BN_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/bn.h> | ||
23 | #else | ||
24 | #include "../include/openssl/bn.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(BN_set_flags); | ||
29 | LCRYPTO_USED(BN_get_flags); | ||
30 | LCRYPTO_USED(BN_with_flags); | ||
31 | LCRYPTO_USED(BN_GENCB_new); | ||
32 | LCRYPTO_USED(BN_GENCB_free); | ||
33 | LCRYPTO_USED(BN_GENCB_call); | ||
34 | LCRYPTO_USED(BN_GENCB_set_old); | ||
35 | LCRYPTO_USED(BN_GENCB_set); | ||
36 | LCRYPTO_USED(BN_GENCB_get_arg); | ||
37 | LCRYPTO_USED(BN_abs_is_word); | ||
38 | LCRYPTO_USED(BN_is_zero); | ||
39 | LCRYPTO_USED(BN_is_one); | ||
40 | LCRYPTO_USED(BN_is_word); | ||
41 | LCRYPTO_USED(BN_is_odd); | ||
42 | LCRYPTO_USED(BN_zero); | ||
43 | LCRYPTO_USED(BN_one); | ||
44 | LCRYPTO_USED(BN_value_one); | ||
45 | LCRYPTO_USED(BN_CTX_new); | ||
46 | LCRYPTO_USED(BN_CTX_free); | ||
47 | LCRYPTO_USED(BN_CTX_start); | ||
48 | LCRYPTO_USED(BN_CTX_get); | ||
49 | LCRYPTO_USED(BN_CTX_end); | ||
50 | LCRYPTO_USED(BN_rand); | ||
51 | LCRYPTO_USED(BN_pseudo_rand); | ||
52 | LCRYPTO_USED(BN_rand_range); | ||
53 | LCRYPTO_USED(BN_pseudo_rand_range); | ||
54 | LCRYPTO_USED(BN_num_bits); | ||
55 | LCRYPTO_USED(BN_num_bits_word); | ||
56 | LCRYPTO_USED(BN_new); | ||
57 | LCRYPTO_USED(BN_clear_free); | ||
58 | LCRYPTO_USED(BN_copy); | ||
59 | LCRYPTO_USED(BN_swap); | ||
60 | LCRYPTO_USED(BN_bin2bn); | ||
61 | LCRYPTO_USED(BN_bn2bin); | ||
62 | LCRYPTO_USED(BN_bn2binpad); | ||
63 | LCRYPTO_USED(BN_lebin2bn); | ||
64 | LCRYPTO_USED(BN_bn2lebinpad); | ||
65 | LCRYPTO_USED(BN_mpi2bn); | ||
66 | LCRYPTO_USED(BN_bn2mpi); | ||
67 | LCRYPTO_USED(BN_sub); | ||
68 | LCRYPTO_USED(BN_usub); | ||
69 | LCRYPTO_USED(BN_uadd); | ||
70 | LCRYPTO_USED(BN_add); | ||
71 | LCRYPTO_USED(BN_mul); | ||
72 | LCRYPTO_USED(BN_sqr); | ||
73 | LCRYPTO_USED(BN_set_negative); | ||
74 | LCRYPTO_USED(BN_is_negative); | ||
75 | LCRYPTO_USED(BN_nnmod); | ||
76 | LCRYPTO_USED(BN_mod_add); | ||
77 | LCRYPTO_USED(BN_mod_add_quick); | ||
78 | LCRYPTO_USED(BN_mod_sub); | ||
79 | LCRYPTO_USED(BN_mod_sub_quick); | ||
80 | LCRYPTO_USED(BN_mod_mul); | ||
81 | LCRYPTO_USED(BN_mod_sqr); | ||
82 | LCRYPTO_USED(BN_mod_lshift1); | ||
83 | LCRYPTO_USED(BN_mod_lshift1_quick); | ||
84 | LCRYPTO_USED(BN_mod_lshift); | ||
85 | LCRYPTO_USED(BN_mod_lshift_quick); | ||
86 | LCRYPTO_USED(BN_mod_word); | ||
87 | LCRYPTO_USED(BN_div_word); | ||
88 | LCRYPTO_USED(BN_mul_word); | ||
89 | LCRYPTO_USED(BN_add_word); | ||
90 | LCRYPTO_USED(BN_sub_word); | ||
91 | LCRYPTO_USED(BN_set_word); | ||
92 | LCRYPTO_USED(BN_get_word); | ||
93 | LCRYPTO_USED(BN_cmp); | ||
94 | LCRYPTO_USED(BN_free); | ||
95 | LCRYPTO_USED(BN_is_bit_set); | ||
96 | LCRYPTO_USED(BN_lshift); | ||
97 | LCRYPTO_USED(BN_lshift1); | ||
98 | LCRYPTO_USED(BN_exp); | ||
99 | LCRYPTO_USED(BN_mod_exp_mont_consttime); | ||
100 | LCRYPTO_USED(BN_mask_bits); | ||
101 | LCRYPTO_USED(BN_print_fp); | ||
102 | LCRYPTO_USED(BN_print); | ||
103 | LCRYPTO_USED(BN_rshift); | ||
104 | LCRYPTO_USED(BN_rshift1); | ||
105 | LCRYPTO_USED(BN_clear); | ||
106 | LCRYPTO_USED(BN_dup); | ||
107 | LCRYPTO_USED(BN_ucmp); | ||
108 | LCRYPTO_USED(BN_set_bit); | ||
109 | LCRYPTO_USED(BN_clear_bit); | ||
110 | LCRYPTO_USED(BN_bn2hex); | ||
111 | LCRYPTO_USED(BN_bn2dec); | ||
112 | LCRYPTO_USED(BN_hex2bn); | ||
113 | LCRYPTO_USED(BN_dec2bn); | ||
114 | LCRYPTO_USED(BN_asc2bn); | ||
115 | LCRYPTO_USED(BN_kronecker); | ||
116 | LCRYPTO_USED(BN_mod_sqrt); | ||
117 | LCRYPTO_USED(BN_consttime_swap); | ||
118 | LCRYPTO_USED(BN_security_bits); | ||
119 | LCRYPTO_USED(BN_generate_prime_ex); | ||
120 | LCRYPTO_USED(BN_is_prime_ex); | ||
121 | LCRYPTO_USED(BN_is_prime_fasttest_ex); | ||
122 | LCRYPTO_USED(BN_MONT_CTX_new); | ||
123 | LCRYPTO_USED(BN_mod_mul_montgomery); | ||
124 | LCRYPTO_USED(BN_to_montgomery); | ||
125 | LCRYPTO_USED(BN_from_montgomery); | ||
126 | LCRYPTO_USED(BN_MONT_CTX_free); | ||
127 | LCRYPTO_USED(BN_MONT_CTX_set); | ||
128 | LCRYPTO_USED(BN_MONT_CTX_copy); | ||
129 | LCRYPTO_USED(BN_MONT_CTX_set_locked); | ||
130 | LCRYPTO_USED(BN_get_rfc2409_prime_768); | ||
131 | LCRYPTO_USED(BN_get_rfc2409_prime_1024); | ||
132 | LCRYPTO_USED(BN_get_rfc3526_prime_1536); | ||
133 | LCRYPTO_USED(BN_get_rfc3526_prime_2048); | ||
134 | LCRYPTO_USED(BN_get_rfc3526_prime_3072); | ||
135 | LCRYPTO_USED(BN_get_rfc3526_prime_4096); | ||
136 | LCRYPTO_USED(BN_get_rfc3526_prime_6144); | ||
137 | LCRYPTO_USED(BN_get_rfc3526_prime_8192); | ||
138 | LCRYPTO_USED(ERR_load_BN_strings); | ||
139 | LCRYPTO_UNUSED(BN_div); | ||
140 | LCRYPTO_UNUSED(BN_mod_exp); | ||
141 | LCRYPTO_UNUSED(BN_mod_exp_mont); | ||
142 | LCRYPTO_UNUSED(BN_gcd); | ||
143 | LCRYPTO_UNUSED(BN_mod_inverse); | ||
144 | |||
145 | #endif /* _LIBCRYPTO_BN_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/buffer.h b/src/lib/libcrypto/hidden/openssl/buffer.h deleted file mode 100644 index 8dd86277f6..0000000000 --- a/src/lib/libcrypto/hidden/openssl/buffer.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* $OpenBSD: buffer.h,v 1.1 2023/07/08 08:26:26 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_BUFFER_H | ||
19 | #define _LIBCRYPTO_BUFFER_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/buffer.h> | ||
23 | #else | ||
24 | #include "../include/openssl/buffer.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(BUF_MEM_new); | ||
29 | LCRYPTO_USED(BUF_MEM_free); | ||
30 | LCRYPTO_USED(BUF_MEM_grow); | ||
31 | LCRYPTO_USED(BUF_MEM_grow_clean); | ||
32 | LCRYPTO_USED(ERR_load_BUF_strings); | ||
33 | |||
34 | #endif /* _LIBCRYPTO_BUFFER_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/camellia.h b/src/lib/libcrypto/hidden/openssl/camellia.h deleted file mode 100644 index bf7f43b1b3..0000000000 --- a/src/lib/libcrypto/hidden/openssl/camellia.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* $OpenBSD: camellia.h,v 1.1 2024/03/30 04:58:12 joshua Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
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_CAMELLIA_H | ||
19 | #define _LIBCRYPTO_CAMELLIA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/camellia.h> | ||
23 | #else | ||
24 | #include "../include/openssl/camellia.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(Camellia_set_key); | ||
29 | LCRYPTO_USED(Camellia_encrypt); | ||
30 | LCRYPTO_USED(Camellia_decrypt); | ||
31 | LCRYPTO_USED(Camellia_ecb_encrypt); | ||
32 | LCRYPTO_USED(Camellia_cbc_encrypt); | ||
33 | LCRYPTO_USED(Camellia_cfb128_encrypt); | ||
34 | LCRYPTO_USED(Camellia_cfb1_encrypt); | ||
35 | LCRYPTO_USED(Camellia_cfb8_encrypt); | ||
36 | LCRYPTO_USED(Camellia_ofb128_encrypt); | ||
37 | LCRYPTO_USED(Camellia_ctr128_encrypt); | ||
38 | |||
39 | #endif /* _LIBCRYPTO_CAMELLIA_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/cast.h b/src/lib/libcrypto/hidden/openssl/cast.h deleted file mode 100644 index 68cf618266..0000000000 --- a/src/lib/libcrypto/hidden/openssl/cast.h +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* $OpenBSD: cast.h,v 1.1 2023/07/08 10:44:00 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_CAST_H | ||
19 | #define _LIBCRYPTO_CAST_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/cast.h> | ||
23 | #else | ||
24 | #include "../include/openssl/cast.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(CAST_set_key); | ||
29 | LCRYPTO_USED(CAST_ecb_encrypt); | ||
30 | LCRYPTO_USED(CAST_encrypt); | ||
31 | LCRYPTO_USED(CAST_decrypt); | ||
32 | LCRYPTO_USED(CAST_cbc_encrypt); | ||
33 | LCRYPTO_USED(CAST_cfb64_encrypt); | ||
34 | LCRYPTO_USED(CAST_ofb64_encrypt); | ||
35 | |||
36 | #endif /* _LIBCRYPTO_CAST_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/chacha.h b/src/lib/libcrypto/hidden/openssl/chacha.h deleted file mode 100644 index a9f3b7e908..0000000000 --- a/src/lib/libcrypto/hidden/openssl/chacha.h +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | /* $OpenBSD: chacha.h,v 1.3 2023/07/07 19:37:54 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_CHACHA_H | ||
19 | #define _LIBCRYPTO_CHACHA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/chacha.h> | ||
23 | #else | ||
24 | #include "../include/openssl/chacha.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(ChaCha_set_key); | ||
29 | LCRYPTO_USED(ChaCha_set_iv); | ||
30 | LCRYPTO_USED(ChaCha); | ||
31 | LCRYPTO_USED(CRYPTO_chacha_20); | ||
32 | LCRYPTO_USED(CRYPTO_xchacha_20); | ||
33 | LCRYPTO_USED(CRYPTO_hchacha_20); | ||
34 | |||
35 | #endif /* _LIBCRYPTO_CHACHA_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/cmac.h b/src/lib/libcrypto/hidden/openssl/cmac.h deleted file mode 100644 index 1e802aa887..0000000000 --- a/src/lib/libcrypto/hidden/openssl/cmac.h +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | /* $OpenBSD: cmac.h,v 1.2 2024/03/02 09:30:21 tb 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_CMAC_H | ||
19 | #define _LIBCRYPTO_CMAC_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/cmac.h> | ||
23 | #else | ||
24 | #include "../include/openssl/cmac.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(CMAC_CTX_new); | ||
29 | LCRYPTO_USED(CMAC_CTX_cleanup); | ||
30 | LCRYPTO_USED(CMAC_CTX_free); | ||
31 | LCRYPTO_USED(CMAC_CTX_get0_cipher_ctx); | ||
32 | LCRYPTO_USED(CMAC_CTX_copy); | ||
33 | LCRYPTO_USED(CMAC_Init); | ||
34 | LCRYPTO_USED(CMAC_Update); | ||
35 | LCRYPTO_USED(CMAC_Final); | ||
36 | |||
37 | #endif /* _LIBCRYPTO_CMAC_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/cms.h b/src/lib/libcrypto/hidden/openssl/cms.h deleted file mode 100644 index a99c977755..0000000000 --- a/src/lib/libcrypto/hidden/openssl/cms.h +++ /dev/null | |||
@@ -1,161 +0,0 @@ | |||
1 | /* $OpenBSD: cms.h,v 1.4 2024/07/09 06:12:45 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_CMS_H | ||
19 | #define _LIBCRYPTO_CMS_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/cms.h> | ||
23 | #else | ||
24 | #include "../include/openssl/cms.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(CMS_ContentInfo_new); | ||
29 | LCRYPTO_USED(CMS_ContentInfo_free); | ||
30 | LCRYPTO_USED(d2i_CMS_ContentInfo); | ||
31 | LCRYPTO_USED(i2d_CMS_ContentInfo); | ||
32 | LCRYPTO_USED(CMS_ReceiptRequest_new); | ||
33 | LCRYPTO_USED(CMS_ReceiptRequest_free); | ||
34 | LCRYPTO_USED(d2i_CMS_ReceiptRequest); | ||
35 | LCRYPTO_USED(i2d_CMS_ReceiptRequest); | ||
36 | LCRYPTO_USED(CMS_ContentInfo_print_ctx); | ||
37 | LCRYPTO_USED(CMS_get0_type); | ||
38 | LCRYPTO_USED(CMS_get_version); | ||
39 | LCRYPTO_USED(CMS_SignerInfo_get_version); | ||
40 | LCRYPTO_USED(CMS_dataInit); | ||
41 | LCRYPTO_USED(CMS_dataFinal); | ||
42 | LCRYPTO_USED(CMS_get0_content); | ||
43 | LCRYPTO_USED(CMS_is_detached); | ||
44 | LCRYPTO_USED(CMS_set_detached); | ||
45 | LCRYPTO_USED(PEM_read_bio_CMS); | ||
46 | LCRYPTO_USED(PEM_read_CMS); | ||
47 | LCRYPTO_USED(PEM_write_bio_CMS); | ||
48 | LCRYPTO_USED(PEM_write_CMS); | ||
49 | LCRYPTO_USED(CMS_stream); | ||
50 | LCRYPTO_USED(d2i_CMS_bio); | ||
51 | LCRYPTO_USED(i2d_CMS_bio); | ||
52 | LCRYPTO_USED(BIO_new_CMS); | ||
53 | LCRYPTO_USED(i2d_CMS_bio_stream); | ||
54 | LCRYPTO_USED(PEM_write_bio_CMS_stream); | ||
55 | LCRYPTO_USED(SMIME_read_CMS); | ||
56 | LCRYPTO_USED(SMIME_write_CMS); | ||
57 | LCRYPTO_USED(CMS_final); | ||
58 | LCRYPTO_USED(CMS_sign); | ||
59 | LCRYPTO_USED(CMS_sign_receipt); | ||
60 | LCRYPTO_USED(CMS_data); | ||
61 | LCRYPTO_USED(CMS_data_create); | ||
62 | LCRYPTO_USED(CMS_digest_verify); | ||
63 | LCRYPTO_USED(CMS_digest_create); | ||
64 | LCRYPTO_USED(CMS_EncryptedData_decrypt); | ||
65 | LCRYPTO_USED(CMS_EncryptedData_encrypt); | ||
66 | LCRYPTO_USED(CMS_EncryptedData_set1_key); | ||
67 | LCRYPTO_USED(CMS_verify); | ||
68 | LCRYPTO_USED(CMS_verify_receipt); | ||
69 | LCRYPTO_USED(CMS_get0_signers); | ||
70 | LCRYPTO_USED(CMS_encrypt); | ||
71 | LCRYPTO_USED(CMS_decrypt); | ||
72 | LCRYPTO_USED(CMS_decrypt_set1_pkey); | ||
73 | LCRYPTO_USED(CMS_decrypt_set1_key); | ||
74 | LCRYPTO_USED(CMS_decrypt_set1_password); | ||
75 | LCRYPTO_USED(CMS_get0_RecipientInfos); | ||
76 | LCRYPTO_USED(CMS_RecipientInfo_type); | ||
77 | LCRYPTO_USED(CMS_RecipientInfo_get0_pkey_ctx); | ||
78 | LCRYPTO_USED(CMS_EnvelopedData_create); | ||
79 | LCRYPTO_USED(CMS_add1_recipient_cert); | ||
80 | LCRYPTO_USED(CMS_RecipientInfo_set0_pkey); | ||
81 | LCRYPTO_USED(CMS_RecipientInfo_ktri_cert_cmp); | ||
82 | LCRYPTO_USED(CMS_RecipientInfo_ktri_get0_algs); | ||
83 | LCRYPTO_USED(CMS_RecipientInfo_ktri_get0_signer_id); | ||
84 | LCRYPTO_USED(CMS_add0_recipient_key); | ||
85 | LCRYPTO_USED(CMS_RecipientInfo_kekri_get0_id); | ||
86 | LCRYPTO_USED(CMS_RecipientInfo_set0_key); | ||
87 | LCRYPTO_USED(CMS_RecipientInfo_kekri_id_cmp); | ||
88 | LCRYPTO_USED(CMS_RecipientInfo_set0_password); | ||
89 | LCRYPTO_USED(CMS_add0_recipient_password); | ||
90 | LCRYPTO_USED(CMS_RecipientInfo_decrypt); | ||
91 | LCRYPTO_USED(CMS_RecipientInfo_encrypt); | ||
92 | LCRYPTO_USED(CMS_uncompress); | ||
93 | LCRYPTO_USED(CMS_compress); | ||
94 | LCRYPTO_USED(CMS_set1_eContentType); | ||
95 | LCRYPTO_USED(CMS_get0_eContentType); | ||
96 | LCRYPTO_USED(CMS_add0_CertificateChoices); | ||
97 | LCRYPTO_USED(CMS_add0_cert); | ||
98 | LCRYPTO_USED(CMS_add1_cert); | ||
99 | LCRYPTO_USED(CMS_get1_certs); | ||
100 | LCRYPTO_USED(CMS_add0_RevocationInfoChoice); | ||
101 | LCRYPTO_USED(CMS_add0_crl); | ||
102 | LCRYPTO_USED(CMS_add1_crl); | ||
103 | LCRYPTO_USED(CMS_get1_crls); | ||
104 | LCRYPTO_USED(CMS_SignedData_init); | ||
105 | LCRYPTO_USED(CMS_add1_signer); | ||
106 | LCRYPTO_USED(CMS_SignerInfo_get0_pkey_ctx); | ||
107 | LCRYPTO_USED(CMS_SignerInfo_get0_md_ctx); | ||
108 | LCRYPTO_USED(CMS_get0_SignerInfos); | ||
109 | LCRYPTO_USED(CMS_SignerInfo_set1_signer_cert); | ||
110 | LCRYPTO_USED(CMS_SignerInfo_get0_signer_id); | ||
111 | LCRYPTO_USED(CMS_SignerInfo_cert_cmp); | ||
112 | LCRYPTO_USED(CMS_set1_signers_certs); | ||
113 | LCRYPTO_USED(CMS_SignerInfo_get0_algs); | ||
114 | LCRYPTO_USED(CMS_SignerInfo_get0_signature); | ||
115 | LCRYPTO_USED(CMS_SignerInfo_sign); | ||
116 | LCRYPTO_USED(CMS_SignerInfo_verify); | ||
117 | LCRYPTO_USED(CMS_SignerInfo_verify_content); | ||
118 | LCRYPTO_USED(CMS_add_smimecap); | ||
119 | LCRYPTO_USED(CMS_add_simple_smimecap); | ||
120 | LCRYPTO_USED(CMS_add_standard_smimecap); | ||
121 | LCRYPTO_USED(CMS_signed_get_attr_count); | ||
122 | LCRYPTO_USED(CMS_signed_get_attr_by_NID); | ||
123 | LCRYPTO_USED(CMS_signed_get_attr_by_OBJ); | ||
124 | LCRYPTO_USED(CMS_signed_get_attr); | ||
125 | LCRYPTO_USED(CMS_signed_delete_attr); | ||
126 | LCRYPTO_USED(CMS_signed_add1_attr); | ||
127 | LCRYPTO_USED(CMS_signed_add1_attr_by_OBJ); | ||
128 | LCRYPTO_USED(CMS_signed_add1_attr_by_NID); | ||
129 | LCRYPTO_USED(CMS_signed_add1_attr_by_txt); | ||
130 | LCRYPTO_USED(CMS_signed_get0_data_by_OBJ); | ||
131 | LCRYPTO_USED(CMS_unsigned_get_attr_count); | ||
132 | LCRYPTO_USED(CMS_unsigned_get_attr_by_NID); | ||
133 | LCRYPTO_USED(CMS_unsigned_get_attr_by_OBJ); | ||
134 | LCRYPTO_USED(CMS_unsigned_get_attr); | ||
135 | LCRYPTO_USED(CMS_unsigned_delete_attr); | ||
136 | LCRYPTO_USED(CMS_unsigned_add1_attr); | ||
137 | LCRYPTO_USED(CMS_unsigned_add1_attr_by_OBJ); | ||
138 | LCRYPTO_USED(CMS_unsigned_add1_attr_by_NID); | ||
139 | LCRYPTO_USED(CMS_unsigned_add1_attr_by_txt); | ||
140 | LCRYPTO_USED(CMS_unsigned_get0_data_by_OBJ); | ||
141 | LCRYPTO_USED(CMS_get1_ReceiptRequest); | ||
142 | LCRYPTO_USED(CMS_ReceiptRequest_create0); | ||
143 | LCRYPTO_USED(CMS_add1_ReceiptRequest); | ||
144 | LCRYPTO_USED(CMS_ReceiptRequest_get0_values); | ||
145 | LCRYPTO_USED(CMS_RecipientInfo_kari_get0_alg); | ||
146 | LCRYPTO_USED(CMS_RecipientInfo_kari_get0_reks); | ||
147 | LCRYPTO_USED(CMS_RecipientInfo_kari_get0_orig_id); | ||
148 | LCRYPTO_USED(CMS_RecipientInfo_kari_orig_id_cmp); | ||
149 | LCRYPTO_USED(CMS_RecipientEncryptedKey_get0_id); | ||
150 | LCRYPTO_USED(CMS_RecipientEncryptedKey_cert_cmp); | ||
151 | LCRYPTO_USED(CMS_RecipientInfo_kari_set0_pkey); | ||
152 | LCRYPTO_USED(CMS_RecipientInfo_kari_get0_ctx); | ||
153 | LCRYPTO_USED(CMS_RecipientInfo_kari_decrypt); | ||
154 | LCRYPTO_USED(CMS_SharedInfo_encode); | ||
155 | LCRYPTO_USED(ERR_load_CMS_strings); | ||
156 | #if defined(LIBRESSL_NAMESPACE) | ||
157 | extern LCRYPTO_USED(CMS_ContentInfo_it); | ||
158 | extern LCRYPTO_USED(CMS_ReceiptRequest_it); | ||
159 | #endif | ||
160 | |||
161 | #endif /* _LIBCRYPTO_CMS_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/conf.h b/src/lib/libcrypto/hidden/openssl/conf.h deleted file mode 100644 index f3780985b8..0000000000 --- a/src/lib/libcrypto/hidden/openssl/conf.h +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | /* $OpenBSD: conf.h,v 1.9 2024/08/31 09:54:31 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 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_CONF_H | ||
19 | #define _LIBCRYPTO_CONF_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/conf.h> | ||
23 | #else | ||
24 | #include "../include/openssl/conf.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(OPENSSL_config); | ||
29 | LCRYPTO_USED(OPENSSL_no_config); | ||
30 | LCRYPTO_USED(NCONF_new); | ||
31 | LCRYPTO_USED(NCONF_free); | ||
32 | LCRYPTO_USED(NCONF_load); | ||
33 | LCRYPTO_USED(NCONF_load_bio); | ||
34 | LCRYPTO_USED(NCONF_get_section); | ||
35 | LCRYPTO_USED(NCONF_get_string); | ||
36 | LCRYPTO_USED(NCONF_get_number_e); | ||
37 | LCRYPTO_USED(CONF_modules_load); | ||
38 | LCRYPTO_USED(CONF_modules_load_file); | ||
39 | LCRYPTO_USED(CONF_modules_unload); | ||
40 | LCRYPTO_USED(CONF_modules_finish); | ||
41 | LCRYPTO_USED(CONF_modules_free); | ||
42 | LCRYPTO_USED(CONF_get1_default_config_file); | ||
43 | LCRYPTO_USED(ERR_load_CONF_strings); | ||
44 | |||
45 | #endif /* _LIBCRYPTO_CONF_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/crypto.h b/src/lib/libcrypto/hidden/openssl/crypto.h deleted file mode 100644 index fcaea05d48..0000000000 --- a/src/lib/libcrypto/hidden/openssl/crypto.h +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | /* $OpenBSD: crypto.h,v 1.9 2025/03/09 15:29:56 tb 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 | |||
28 | LCRYPTO_USED(OpenSSL_version); | ||
29 | LCRYPTO_USED(OpenSSL_version_num); | ||
30 | LCRYPTO_USED(SSLeay_version); | ||
31 | LCRYPTO_USED(SSLeay); | ||
32 | LCRYPTO_USED(CRYPTO_get_ex_new_index); | ||
33 | LCRYPTO_USED(CRYPTO_new_ex_data); | ||
34 | LCRYPTO_USED(CRYPTO_dup_ex_data); | ||
35 | LCRYPTO_USED(CRYPTO_free_ex_data); | ||
36 | LCRYPTO_USED(CRYPTO_set_ex_data); | ||
37 | LCRYPTO_USED(CRYPTO_get_ex_data); | ||
38 | LCRYPTO_USED(CRYPTO_cleanup_all_ex_data); | ||
39 | LCRYPTO_USED(CRYPTO_lock); | ||
40 | LCRYPTO_USED(CRYPTO_add_lock); | ||
41 | LCRYPTO_USED(CRYPTO_set_mem_functions); | ||
42 | LCRYPTO_USED(OpenSSLDie); | ||
43 | LCRYPTO_USED(OPENSSL_cpu_caps); | ||
44 | LCRYPTO_USED(OPENSSL_init_crypto); | ||
45 | LCRYPTO_USED(OPENSSL_cleanup); | ||
46 | LCRYPTO_USED(OPENSSL_gmtime); | ||
47 | LCRYPTO_USED(ERR_load_CRYPTO_strings); | ||
48 | LCRYPTO_UNUSED(CRYPTO_mem_ctrl); | ||
49 | LCRYPTO_UNUSED(CRYPTO_set_id_callback); | ||
50 | LCRYPTO_UNUSED(CRYPTO_get_id_callback); | ||
51 | LCRYPTO_UNUSED(CRYPTO_thread_id); | ||
52 | LCRYPTO_UNUSED(CRYPTO_get_new_lockid); | ||
53 | LCRYPTO_UNUSED(CRYPTO_get_lock_name); | ||
54 | LCRYPTO_UNUSED(CRYPTO_num_locks); | ||
55 | LCRYPTO_UNUSED(CRYPTO_set_locking_callback); | ||
56 | LCRYPTO_UNUSED(CRYPTO_get_locking_callback); | ||
57 | LCRYPTO_UNUSED(CRYPTO_set_add_lock_callback); | ||
58 | LCRYPTO_UNUSED(CRYPTO_get_add_lock_callback); | ||
59 | LCRYPTO_UNUSED(CRYPTO_THREADID_set_numeric); | ||
60 | LCRYPTO_UNUSED(CRYPTO_THREADID_set_pointer); | ||
61 | LCRYPTO_UNUSED(CRYPTO_THREADID_set_callback); | ||
62 | LCRYPTO_UNUSED(CRYPTO_THREADID_get_callback); | ||
63 | LCRYPTO_UNUSED(CRYPTO_get_new_dynlockid); | ||
64 | LCRYPTO_UNUSED(CRYPTO_destroy_dynlockid); | ||
65 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_value); | ||
66 | LCRYPTO_UNUSED(CRYPTO_set_dynlock_create_callback); | ||
67 | LCRYPTO_UNUSED(CRYPTO_set_dynlock_lock_callback); | ||
68 | LCRYPTO_UNUSED(CRYPTO_set_dynlock_destroy_callback); | ||
69 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_lock_callback); | ||
70 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_destroy_callback); | ||
71 | LCRYPTO_UNUSED(CRYPTO_get_dynlock_create_callback); | ||
72 | LCRYPTO_UNUSED(CRYPTO_malloc); | ||
73 | LCRYPTO_UNUSED(CRYPTO_strdup); | ||
74 | LCRYPTO_UNUSED(CRYPTO_free); | ||
75 | LCRYPTO_UNUSED(OPENSSL_cleanse); | ||
76 | LCRYPTO_UNUSED(FIPS_mode); | ||
77 | LCRYPTO_UNUSED(FIPS_mode_set); | ||
78 | LCRYPTO_UNUSED(OPENSSL_init); | ||
79 | LCRYPTO_UNUSED(CRYPTO_memcmp); | ||
80 | |||
81 | #endif /* _LIBCRYPTO_CRYPTO_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/ct.h b/src/lib/libcrypto/hidden/openssl/ct.h deleted file mode 100644 index a1c9b338ec..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ct.h +++ /dev/null | |||
@@ -1,85 +0,0 @@ | |||
1 | /* $OpenBSD: ct.h,v 1.1 2023/07/08 07:22:58 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_CT_H | ||
19 | #define _LIBCRYPTO_CT_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ct.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ct.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_new); | ||
29 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_free); | ||
30 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_get0_cert); | ||
31 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_set1_cert); | ||
32 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_get0_issuer); | ||
33 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_set1_issuer); | ||
34 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_get0_log_store); | ||
35 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE); | ||
36 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_get_time); | ||
37 | LCRYPTO_USED(CT_POLICY_EVAL_CTX_set_time); | ||
38 | LCRYPTO_USED(SCT_new); | ||
39 | LCRYPTO_USED(SCT_new_from_base64); | ||
40 | LCRYPTO_USED(SCT_free); | ||
41 | LCRYPTO_USED(SCT_LIST_free); | ||
42 | LCRYPTO_USED(SCT_get_version); | ||
43 | LCRYPTO_USED(SCT_set_version); | ||
44 | LCRYPTO_USED(SCT_get_log_entry_type); | ||
45 | LCRYPTO_USED(SCT_set_log_entry_type); | ||
46 | LCRYPTO_USED(SCT_get0_log_id); | ||
47 | LCRYPTO_USED(SCT_set0_log_id); | ||
48 | LCRYPTO_USED(SCT_set1_log_id); | ||
49 | LCRYPTO_USED(SCT_get_timestamp); | ||
50 | LCRYPTO_USED(SCT_set_timestamp); | ||
51 | LCRYPTO_USED(SCT_get_signature_nid); | ||
52 | LCRYPTO_USED(SCT_set_signature_nid); | ||
53 | LCRYPTO_USED(SCT_get0_extensions); | ||
54 | LCRYPTO_USED(SCT_set0_extensions); | ||
55 | LCRYPTO_USED(SCT_set1_extensions); | ||
56 | LCRYPTO_USED(SCT_get0_signature); | ||
57 | LCRYPTO_USED(SCT_set0_signature); | ||
58 | LCRYPTO_USED(SCT_set1_signature); | ||
59 | LCRYPTO_USED(SCT_get_source); | ||
60 | LCRYPTO_USED(SCT_set_source); | ||
61 | LCRYPTO_USED(SCT_validation_status_string); | ||
62 | LCRYPTO_USED(SCT_print); | ||
63 | LCRYPTO_USED(SCT_LIST_print); | ||
64 | LCRYPTO_USED(SCT_get_validation_status); | ||
65 | LCRYPTO_USED(SCT_validate); | ||
66 | LCRYPTO_USED(SCT_LIST_validate); | ||
67 | LCRYPTO_USED(i2o_SCT_LIST); | ||
68 | LCRYPTO_USED(o2i_SCT_LIST); | ||
69 | LCRYPTO_USED(i2d_SCT_LIST); | ||
70 | LCRYPTO_USED(d2i_SCT_LIST); | ||
71 | LCRYPTO_USED(i2o_SCT); | ||
72 | LCRYPTO_USED(o2i_SCT); | ||
73 | LCRYPTO_USED(CTLOG_new); | ||
74 | LCRYPTO_USED(CTLOG_new_from_base64); | ||
75 | LCRYPTO_USED(CTLOG_free); | ||
76 | LCRYPTO_USED(CTLOG_get0_name); | ||
77 | LCRYPTO_USED(CTLOG_get0_log_id); | ||
78 | LCRYPTO_USED(CTLOG_get0_public_key); | ||
79 | LCRYPTO_USED(CTLOG_STORE_new); | ||
80 | LCRYPTO_USED(CTLOG_STORE_free); | ||
81 | LCRYPTO_USED(CTLOG_STORE_get0_log_by_id); | ||
82 | LCRYPTO_USED(CTLOG_STORE_load_file); | ||
83 | LCRYPTO_USED(CTLOG_STORE_load_default_file); | ||
84 | |||
85 | #endif /* _LIBCRYPTO_CT_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/curve25519.h b/src/lib/libcrypto/hidden/openssl/curve25519.h deleted file mode 100644 index 3afa324e0a..0000000000 --- a/src/lib/libcrypto/hidden/openssl/curve25519.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* $OpenBSD: curve25519.h,v 1.1 2023/07/08 15:12:49 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_CURVE25519_H | ||
19 | #define _LIBCRYPTO_CURVE25519_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/curve25519.h> | ||
23 | #else | ||
24 | #include "../include/openssl/curve25519.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(X25519_keypair); | ||
29 | LCRYPTO_USED(X25519); | ||
30 | LCRYPTO_USED(ED25519_keypair); | ||
31 | LCRYPTO_USED(ED25519_sign); | ||
32 | LCRYPTO_USED(ED25519_verify); | ||
33 | |||
34 | #endif /* _LIBCRYPTO_CURVE25519_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/des.h b/src/lib/libcrypto/hidden/openssl/des.h deleted file mode 100644 index 645181199b..0000000000 --- a/src/lib/libcrypto/hidden/openssl/des.h +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | /* $OpenBSD: des.h,v 1.3 2024/08/31 10:30:16 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
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_DES_H | ||
19 | #define _LIBCRYPTO_DES_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/des.h> | ||
23 | #else | ||
24 | #include "../include/openssl/des.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(DES_ecb3_encrypt); | ||
29 | LCRYPTO_USED(DES_cbc_cksum); | ||
30 | LCRYPTO_USED(DES_cbc_encrypt); | ||
31 | LCRYPTO_USED(DES_ncbc_encrypt); | ||
32 | LCRYPTO_USED(DES_xcbc_encrypt); | ||
33 | LCRYPTO_USED(DES_cfb_encrypt); | ||
34 | LCRYPTO_USED(DES_ecb_encrypt); | ||
35 | LCRYPTO_USED(DES_encrypt1); | ||
36 | LCRYPTO_USED(DES_encrypt2); | ||
37 | LCRYPTO_USED(DES_encrypt3); | ||
38 | LCRYPTO_USED(DES_decrypt3); | ||
39 | LCRYPTO_USED(DES_ede3_cbc_encrypt); | ||
40 | LCRYPTO_USED(DES_ede3_cbcm_encrypt); | ||
41 | LCRYPTO_USED(DES_ede3_cfb64_encrypt); | ||
42 | LCRYPTO_USED(DES_ede3_cfb_encrypt); | ||
43 | LCRYPTO_USED(DES_ede3_ofb64_encrypt); | ||
44 | LCRYPTO_USED(DES_fcrypt); | ||
45 | LCRYPTO_USED(DES_crypt); | ||
46 | LCRYPTO_USED(DES_ofb_encrypt); | ||
47 | LCRYPTO_USED(DES_pcbc_encrypt); | ||
48 | LCRYPTO_USED(DES_quad_cksum); | ||
49 | LCRYPTO_USED(DES_random_key); | ||
50 | LCRYPTO_USED(DES_set_odd_parity); | ||
51 | LCRYPTO_USED(DES_check_key_parity); | ||
52 | LCRYPTO_USED(DES_is_weak_key); | ||
53 | LCRYPTO_USED(DES_set_key); | ||
54 | LCRYPTO_USED(DES_key_sched); | ||
55 | LCRYPTO_USED(DES_set_key_checked); | ||
56 | LCRYPTO_USED(DES_set_key_unchecked); | ||
57 | LCRYPTO_USED(DES_string_to_key); | ||
58 | LCRYPTO_USED(DES_string_to_2keys); | ||
59 | LCRYPTO_USED(DES_cfb64_encrypt); | ||
60 | LCRYPTO_USED(DES_ofb64_encrypt); | ||
61 | #if defined(LIBRESSL_NAMESPACE) | ||
62 | extern LCRYPTO_USED(DES_check_key); | ||
63 | #endif | ||
64 | |||
65 | #endif /* _LIBCRYPTO_DES_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/dh.h b/src/lib/libcrypto/hidden/openssl/dh.h deleted file mode 100644 index 7e6d578151..0000000000 --- a/src/lib/libcrypto/hidden/openssl/dh.h +++ /dev/null | |||
@@ -1,74 +0,0 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.1 2023/07/08 15:29:04 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_DH_H | ||
19 | #define _LIBCRYPTO_DH_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/dh.h> | ||
23 | #else | ||
24 | #include "../include/openssl/dh.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(d2i_DHparams_bio); | ||
29 | LCRYPTO_USED(i2d_DHparams_bio); | ||
30 | LCRYPTO_USED(d2i_DHparams_fp); | ||
31 | LCRYPTO_USED(i2d_DHparams_fp); | ||
32 | LCRYPTO_USED(DHparams_dup); | ||
33 | LCRYPTO_USED(DH_OpenSSL); | ||
34 | LCRYPTO_USED(DH_set_default_method); | ||
35 | LCRYPTO_USED(DH_get_default_method); | ||
36 | LCRYPTO_USED(DH_set_method); | ||
37 | LCRYPTO_USED(DH_new_method); | ||
38 | LCRYPTO_USED(DH_new); | ||
39 | LCRYPTO_USED(DH_free); | ||
40 | LCRYPTO_USED(DH_up_ref); | ||
41 | LCRYPTO_USED(DH_size); | ||
42 | LCRYPTO_USED(DH_bits); | ||
43 | LCRYPTO_USED(DH_get_ex_new_index); | ||
44 | LCRYPTO_USED(DH_set_ex_data); | ||
45 | LCRYPTO_USED(DH_get_ex_data); | ||
46 | LCRYPTO_USED(DH_security_bits); | ||
47 | LCRYPTO_USED(DH_get0_engine); | ||
48 | LCRYPTO_USED(DH_get0_pqg); | ||
49 | LCRYPTO_USED(DH_set0_pqg); | ||
50 | LCRYPTO_USED(DH_get0_key); | ||
51 | LCRYPTO_USED(DH_set0_key); | ||
52 | LCRYPTO_USED(DH_get0_p); | ||
53 | LCRYPTO_USED(DH_get0_q); | ||
54 | LCRYPTO_USED(DH_get0_g); | ||
55 | LCRYPTO_USED(DH_get0_priv_key); | ||
56 | LCRYPTO_USED(DH_get0_pub_key); | ||
57 | LCRYPTO_USED(DH_clear_flags); | ||
58 | LCRYPTO_USED(DH_test_flags); | ||
59 | LCRYPTO_USED(DH_set_flags); | ||
60 | LCRYPTO_USED(DH_get_length); | ||
61 | LCRYPTO_USED(DH_set_length); | ||
62 | LCRYPTO_USED(DH_generate_parameters); | ||
63 | LCRYPTO_USED(DH_generate_parameters_ex); | ||
64 | LCRYPTO_USED(DH_check); | ||
65 | LCRYPTO_USED(DH_check_pub_key); | ||
66 | LCRYPTO_USED(DH_generate_key); | ||
67 | LCRYPTO_USED(DH_compute_key); | ||
68 | LCRYPTO_USED(d2i_DHparams); | ||
69 | LCRYPTO_USED(i2d_DHparams); | ||
70 | LCRYPTO_USED(DHparams_print_fp); | ||
71 | LCRYPTO_USED(DHparams_print); | ||
72 | LCRYPTO_USED(ERR_load_DH_strings); | ||
73 | |||
74 | #endif /* _LIBCRYPTO_DH_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/dsa.h b/src/lib/libcrypto/hidden/openssl/dsa.h deleted file mode 100644 index c00c0af6df..0000000000 --- a/src/lib/libcrypto/hidden/openssl/dsa.h +++ /dev/null | |||
@@ -1,98 +0,0 @@ | |||
1 | /* $OpenBSD: dsa.h,v 1.3 2024/07/08 17:11:05 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_DSA_H | ||
19 | #define _LIBCRYPTO_DSA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/dsa.h> | ||
23 | #else | ||
24 | #include "../include/openssl/dsa.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(d2i_DSAparams_bio); | ||
29 | LCRYPTO_USED(i2d_DSAparams_bio); | ||
30 | LCRYPTO_USED(d2i_DSAparams_fp); | ||
31 | LCRYPTO_USED(i2d_DSAparams_fp); | ||
32 | LCRYPTO_USED(DSAparams_dup); | ||
33 | LCRYPTO_USED(DSA_SIG_new); | ||
34 | LCRYPTO_USED(DSA_SIG_free); | ||
35 | LCRYPTO_USED(i2d_DSA_SIG); | ||
36 | LCRYPTO_USED(d2i_DSA_SIG); | ||
37 | LCRYPTO_USED(DSA_SIG_get0); | ||
38 | LCRYPTO_USED(DSA_SIG_set0); | ||
39 | LCRYPTO_USED(DSA_do_sign); | ||
40 | LCRYPTO_USED(DSA_do_verify); | ||
41 | LCRYPTO_USED(DSA_OpenSSL); | ||
42 | LCRYPTO_USED(DSA_set_default_method); | ||
43 | LCRYPTO_USED(DSA_get_default_method); | ||
44 | LCRYPTO_USED(DSA_set_method); | ||
45 | LCRYPTO_USED(DSA_new); | ||
46 | LCRYPTO_USED(DSA_new_method); | ||
47 | LCRYPTO_USED(DSA_free); | ||
48 | LCRYPTO_USED(DSA_up_ref); | ||
49 | LCRYPTO_USED(DSA_size); | ||
50 | LCRYPTO_USED(DSA_bits); | ||
51 | LCRYPTO_USED(DSA_sign_setup); | ||
52 | LCRYPTO_USED(DSA_sign); | ||
53 | LCRYPTO_USED(DSA_verify); | ||
54 | LCRYPTO_USED(DSA_get_ex_new_index); | ||
55 | LCRYPTO_USED(DSA_set_ex_data); | ||
56 | LCRYPTO_USED(DSA_get_ex_data); | ||
57 | LCRYPTO_USED(DSA_security_bits); | ||
58 | LCRYPTO_USED(d2i_DSAPublicKey); | ||
59 | LCRYPTO_USED(i2d_DSAPublicKey); | ||
60 | LCRYPTO_USED(d2i_DSAPrivateKey); | ||
61 | LCRYPTO_USED(i2d_DSAPrivateKey); | ||
62 | LCRYPTO_USED(d2i_DSAparams); | ||
63 | LCRYPTO_USED(i2d_DSAparams); | ||
64 | LCRYPTO_USED(DSA_generate_parameters_ex); | ||
65 | LCRYPTO_USED(DSA_generate_key); | ||
66 | LCRYPTO_USED(DSAparams_print); | ||
67 | LCRYPTO_USED(DSA_print); | ||
68 | LCRYPTO_USED(DSAparams_print_fp); | ||
69 | LCRYPTO_USED(DSA_print_fp); | ||
70 | LCRYPTO_USED(DSA_dup_DH); | ||
71 | LCRYPTO_USED(DSA_get0_pqg); | ||
72 | LCRYPTO_USED(DSA_set0_pqg); | ||
73 | LCRYPTO_USED(DSA_get0_key); | ||
74 | LCRYPTO_USED(DSA_set0_key); | ||
75 | LCRYPTO_USED(DSA_get0_p); | ||
76 | LCRYPTO_USED(DSA_get0_q); | ||
77 | LCRYPTO_USED(DSA_get0_g); | ||
78 | LCRYPTO_USED(DSA_get0_pub_key); | ||
79 | LCRYPTO_USED(DSA_get0_priv_key); | ||
80 | LCRYPTO_USED(DSA_clear_flags); | ||
81 | LCRYPTO_USED(DSA_test_flags); | ||
82 | LCRYPTO_USED(DSA_set_flags); | ||
83 | LCRYPTO_USED(DSA_get0_engine); | ||
84 | LCRYPTO_USED(DSA_meth_new); | ||
85 | LCRYPTO_USED(DSA_meth_free); | ||
86 | LCRYPTO_USED(DSA_meth_dup); | ||
87 | LCRYPTO_USED(DSA_meth_get0_name); | ||
88 | LCRYPTO_USED(DSA_meth_set1_name); | ||
89 | LCRYPTO_USED(DSA_meth_set_sign); | ||
90 | LCRYPTO_USED(DSA_meth_set_finish); | ||
91 | LCRYPTO_USED(ERR_load_DSA_strings); | ||
92 | #if defined(LIBRESSL_NAMESPACE) | ||
93 | extern LCRYPTO_USED(DSAPublicKey_it); | ||
94 | extern LCRYPTO_USED(DSAPrivateKey_it); | ||
95 | extern LCRYPTO_USED(DSAparams_it); | ||
96 | #endif | ||
97 | |||
98 | #endif /* _LIBCRYPTO_DSA_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/ec.h b/src/lib/libcrypto/hidden/openssl/ec.h deleted file mode 100644 index 31ca83f147..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ec.h +++ /dev/null | |||
@@ -1,161 +0,0 @@ | |||
1 | /* $OpenBSD: ec.h,v 1.12 2025/03/09 15:42:19 tb 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_EC_H | ||
19 | #define _LIBCRYPTO_EC_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ec.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ec.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(EC_GROUP_free); | ||
29 | LCRYPTO_USED(EC_GROUP_dup); | ||
30 | LCRYPTO_USED(EC_GROUP_set_generator); | ||
31 | LCRYPTO_USED(EC_GROUP_get0_generator); | ||
32 | LCRYPTO_USED(EC_GROUP_get_order); | ||
33 | LCRYPTO_USED(EC_GROUP_order_bits); | ||
34 | LCRYPTO_USED(EC_GROUP_get_cofactor); | ||
35 | LCRYPTO_USED(EC_GROUP_set_curve_name); | ||
36 | LCRYPTO_USED(EC_GROUP_get_curve_name); | ||
37 | LCRYPTO_USED(EC_GROUP_set_asn1_flag); | ||
38 | LCRYPTO_USED(EC_GROUP_get_asn1_flag); | ||
39 | LCRYPTO_USED(EC_GROUP_set_point_conversion_form); | ||
40 | LCRYPTO_USED(EC_GROUP_get_point_conversion_form); | ||
41 | LCRYPTO_USED(EC_GROUP_get0_seed); | ||
42 | LCRYPTO_USED(EC_GROUP_get_seed_len); | ||
43 | LCRYPTO_USED(EC_GROUP_set_seed); | ||
44 | LCRYPTO_USED(EC_GROUP_set_curve); | ||
45 | LCRYPTO_USED(EC_GROUP_get_curve); | ||
46 | LCRYPTO_USED(EC_GROUP_get_degree); | ||
47 | LCRYPTO_USED(EC_GROUP_check); | ||
48 | LCRYPTO_USED(EC_GROUP_check_discriminant); | ||
49 | LCRYPTO_USED(EC_GROUP_cmp); | ||
50 | LCRYPTO_USED(EC_GROUP_new_curve_GFp); | ||
51 | LCRYPTO_USED(EC_GROUP_new_by_curve_name); | ||
52 | LCRYPTO_USED(EC_get_builtin_curves); | ||
53 | LCRYPTO_USED(EC_curve_nid2nist); | ||
54 | LCRYPTO_USED(EC_curve_nist2nid); | ||
55 | LCRYPTO_USED(EC_POINT_new); | ||
56 | LCRYPTO_USED(EC_POINT_free); | ||
57 | LCRYPTO_USED(EC_POINT_copy); | ||
58 | LCRYPTO_USED(EC_POINT_dup); | ||
59 | LCRYPTO_USED(EC_POINT_set_to_infinity); | ||
60 | LCRYPTO_USED(EC_POINT_set_affine_coordinates); | ||
61 | LCRYPTO_USED(EC_POINT_get_affine_coordinates); | ||
62 | LCRYPTO_USED(EC_POINT_set_compressed_coordinates); | ||
63 | LCRYPTO_USED(EC_POINT_point2oct); | ||
64 | LCRYPTO_USED(EC_POINT_oct2point); | ||
65 | LCRYPTO_USED(EC_POINT_point2bn); | ||
66 | LCRYPTO_USED(EC_POINT_bn2point); | ||
67 | LCRYPTO_USED(EC_POINT_point2hex); | ||
68 | LCRYPTO_USED(EC_POINT_hex2point); | ||
69 | LCRYPTO_USED(EC_POINT_add); | ||
70 | LCRYPTO_USED(EC_POINT_dbl); | ||
71 | LCRYPTO_USED(EC_POINT_invert); | ||
72 | LCRYPTO_USED(EC_POINT_is_at_infinity); | ||
73 | LCRYPTO_USED(EC_POINT_is_on_curve); | ||
74 | LCRYPTO_USED(EC_POINT_cmp); | ||
75 | LCRYPTO_USED(EC_POINT_make_affine); | ||
76 | LCRYPTO_USED(EC_POINT_mul); | ||
77 | LCRYPTO_USED(EC_GROUP_get_basis_type); | ||
78 | LCRYPTO_USED(d2i_ECPKParameters); | ||
79 | LCRYPTO_USED(i2d_ECPKParameters); | ||
80 | LCRYPTO_USED(ECPKParameters_print); | ||
81 | LCRYPTO_USED(ECPKParameters_print_fp); | ||
82 | LCRYPTO_USED(EC_KEY_new); | ||
83 | LCRYPTO_USED(EC_KEY_get_flags); | ||
84 | LCRYPTO_USED(EC_KEY_set_flags); | ||
85 | LCRYPTO_USED(EC_KEY_clear_flags); | ||
86 | LCRYPTO_USED(EC_KEY_new_by_curve_name); | ||
87 | LCRYPTO_USED(EC_KEY_free); | ||
88 | LCRYPTO_USED(EC_KEY_copy); | ||
89 | LCRYPTO_USED(EC_KEY_dup); | ||
90 | LCRYPTO_USED(EC_KEY_up_ref); | ||
91 | LCRYPTO_USED(EC_KEY_get0_group); | ||
92 | LCRYPTO_USED(EC_KEY_set_group); | ||
93 | LCRYPTO_USED(EC_KEY_get0_private_key); | ||
94 | LCRYPTO_USED(EC_KEY_set_private_key); | ||
95 | LCRYPTO_USED(EC_KEY_get0_public_key); | ||
96 | LCRYPTO_USED(EC_KEY_set_public_key); | ||
97 | LCRYPTO_USED(EC_KEY_get_enc_flags); | ||
98 | LCRYPTO_USED(EC_KEY_set_enc_flags); | ||
99 | LCRYPTO_USED(EC_KEY_get_conv_form); | ||
100 | LCRYPTO_USED(EC_KEY_set_conv_form); | ||
101 | LCRYPTO_USED(EC_KEY_set_asn1_flag); | ||
102 | LCRYPTO_USED(EC_KEY_precompute_mult); | ||
103 | LCRYPTO_USED(EC_KEY_generate_key); | ||
104 | LCRYPTO_USED(EC_KEY_check_key); | ||
105 | LCRYPTO_USED(EC_KEY_set_public_key_affine_coordinates); | ||
106 | LCRYPTO_USED(d2i_ECPrivateKey); | ||
107 | LCRYPTO_USED(i2d_ECPrivateKey); | ||
108 | LCRYPTO_USED(d2i_ECParameters); | ||
109 | LCRYPTO_USED(i2d_ECParameters); | ||
110 | LCRYPTO_USED(o2i_ECPublicKey); | ||
111 | LCRYPTO_USED(i2o_ECPublicKey); | ||
112 | LCRYPTO_USED(ECParameters_print); | ||
113 | LCRYPTO_USED(EC_KEY_print); | ||
114 | LCRYPTO_USED(ECParameters_print_fp); | ||
115 | LCRYPTO_USED(EC_KEY_print_fp); | ||
116 | LCRYPTO_USED(EC_KEY_set_ex_data); | ||
117 | LCRYPTO_USED(EC_KEY_get_ex_data); | ||
118 | LCRYPTO_USED(EC_KEY_OpenSSL); | ||
119 | LCRYPTO_USED(EC_KEY_get_default_method); | ||
120 | LCRYPTO_USED(EC_KEY_set_default_method); | ||
121 | LCRYPTO_USED(EC_KEY_get_method); | ||
122 | LCRYPTO_USED(EC_KEY_set_method); | ||
123 | LCRYPTO_USED(EC_KEY_new_method); | ||
124 | LCRYPTO_USED(ECDH_size); | ||
125 | LCRYPTO_USED(ECDH_compute_key); | ||
126 | LCRYPTO_USED(ECDSA_SIG_new); | ||
127 | LCRYPTO_USED(ECDSA_SIG_free); | ||
128 | LCRYPTO_USED(i2d_ECDSA_SIG); | ||
129 | LCRYPTO_USED(d2i_ECDSA_SIG); | ||
130 | LCRYPTO_USED(ECDSA_SIG_get0_r); | ||
131 | LCRYPTO_USED(ECDSA_SIG_get0_s); | ||
132 | LCRYPTO_USED(ECDSA_SIG_get0); | ||
133 | LCRYPTO_USED(ECDSA_SIG_set0); | ||
134 | LCRYPTO_USED(ECDSA_size); | ||
135 | LCRYPTO_USED(ECDSA_do_sign); | ||
136 | LCRYPTO_USED(ECDSA_do_verify); | ||
137 | LCRYPTO_USED(ECDSA_sign); | ||
138 | LCRYPTO_USED(ECDSA_verify); | ||
139 | LCRYPTO_USED(EC_KEY_METHOD_new); | ||
140 | LCRYPTO_USED(EC_KEY_METHOD_free); | ||
141 | LCRYPTO_USED(EC_KEY_METHOD_set_init); | ||
142 | LCRYPTO_USED(EC_KEY_METHOD_set_keygen); | ||
143 | LCRYPTO_USED(EC_KEY_METHOD_set_compute_key); | ||
144 | LCRYPTO_USED(EC_KEY_METHOD_set_sign); | ||
145 | LCRYPTO_USED(EC_KEY_METHOD_set_verify); | ||
146 | LCRYPTO_USED(EC_KEY_METHOD_get_init); | ||
147 | LCRYPTO_USED(EC_KEY_METHOD_get_keygen); | ||
148 | LCRYPTO_USED(EC_KEY_METHOD_get_compute_key); | ||
149 | LCRYPTO_USED(EC_KEY_METHOD_get_sign); | ||
150 | LCRYPTO_USED(EC_KEY_METHOD_get_verify); | ||
151 | LCRYPTO_USED(ECParameters_dup); | ||
152 | LCRYPTO_USED(ERR_load_EC_strings); | ||
153 | LCRYPTO_UNUSED(EC_GROUP_clear_free); | ||
154 | LCRYPTO_UNUSED(EC_GROUP_set_curve_GFp); | ||
155 | LCRYPTO_UNUSED(EC_GROUP_get_curve_GFp); | ||
156 | LCRYPTO_UNUSED(EC_POINT_clear_free); | ||
157 | LCRYPTO_UNUSED(EC_POINT_set_affine_coordinates_GFp); | ||
158 | LCRYPTO_UNUSED(EC_POINT_get_affine_coordinates_GFp); | ||
159 | LCRYPTO_UNUSED(EC_POINT_set_compressed_coordinates_GFp); | ||
160 | |||
161 | #endif /* _LIBCRYPTO_EC_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/engine.h b/src/lib/libcrypto/hidden/openssl/engine.h deleted file mode 100644 index 78334779b1..0000000000 --- a/src/lib/libcrypto/hidden/openssl/engine.h +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /* $OpenBSD: engine.h,v 1.1 2024/03/27 06:08:45 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Theo Buehler <tb@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_ENGINE_H | ||
19 | #define _LIBCRYPTO_ENGINE_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/engine.h> | ||
23 | #else | ||
24 | #include "../include/openssl/engine.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(ENGINE_load_builtin_engines); | ||
29 | LCRYPTO_USED(ENGINE_load_dynamic); | ||
30 | LCRYPTO_USED(ENGINE_load_openssl); | ||
31 | LCRYPTO_USED(ENGINE_register_all_complete); | ||
32 | LCRYPTO_USED(ENGINE_cleanup); | ||
33 | LCRYPTO_USED(ENGINE_new); | ||
34 | LCRYPTO_USED(ENGINE_free); | ||
35 | LCRYPTO_USED(ENGINE_init); | ||
36 | LCRYPTO_USED(ENGINE_finish); | ||
37 | LCRYPTO_USED(ENGINE_by_id); | ||
38 | LCRYPTO_USED(ENGINE_get_id); | ||
39 | LCRYPTO_USED(ENGINE_get_name); | ||
40 | LCRYPTO_USED(ENGINE_set_default); | ||
41 | LCRYPTO_USED(ENGINE_get_default_RSA); | ||
42 | LCRYPTO_USED(ENGINE_set_default_RSA); | ||
43 | LCRYPTO_USED(ENGINE_ctrl_cmd); | ||
44 | LCRYPTO_USED(ENGINE_ctrl_cmd_string); | ||
45 | LCRYPTO_USED(ENGINE_load_private_key); | ||
46 | LCRYPTO_USED(ENGINE_load_public_key); | ||
47 | |||
48 | #endif /* _LIBCRYPTO_ENGINE_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/err.h b/src/lib/libcrypto/hidden/openssl/err.h deleted file mode 100644 index 026c18a545..0000000000 --- a/src/lib/libcrypto/hidden/openssl/err.h +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | /* $OpenBSD: err.h,v 1.7 2024/08/31 10:09:15 tb 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_ERR_H | ||
19 | #define _LIBCRYPTO_ERR_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/err.h> | ||
23 | #else | ||
24 | #include "../include/openssl/err.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(ERR_put_error); | ||
29 | LCRYPTO_USED(ERR_set_error_data); | ||
30 | LCRYPTO_USED(ERR_get_error); | ||
31 | LCRYPTO_USED(ERR_get_error_line); | ||
32 | LCRYPTO_USED(ERR_get_error_line_data); | ||
33 | LCRYPTO_USED(ERR_peek_error); | ||
34 | LCRYPTO_USED(ERR_peek_error_line); | ||
35 | LCRYPTO_USED(ERR_peek_error_line_data); | ||
36 | LCRYPTO_USED(ERR_peek_last_error); | ||
37 | LCRYPTO_USED(ERR_peek_last_error_line); | ||
38 | LCRYPTO_USED(ERR_peek_last_error_line_data); | ||
39 | LCRYPTO_USED(ERR_clear_error); | ||
40 | LCRYPTO_USED(ERR_error_string); | ||
41 | LCRYPTO_USED(ERR_error_string_n); | ||
42 | LCRYPTO_USED(ERR_lib_error_string); | ||
43 | LCRYPTO_USED(ERR_func_error_string); | ||
44 | LCRYPTO_USED(ERR_reason_error_string); | ||
45 | LCRYPTO_USED(ERR_print_errors_cb); | ||
46 | LCRYPTO_USED(ERR_print_errors_fp); | ||
47 | LCRYPTO_USED(ERR_print_errors); | ||
48 | LCRYPTO_USED(ERR_asprintf_error_data); | ||
49 | LCRYPTO_USED(ERR_load_strings); | ||
50 | LCRYPTO_USED(ERR_unload_strings); | ||
51 | LCRYPTO_USED(ERR_load_ERR_strings); | ||
52 | LCRYPTO_USED(ERR_load_crypto_strings); | ||
53 | LCRYPTO_USED(ERR_free_strings); | ||
54 | LCRYPTO_USED(ERR_remove_thread_state); | ||
55 | LCRYPTO_USED(ERR_remove_state); | ||
56 | LCRYPTO_USED(ERR_get_next_error_library); | ||
57 | LCRYPTO_USED(ERR_set_mark); | ||
58 | LCRYPTO_USED(ERR_pop_to_mark); | ||
59 | |||
60 | #endif /* _LIBCRYPTO_ERR_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/evp.h b/src/lib/libcrypto/hidden/openssl/evp.h deleted file mode 100644 index 644ba683a5..0000000000 --- a/src/lib/libcrypto/hidden/openssl/evp.h +++ /dev/null | |||
@@ -1,379 +0,0 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.6 2024/08/31 10:38:49 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 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_EVP_H | ||
19 | #define _LIBCRYPTO_EVP_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/evp.h> | ||
23 | #else | ||
24 | #include "../include/openssl/evp.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(EVP_MD_type); | ||
29 | LCRYPTO_USED(EVP_MD_pkey_type); | ||
30 | LCRYPTO_USED(EVP_MD_size); | ||
31 | LCRYPTO_USED(EVP_MD_block_size); | ||
32 | LCRYPTO_USED(EVP_MD_flags); | ||
33 | LCRYPTO_USED(EVP_MD_CTX_md); | ||
34 | LCRYPTO_USED(EVP_MD_CTX_md_data); | ||
35 | LCRYPTO_USED(EVP_MD_CTX_pkey_ctx); | ||
36 | LCRYPTO_USED(EVP_MD_CTX_set_pkey_ctx); | ||
37 | LCRYPTO_USED(EVP_CIPHER_nid); | ||
38 | LCRYPTO_USED(EVP_CIPHER_block_size); | ||
39 | LCRYPTO_USED(EVP_CIPHER_key_length); | ||
40 | LCRYPTO_USED(EVP_CIPHER_iv_length); | ||
41 | LCRYPTO_USED(EVP_CIPHER_flags); | ||
42 | LCRYPTO_USED(EVP_CIPHER_CTX_cipher); | ||
43 | LCRYPTO_USED(EVP_CIPHER_CTX_encrypting); | ||
44 | LCRYPTO_USED(EVP_CIPHER_CTX_nid); | ||
45 | LCRYPTO_USED(EVP_CIPHER_CTX_block_size); | ||
46 | LCRYPTO_USED(EVP_CIPHER_CTX_key_length); | ||
47 | LCRYPTO_USED(EVP_CIPHER_CTX_iv_length); | ||
48 | LCRYPTO_USED(EVP_CIPHER_CTX_get_iv); | ||
49 | LCRYPTO_USED(EVP_CIPHER_CTX_set_iv); | ||
50 | LCRYPTO_USED(EVP_CIPHER_CTX_copy); | ||
51 | LCRYPTO_USED(EVP_CIPHER_CTX_get_app_data); | ||
52 | LCRYPTO_USED(EVP_CIPHER_CTX_set_app_data); | ||
53 | LCRYPTO_USED(EVP_CIPHER_CTX_get_cipher_data); | ||
54 | LCRYPTO_USED(EVP_CIPHER_CTX_set_cipher_data); | ||
55 | LCRYPTO_USED(EVP_CIPHER_CTX_buf_noconst); | ||
56 | LCRYPTO_USED(EVP_CIPHER_CTX_flags); | ||
57 | LCRYPTO_USED(EVP_CIPHER_meth_new); | ||
58 | LCRYPTO_USED(EVP_CIPHER_meth_dup); | ||
59 | LCRYPTO_USED(EVP_CIPHER_meth_free); | ||
60 | LCRYPTO_USED(EVP_CIPHER_meth_set_iv_length); | ||
61 | LCRYPTO_USED(EVP_CIPHER_meth_set_flags); | ||
62 | LCRYPTO_USED(EVP_CIPHER_meth_set_impl_ctx_size); | ||
63 | LCRYPTO_USED(EVP_CIPHER_meth_set_init); | ||
64 | LCRYPTO_USED(EVP_CIPHER_meth_set_do_cipher); | ||
65 | LCRYPTO_USED(EVP_CIPHER_meth_set_cleanup); | ||
66 | LCRYPTO_USED(EVP_CIPHER_meth_set_set_asn1_params); | ||
67 | LCRYPTO_USED(EVP_CIPHER_meth_set_get_asn1_params); | ||
68 | LCRYPTO_USED(EVP_CIPHER_meth_set_ctrl); | ||
69 | LCRYPTO_USED(EVP_PKEY_new_raw_private_key); | ||
70 | LCRYPTO_USED(EVP_PKEY_new_raw_public_key); | ||
71 | LCRYPTO_USED(EVP_PKEY_get_raw_private_key); | ||
72 | LCRYPTO_USED(EVP_PKEY_get_raw_public_key); | ||
73 | LCRYPTO_USED(EVP_Cipher); | ||
74 | LCRYPTO_USED(EVP_MD_CTX_new); | ||
75 | LCRYPTO_USED(EVP_MD_CTX_free); | ||
76 | LCRYPTO_USED(EVP_MD_CTX_reset); | ||
77 | LCRYPTO_USED(EVP_MD_CTX_create); | ||
78 | LCRYPTO_USED(EVP_MD_CTX_destroy); | ||
79 | LCRYPTO_USED(EVP_MD_CTX_cleanup); | ||
80 | LCRYPTO_USED(EVP_MD_CTX_copy_ex); | ||
81 | LCRYPTO_USED(EVP_MD_CTX_set_flags); | ||
82 | LCRYPTO_USED(EVP_MD_CTX_clear_flags); | ||
83 | LCRYPTO_USED(EVP_MD_CTX_ctrl); | ||
84 | LCRYPTO_USED(EVP_MD_CTX_test_flags); | ||
85 | LCRYPTO_USED(EVP_DigestInit_ex); | ||
86 | LCRYPTO_USED(EVP_DigestUpdate); | ||
87 | LCRYPTO_USED(EVP_DigestFinal_ex); | ||
88 | LCRYPTO_USED(EVP_Digest); | ||
89 | LCRYPTO_USED(EVP_MD_CTX_copy); | ||
90 | LCRYPTO_USED(EVP_DigestInit); | ||
91 | LCRYPTO_USED(EVP_DigestFinal); | ||
92 | LCRYPTO_USED(EVP_read_pw_string); | ||
93 | LCRYPTO_USED(EVP_read_pw_string_min); | ||
94 | LCRYPTO_USED(EVP_set_pw_prompt); | ||
95 | LCRYPTO_USED(EVP_get_pw_prompt); | ||
96 | LCRYPTO_USED(EVP_BytesToKey); | ||
97 | LCRYPTO_USED(EVP_CIPHER_CTX_set_flags); | ||
98 | LCRYPTO_USED(EVP_CIPHER_CTX_clear_flags); | ||
99 | LCRYPTO_USED(EVP_CIPHER_CTX_test_flags); | ||
100 | LCRYPTO_USED(EVP_EncryptInit); | ||
101 | LCRYPTO_USED(EVP_EncryptInit_ex); | ||
102 | LCRYPTO_USED(EVP_EncryptUpdate); | ||
103 | LCRYPTO_USED(EVP_EncryptFinal_ex); | ||
104 | LCRYPTO_USED(EVP_DecryptInit); | ||
105 | LCRYPTO_USED(EVP_DecryptInit_ex); | ||
106 | LCRYPTO_USED(EVP_DecryptUpdate); | ||
107 | LCRYPTO_USED(EVP_DecryptFinal_ex); | ||
108 | LCRYPTO_USED(EVP_CipherInit); | ||
109 | LCRYPTO_USED(EVP_CipherInit_ex); | ||
110 | LCRYPTO_USED(EVP_CipherUpdate); | ||
111 | LCRYPTO_USED(EVP_CipherFinal_ex); | ||
112 | LCRYPTO_USED(EVP_SignFinal); | ||
113 | LCRYPTO_USED(EVP_VerifyFinal); | ||
114 | LCRYPTO_USED(EVP_DigestSignInit); | ||
115 | LCRYPTO_USED(EVP_DigestSignFinal); | ||
116 | LCRYPTO_USED(EVP_DigestSign); | ||
117 | LCRYPTO_USED(EVP_DigestVerifyInit); | ||
118 | LCRYPTO_USED(EVP_DigestVerifyFinal); | ||
119 | LCRYPTO_USED(EVP_DigestVerify); | ||
120 | LCRYPTO_USED(EVP_OpenInit); | ||
121 | LCRYPTO_USED(EVP_OpenFinal); | ||
122 | LCRYPTO_USED(EVP_SealInit); | ||
123 | LCRYPTO_USED(EVP_SealFinal); | ||
124 | LCRYPTO_USED(EVP_ENCODE_CTX_new); | ||
125 | LCRYPTO_USED(EVP_ENCODE_CTX_free); | ||
126 | LCRYPTO_USED(EVP_EncodeInit); | ||
127 | LCRYPTO_USED(EVP_EncodeUpdate); | ||
128 | LCRYPTO_USED(EVP_EncodeFinal); | ||
129 | LCRYPTO_USED(EVP_EncodeBlock); | ||
130 | LCRYPTO_USED(EVP_DecodeInit); | ||
131 | LCRYPTO_USED(EVP_DecodeUpdate); | ||
132 | LCRYPTO_USED(EVP_DecodeFinal); | ||
133 | LCRYPTO_USED(EVP_DecodeBlock); | ||
134 | LCRYPTO_USED(EVP_CIPHER_CTX_cleanup); | ||
135 | LCRYPTO_USED(EVP_CIPHER_CTX_new); | ||
136 | LCRYPTO_USED(EVP_CIPHER_CTX_free); | ||
137 | LCRYPTO_USED(EVP_CIPHER_CTX_reset); | ||
138 | LCRYPTO_USED(EVP_CIPHER_CTX_set_key_length); | ||
139 | LCRYPTO_USED(EVP_CIPHER_CTX_set_padding); | ||
140 | LCRYPTO_USED(EVP_CIPHER_CTX_ctrl); | ||
141 | LCRYPTO_USED(EVP_CIPHER_CTX_rand_key); | ||
142 | LCRYPTO_USED(BIO_f_md); | ||
143 | LCRYPTO_USED(BIO_f_base64); | ||
144 | LCRYPTO_USED(BIO_f_cipher); | ||
145 | LCRYPTO_USED(BIO_set_cipher); | ||
146 | LCRYPTO_USED(EVP_md_null); | ||
147 | LCRYPTO_USED(EVP_md4); | ||
148 | LCRYPTO_USED(EVP_md5); | ||
149 | LCRYPTO_USED(EVP_md5_sha1); | ||
150 | LCRYPTO_USED(EVP_sha1); | ||
151 | LCRYPTO_USED(EVP_sha224); | ||
152 | LCRYPTO_USED(EVP_sha256); | ||
153 | LCRYPTO_USED(EVP_sha384); | ||
154 | LCRYPTO_USED(EVP_sha512); | ||
155 | LCRYPTO_USED(EVP_sha512_224); | ||
156 | LCRYPTO_USED(EVP_sha512_256); | ||
157 | LCRYPTO_USED(EVP_sha3_224); | ||
158 | LCRYPTO_USED(EVP_sha3_256); | ||
159 | LCRYPTO_USED(EVP_sha3_384); | ||
160 | LCRYPTO_USED(EVP_sha3_512); | ||
161 | LCRYPTO_USED(EVP_sm3); | ||
162 | LCRYPTO_USED(EVP_ripemd160); | ||
163 | LCRYPTO_USED(EVP_enc_null); | ||
164 | LCRYPTO_USED(EVP_des_ecb); | ||
165 | LCRYPTO_USED(EVP_des_ede); | ||
166 | LCRYPTO_USED(EVP_des_ede3); | ||
167 | LCRYPTO_USED(EVP_des_ede_ecb); | ||
168 | LCRYPTO_USED(EVP_des_ede3_ecb); | ||
169 | LCRYPTO_USED(EVP_des_cfb64); | ||
170 | LCRYPTO_USED(EVP_des_cfb1); | ||
171 | LCRYPTO_USED(EVP_des_cfb8); | ||
172 | LCRYPTO_USED(EVP_des_ede_cfb64); | ||
173 | LCRYPTO_USED(EVP_des_ede3_cfb64); | ||
174 | LCRYPTO_USED(EVP_des_ede3_cfb1); | ||
175 | LCRYPTO_USED(EVP_des_ede3_cfb8); | ||
176 | LCRYPTO_USED(EVP_des_ofb); | ||
177 | LCRYPTO_USED(EVP_des_ede_ofb); | ||
178 | LCRYPTO_USED(EVP_des_ede3_ofb); | ||
179 | LCRYPTO_USED(EVP_des_cbc); | ||
180 | LCRYPTO_USED(EVP_des_ede_cbc); | ||
181 | LCRYPTO_USED(EVP_des_ede3_cbc); | ||
182 | LCRYPTO_USED(EVP_desx_cbc); | ||
183 | LCRYPTO_USED(EVP_rc4); | ||
184 | LCRYPTO_USED(EVP_rc4_40); | ||
185 | LCRYPTO_USED(EVP_idea_ecb); | ||
186 | LCRYPTO_USED(EVP_idea_cfb64); | ||
187 | LCRYPTO_USED(EVP_idea_ofb); | ||
188 | LCRYPTO_USED(EVP_idea_cbc); | ||
189 | LCRYPTO_USED(EVP_rc2_ecb); | ||
190 | LCRYPTO_USED(EVP_rc2_cbc); | ||
191 | LCRYPTO_USED(EVP_rc2_40_cbc); | ||
192 | LCRYPTO_USED(EVP_rc2_64_cbc); | ||
193 | LCRYPTO_USED(EVP_rc2_cfb64); | ||
194 | LCRYPTO_USED(EVP_rc2_ofb); | ||
195 | LCRYPTO_USED(EVP_bf_ecb); | ||
196 | LCRYPTO_USED(EVP_bf_cbc); | ||
197 | LCRYPTO_USED(EVP_bf_cfb64); | ||
198 | LCRYPTO_USED(EVP_bf_ofb); | ||
199 | LCRYPTO_USED(EVP_cast5_ecb); | ||
200 | LCRYPTO_USED(EVP_cast5_cbc); | ||
201 | LCRYPTO_USED(EVP_cast5_cfb64); | ||
202 | LCRYPTO_USED(EVP_cast5_ofb); | ||
203 | LCRYPTO_USED(EVP_aes_128_ecb); | ||
204 | LCRYPTO_USED(EVP_aes_128_cbc); | ||
205 | LCRYPTO_USED(EVP_aes_128_cfb1); | ||
206 | LCRYPTO_USED(EVP_aes_128_cfb8); | ||
207 | LCRYPTO_USED(EVP_aes_128_cfb128); | ||
208 | LCRYPTO_USED(EVP_aes_128_ofb); | ||
209 | LCRYPTO_USED(EVP_aes_128_ctr); | ||
210 | LCRYPTO_USED(EVP_aes_128_ccm); | ||
211 | LCRYPTO_USED(EVP_aes_128_gcm); | ||
212 | LCRYPTO_USED(EVP_aes_128_wrap); | ||
213 | LCRYPTO_USED(EVP_aes_128_xts); | ||
214 | LCRYPTO_USED(EVP_aes_192_ecb); | ||
215 | LCRYPTO_USED(EVP_aes_192_cbc); | ||
216 | LCRYPTO_USED(EVP_aes_192_cfb1); | ||
217 | LCRYPTO_USED(EVP_aes_192_cfb8); | ||
218 | LCRYPTO_USED(EVP_aes_192_cfb128); | ||
219 | LCRYPTO_USED(EVP_aes_192_ofb); | ||
220 | LCRYPTO_USED(EVP_aes_192_ctr); | ||
221 | LCRYPTO_USED(EVP_aes_192_ccm); | ||
222 | LCRYPTO_USED(EVP_aes_192_gcm); | ||
223 | LCRYPTO_USED(EVP_aes_192_wrap); | ||
224 | LCRYPTO_USED(EVP_aes_256_ecb); | ||
225 | LCRYPTO_USED(EVP_aes_256_cbc); | ||
226 | LCRYPTO_USED(EVP_aes_256_cfb1); | ||
227 | LCRYPTO_USED(EVP_aes_256_cfb8); | ||
228 | LCRYPTO_USED(EVP_aes_256_cfb128); | ||
229 | LCRYPTO_USED(EVP_aes_256_ofb); | ||
230 | LCRYPTO_USED(EVP_aes_256_ctr); | ||
231 | LCRYPTO_USED(EVP_aes_256_ccm); | ||
232 | LCRYPTO_USED(EVP_aes_256_gcm); | ||
233 | LCRYPTO_USED(EVP_aes_256_wrap); | ||
234 | LCRYPTO_USED(EVP_aes_256_xts); | ||
235 | LCRYPTO_USED(EVP_chacha20_poly1305); | ||
236 | LCRYPTO_USED(EVP_camellia_128_ecb); | ||
237 | LCRYPTO_USED(EVP_camellia_128_cbc); | ||
238 | LCRYPTO_USED(EVP_camellia_128_cfb1); | ||
239 | LCRYPTO_USED(EVP_camellia_128_cfb8); | ||
240 | LCRYPTO_USED(EVP_camellia_128_cfb128); | ||
241 | LCRYPTO_USED(EVP_camellia_128_ofb); | ||
242 | LCRYPTO_USED(EVP_camellia_192_ecb); | ||
243 | LCRYPTO_USED(EVP_camellia_192_cbc); | ||
244 | LCRYPTO_USED(EVP_camellia_192_cfb1); | ||
245 | LCRYPTO_USED(EVP_camellia_192_cfb8); | ||
246 | LCRYPTO_USED(EVP_camellia_192_cfb128); | ||
247 | LCRYPTO_USED(EVP_camellia_192_ofb); | ||
248 | LCRYPTO_USED(EVP_camellia_256_ecb); | ||
249 | LCRYPTO_USED(EVP_camellia_256_cbc); | ||
250 | LCRYPTO_USED(EVP_camellia_256_cfb1); | ||
251 | LCRYPTO_USED(EVP_camellia_256_cfb8); | ||
252 | LCRYPTO_USED(EVP_camellia_256_cfb128); | ||
253 | LCRYPTO_USED(EVP_camellia_256_ofb); | ||
254 | LCRYPTO_USED(EVP_chacha20); | ||
255 | LCRYPTO_USED(EVP_sm4_ecb); | ||
256 | LCRYPTO_USED(EVP_sm4_cbc); | ||
257 | LCRYPTO_USED(EVP_sm4_cfb128); | ||
258 | LCRYPTO_USED(EVP_sm4_ofb); | ||
259 | LCRYPTO_USED(EVP_sm4_ctr); | ||
260 | LCRYPTO_USED(OPENSSL_add_all_algorithms_noconf); | ||
261 | LCRYPTO_USED(OPENSSL_add_all_algorithms_conf); | ||
262 | LCRYPTO_USED(OpenSSL_add_all_ciphers); | ||
263 | LCRYPTO_USED(OpenSSL_add_all_digests); | ||
264 | LCRYPTO_USED(EVP_get_cipherbyname); | ||
265 | LCRYPTO_USED(EVP_get_digestbyname); | ||
266 | LCRYPTO_USED(EVP_cleanup); | ||
267 | LCRYPTO_USED(EVP_CIPHER_do_all); | ||
268 | LCRYPTO_USED(EVP_CIPHER_do_all_sorted); | ||
269 | LCRYPTO_USED(EVP_MD_do_all); | ||
270 | LCRYPTO_USED(EVP_MD_do_all_sorted); | ||
271 | LCRYPTO_USED(EVP_PKEY_decrypt_old); | ||
272 | LCRYPTO_USED(EVP_PKEY_encrypt_old); | ||
273 | LCRYPTO_USED(EVP_PKEY_type); | ||
274 | LCRYPTO_USED(EVP_PKEY_id); | ||
275 | LCRYPTO_USED(EVP_PKEY_base_id); | ||
276 | LCRYPTO_USED(EVP_PKEY_bits); | ||
277 | LCRYPTO_USED(EVP_PKEY_security_bits); | ||
278 | LCRYPTO_USED(EVP_PKEY_size); | ||
279 | LCRYPTO_USED(EVP_PKEY_set_type); | ||
280 | LCRYPTO_USED(EVP_PKEY_set_type_str); | ||
281 | LCRYPTO_USED(EVP_PKEY_assign); | ||
282 | LCRYPTO_USED(EVP_PKEY_get0); | ||
283 | LCRYPTO_USED(EVP_PKEY_get0_hmac); | ||
284 | LCRYPTO_USED(EVP_PKEY_get0_RSA); | ||
285 | LCRYPTO_USED(EVP_PKEY_get1_RSA); | ||
286 | LCRYPTO_USED(EVP_PKEY_set1_RSA); | ||
287 | LCRYPTO_USED(EVP_PKEY_get0_DSA); | ||
288 | LCRYPTO_USED(EVP_PKEY_get1_DSA); | ||
289 | LCRYPTO_USED(EVP_PKEY_set1_DSA); | ||
290 | LCRYPTO_USED(EVP_PKEY_get0_DH); | ||
291 | LCRYPTO_USED(EVP_PKEY_get1_DH); | ||
292 | LCRYPTO_USED(EVP_PKEY_set1_DH); | ||
293 | LCRYPTO_USED(EVP_PKEY_get0_EC_KEY); | ||
294 | LCRYPTO_USED(EVP_PKEY_get1_EC_KEY); | ||
295 | LCRYPTO_USED(EVP_PKEY_set1_EC_KEY); | ||
296 | LCRYPTO_USED(EVP_PKEY_new); | ||
297 | LCRYPTO_USED(EVP_PKEY_free); | ||
298 | LCRYPTO_USED(EVP_PKEY_up_ref); | ||
299 | LCRYPTO_USED(d2i_PublicKey); | ||
300 | LCRYPTO_USED(i2d_PublicKey); | ||
301 | LCRYPTO_USED(d2i_PrivateKey); | ||
302 | LCRYPTO_USED(d2i_AutoPrivateKey); | ||
303 | LCRYPTO_USED(i2d_PrivateKey); | ||
304 | LCRYPTO_USED(EVP_PKEY_copy_parameters); | ||
305 | LCRYPTO_USED(EVP_PKEY_missing_parameters); | ||
306 | LCRYPTO_USED(EVP_PKEY_save_parameters); | ||
307 | LCRYPTO_USED(EVP_PKEY_cmp_parameters); | ||
308 | LCRYPTO_USED(EVP_PKEY_cmp); | ||
309 | LCRYPTO_USED(EVP_PKEY_print_public); | ||
310 | LCRYPTO_USED(EVP_PKEY_print_private); | ||
311 | LCRYPTO_USED(EVP_PKEY_print_params); | ||
312 | LCRYPTO_USED(EVP_PKEY_get_default_digest_nid); | ||
313 | LCRYPTO_USED(EVP_CIPHER_type); | ||
314 | LCRYPTO_USED(PKCS5_PBKDF2_HMAC_SHA1); | ||
315 | LCRYPTO_USED(PKCS5_PBKDF2_HMAC); | ||
316 | LCRYPTO_USED(EVP_PKEY_asn1_get_count); | ||
317 | LCRYPTO_USED(EVP_PKEY_asn1_get0); | ||
318 | LCRYPTO_USED(EVP_PKEY_asn1_find); | ||
319 | LCRYPTO_USED(EVP_PKEY_asn1_find_str); | ||
320 | LCRYPTO_USED(EVP_PKEY_asn1_get0_info); | ||
321 | LCRYPTO_USED(EVP_PKEY_get0_asn1); | ||
322 | LCRYPTO_USED(EVP_PKEY_CTX_new); | ||
323 | LCRYPTO_USED(EVP_PKEY_CTX_new_id); | ||
324 | LCRYPTO_USED(EVP_PKEY_CTX_dup); | ||
325 | LCRYPTO_USED(EVP_PKEY_CTX_free); | ||
326 | LCRYPTO_USED(EVP_PKEY_CTX_ctrl); | ||
327 | LCRYPTO_USED(EVP_PKEY_CTX_ctrl_str); | ||
328 | LCRYPTO_USED(EVP_PKEY_CTX_get_operation); | ||
329 | LCRYPTO_USED(EVP_PKEY_CTX_set0_keygen_info); | ||
330 | LCRYPTO_USED(EVP_PKEY_new_mac_key); | ||
331 | LCRYPTO_USED(EVP_PKEY_new_CMAC_key); | ||
332 | LCRYPTO_USED(EVP_PKEY_CTX_set_data); | ||
333 | LCRYPTO_USED(EVP_PKEY_CTX_get_data); | ||
334 | LCRYPTO_USED(EVP_PKEY_CTX_get0_pkey); | ||
335 | LCRYPTO_USED(EVP_PKEY_CTX_get0_peerkey); | ||
336 | LCRYPTO_USED(EVP_PKEY_CTX_set_app_data); | ||
337 | LCRYPTO_USED(EVP_PKEY_CTX_get_app_data); | ||
338 | LCRYPTO_USED(EVP_PKEY_sign_init); | ||
339 | LCRYPTO_USED(EVP_PKEY_sign); | ||
340 | LCRYPTO_USED(EVP_PKEY_verify_init); | ||
341 | LCRYPTO_USED(EVP_PKEY_verify); | ||
342 | LCRYPTO_USED(EVP_PKEY_verify_recover_init); | ||
343 | LCRYPTO_USED(EVP_PKEY_verify_recover); | ||
344 | LCRYPTO_USED(EVP_PKEY_encrypt_init); | ||
345 | LCRYPTO_USED(EVP_PKEY_encrypt); | ||
346 | LCRYPTO_USED(EVP_PKEY_decrypt_init); | ||
347 | LCRYPTO_USED(EVP_PKEY_decrypt); | ||
348 | LCRYPTO_USED(EVP_PKEY_derive_init); | ||
349 | LCRYPTO_USED(EVP_PKEY_derive_set_peer); | ||
350 | LCRYPTO_USED(EVP_PKEY_derive); | ||
351 | LCRYPTO_USED(EVP_PKEY_paramgen_init); | ||
352 | LCRYPTO_USED(EVP_PKEY_paramgen); | ||
353 | LCRYPTO_USED(EVP_PKEY_keygen_init); | ||
354 | LCRYPTO_USED(EVP_PKEY_keygen); | ||
355 | LCRYPTO_USED(EVP_PKEY_CTX_set_cb); | ||
356 | LCRYPTO_USED(EVP_PKEY_CTX_get_cb); | ||
357 | LCRYPTO_USED(EVP_PKEY_CTX_get_keygen_info); | ||
358 | LCRYPTO_USED(EVP_aead_aes_128_gcm); | ||
359 | LCRYPTO_USED(EVP_aead_aes_256_gcm); | ||
360 | LCRYPTO_USED(EVP_aead_chacha20_poly1305); | ||
361 | LCRYPTO_USED(EVP_aead_xchacha20_poly1305); | ||
362 | LCRYPTO_USED(EVP_AEAD_key_length); | ||
363 | LCRYPTO_USED(EVP_AEAD_nonce_length); | ||
364 | LCRYPTO_USED(EVP_AEAD_max_overhead); | ||
365 | LCRYPTO_USED(EVP_AEAD_max_tag_len); | ||
366 | LCRYPTO_USED(EVP_AEAD_CTX_new); | ||
367 | LCRYPTO_USED(EVP_AEAD_CTX_free); | ||
368 | LCRYPTO_USED(EVP_AEAD_CTX_init); | ||
369 | LCRYPTO_USED(EVP_AEAD_CTX_cleanup); | ||
370 | LCRYPTO_USED(EVP_AEAD_CTX_seal); | ||
371 | LCRYPTO_USED(EVP_AEAD_CTX_open); | ||
372 | LCRYPTO_USED(ERR_load_EVP_strings); | ||
373 | LCRYPTO_UNUSED(EVP_MD_CTX_init); | ||
374 | LCRYPTO_UNUSED(EVP_EncryptFinal); | ||
375 | LCRYPTO_UNUSED(EVP_DecryptFinal); | ||
376 | LCRYPTO_UNUSED(EVP_CipherFinal); | ||
377 | LCRYPTO_UNUSED(EVP_CIPHER_CTX_init); | ||
378 | |||
379 | #endif /* _LIBCRYPTO_EVP_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/hkdf.h b/src/lib/libcrypto/hidden/openssl/hkdf.h deleted file mode 100644 index 0c01cf3e6b..0000000000 --- a/src/lib/libcrypto/hidden/openssl/hkdf.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: hkdf.h,v 1.2 2023/07/07 19:37:54 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_HKDF_H | ||
19 | #define _LIBCRYPTO_HKDF_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/hkdf.h> | ||
23 | #else | ||
24 | #include "../include/openssl/hkdf.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(HKDF); | ||
29 | LCRYPTO_USED(HKDF_extract); | ||
30 | LCRYPTO_USED(HKDF_expand); | ||
31 | |||
32 | #endif /* _LIBCRYPTO_HKDF_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/hmac.h b/src/lib/libcrypto/hidden/openssl/hmac.h deleted file mode 100644 index ef8d2187bb..0000000000 --- a/src/lib/libcrypto/hidden/openssl/hmac.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* $OpenBSD: hmac.h,v 1.3 2024/08/31 10:42:21 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2016 Philip Guenther <guenther@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_HMAC_H_ | ||
19 | #define _LIBCRYPTO_HMAC_H_ | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/hmac.h> | ||
23 | #else | ||
24 | #include "../include/openssl/hmac.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(HMAC_CTX_new); | ||
29 | LCRYPTO_USED(HMAC_CTX_free); | ||
30 | LCRYPTO_UNUSED(HMAC_CTX_reset); | ||
31 | LCRYPTO_USED(HMAC_Init_ex); | ||
32 | LCRYPTO_USED(HMAC_Update); | ||
33 | LCRYPTO_USED(HMAC_Final); | ||
34 | LCRYPTO_USED(HMAC); | ||
35 | LCRYPTO_USED(HMAC_CTX_copy); | ||
36 | LCRYPTO_USED(HMAC_CTX_set_flags); | ||
37 | LCRYPTO_USED(HMAC_CTX_get_md); | ||
38 | |||
39 | #endif /* _LIBCRYPTO_HMAC_H_ */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/idea.h b/src/lib/libcrypto/hidden/openssl/idea.h deleted file mode 100644 index 93b20a9cc6..0000000000 --- a/src/lib/libcrypto/hidden/openssl/idea.h +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* $OpenBSD: idea.h,v 1.2 2023/07/29 03:13:38 tb 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_IDEA_H | ||
19 | #define _LIBCRYPTO_IDEA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/idea.h> | ||
23 | #else | ||
24 | #include "../include/openssl/idea.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(idea_ecb_encrypt); | ||
29 | LCRYPTO_USED(idea_set_encrypt_key); | ||
30 | LCRYPTO_USED(idea_set_decrypt_key); | ||
31 | LCRYPTO_USED(idea_cbc_encrypt); | ||
32 | LCRYPTO_USED(idea_cfb64_encrypt); | ||
33 | LCRYPTO_USED(idea_ofb64_encrypt); | ||
34 | LCRYPTO_USED(idea_encrypt); | ||
35 | |||
36 | #endif /* _LIBCRYPTO_IDEA_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/lhash.h b/src/lib/libcrypto/hidden/openssl/lhash.h deleted file mode 100644 index 2cf5b2dc5a..0000000000 --- a/src/lib/libcrypto/hidden/openssl/lhash.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* $OpenBSD: lhash.h,v 1.4 2024/03/02 11:11:11 tb 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_LHASH_H | ||
19 | #define _LIBCRYPTO_LHASH_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/lhash.h> | ||
23 | #else | ||
24 | #include "../include/openssl/lhash.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(lh_new); | ||
29 | LCRYPTO_USED(lh_free); | ||
30 | LCRYPTO_USED(lh_error); | ||
31 | LCRYPTO_USED(lh_insert); | ||
32 | LCRYPTO_USED(lh_delete); | ||
33 | LCRYPTO_USED(lh_retrieve); | ||
34 | LCRYPTO_USED(lh_doall); | ||
35 | LCRYPTO_USED(lh_doall_arg); | ||
36 | LCRYPTO_USED(lh_strhash); | ||
37 | LCRYPTO_USED(lh_num_items); | ||
38 | |||
39 | #endif /* _LIBCRYPTO_LHASH_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/md4.h b/src/lib/libcrypto/hidden/openssl/md4.h deleted file mode 100644 index c5fc22c47e..0000000000 --- a/src/lib/libcrypto/hidden/openssl/md4.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* $OpenBSD: md4.h,v 1.1 2023/07/08 10:45:57 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_MD4_H | ||
19 | #define _LIBCRYPTO_MD4_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/md4.h> | ||
23 | #else | ||
24 | #include "../include/openssl/md4.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(MD4_Init); | ||
29 | LCRYPTO_USED(MD4_Update); | ||
30 | LCRYPTO_USED(MD4_Final); | ||
31 | LCRYPTO_USED(MD4); | ||
32 | LCRYPTO_USED(MD4_Transform); | ||
33 | |||
34 | #endif /* _LIBCRYPTO_MD4_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/md5.h b/src/lib/libcrypto/hidden/openssl/md5.h deleted file mode 100644 index 3dfade7f7c..0000000000 --- a/src/lib/libcrypto/hidden/openssl/md5.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* $OpenBSD: md5.h,v 1.1 2023/07/08 10:45:57 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_MD5_H | ||
19 | #define _LIBCRYPTO_MD5_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/md5.h> | ||
23 | #else | ||
24 | #include "../include/openssl/md5.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(MD5_Init); | ||
29 | LCRYPTO_USED(MD5_Update); | ||
30 | LCRYPTO_USED(MD5_Final); | ||
31 | LCRYPTO_USED(MD5); | ||
32 | LCRYPTO_USED(MD5_Transform); | ||
33 | |||
34 | #endif /* _LIBCRYPTO_MD5_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/mlkem.h b/src/lib/libcrypto/hidden/openssl/mlkem.h deleted file mode 100644 index 8cd80eb3af..0000000000 --- a/src/lib/libcrypto/hidden/openssl/mlkem.h +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /* $OpenBSD: mlkem.h,v 1.4 2024/12/20 15:10:31 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Bob Beck <beck@obtuse.com> | ||
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_MLKEM_H | ||
19 | #define _LIBCRYPTO_MLKEM_H | ||
20 | |||
21 | /* Undo when making public */ | ||
22 | #ifdef LIBRESSL_HAS_MLKEM | ||
23 | |||
24 | #ifndef _MSC_VER | ||
25 | #include_next <openssl/mlkem.h> | ||
26 | #else | ||
27 | #include "../include/openssl/mlkem.h" | ||
28 | #endif | ||
29 | #include "crypto_namespace.h" | ||
30 | |||
31 | LCRYPTO_USED(MLKEM768_generate_key); | ||
32 | LCRYPTO_USED(MLKEM768_public_from_private); | ||
33 | LCRYPTO_USED(MLKEM768_encap); | ||
34 | LCRYPTO_USED(MLKEM768_decap); | ||
35 | LCRYPTO_USED(MLKEM768_marshal_public_key); | ||
36 | LCRYPTO_USED(MLKEM768_parse_public_key); | ||
37 | LCRYPTO_USED(MLKEM768_private_key_from_seed); | ||
38 | LCRYPTO_USED(MLKEM768_parse_private_key); | ||
39 | LCRYPTO_USED(MLKEM1024_generate_key); | ||
40 | LCRYPTO_USED(MLKEM1024_public_from_private); | ||
41 | LCRYPTO_USED(MLKEM1024_encap); | ||
42 | LCRYPTO_USED(MLKEM1024_decap); | ||
43 | LCRYPTO_USED(MLKEM1024_marshal_public_key); | ||
44 | LCRYPTO_USED(MLKEM1024_parse_public_key); | ||
45 | LCRYPTO_USED(MLKEM1024_private_key_from_seed); | ||
46 | LCRYPTO_USED(MLKEM1024_parse_private_key); | ||
47 | #endif /* LIBRESSL_HAS_MLKEM */ | ||
48 | |||
49 | #endif /* _LIBCRYPTO_MLKEM_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/modes.h b/src/lib/libcrypto/hidden/openssl/modes.h deleted file mode 100644 index 4162861beb..0000000000 --- a/src/lib/libcrypto/hidden/openssl/modes.h +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | /* $OpenBSD: modes.h,v 1.1 2023/07/08 14:56:54 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_MODES_H | ||
19 | #define _LIBCRYPTO_MODES_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/modes.h> | ||
23 | #else | ||
24 | #include "../include/openssl/modes.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(CRYPTO_cbc128_encrypt); | ||
29 | LCRYPTO_USED(CRYPTO_cbc128_decrypt); | ||
30 | LCRYPTO_USED(CRYPTO_ctr128_encrypt); | ||
31 | LCRYPTO_USED(CRYPTO_ctr128_encrypt_ctr32); | ||
32 | LCRYPTO_USED(CRYPTO_ofb128_encrypt); | ||
33 | LCRYPTO_USED(CRYPTO_cfb128_encrypt); | ||
34 | LCRYPTO_USED(CRYPTO_cfb128_8_encrypt); | ||
35 | LCRYPTO_USED(CRYPTO_cfb128_1_encrypt); | ||
36 | LCRYPTO_USED(CRYPTO_gcm128_new); | ||
37 | LCRYPTO_USED(CRYPTO_gcm128_init); | ||
38 | LCRYPTO_USED(CRYPTO_gcm128_setiv); | ||
39 | LCRYPTO_USED(CRYPTO_gcm128_aad); | ||
40 | LCRYPTO_USED(CRYPTO_gcm128_encrypt); | ||
41 | LCRYPTO_USED(CRYPTO_gcm128_decrypt); | ||
42 | LCRYPTO_USED(CRYPTO_gcm128_encrypt_ctr32); | ||
43 | LCRYPTO_USED(CRYPTO_gcm128_decrypt_ctr32); | ||
44 | LCRYPTO_USED(CRYPTO_gcm128_finish); | ||
45 | LCRYPTO_USED(CRYPTO_gcm128_tag); | ||
46 | LCRYPTO_USED(CRYPTO_gcm128_release); | ||
47 | LCRYPTO_USED(CRYPTO_ccm128_init); | ||
48 | LCRYPTO_USED(CRYPTO_ccm128_setiv); | ||
49 | LCRYPTO_USED(CRYPTO_ccm128_aad); | ||
50 | LCRYPTO_USED(CRYPTO_ccm128_encrypt); | ||
51 | LCRYPTO_USED(CRYPTO_ccm128_decrypt); | ||
52 | LCRYPTO_USED(CRYPTO_ccm128_encrypt_ccm64); | ||
53 | LCRYPTO_USED(CRYPTO_ccm128_decrypt_ccm64); | ||
54 | LCRYPTO_USED(CRYPTO_ccm128_tag); | ||
55 | LCRYPTO_USED(CRYPTO_xts128_encrypt); | ||
56 | |||
57 | #endif /* _LIBCRYPTO_MODES_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/objects.h b/src/lib/libcrypto/hidden/openssl/objects.h deleted file mode 100644 index c2db51a6c9..0000000000 --- a/src/lib/libcrypto/hidden/openssl/objects.h +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | /* $OpenBSD: objects.h,v 1.5 2024/03/02 09:49:45 tb 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_OBJECTS_H | ||
19 | #define _LIBCRYPTO_OBJECTS_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/objects.h> | ||
23 | #else | ||
24 | #include "../include/openssl/objects.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(OBJ_NAME_do_all); | ||
29 | LCRYPTO_USED(OBJ_NAME_do_all_sorted); | ||
30 | LCRYPTO_USED(OBJ_dup); | ||
31 | LCRYPTO_USED(OBJ_nid2obj); | ||
32 | LCRYPTO_USED(OBJ_nid2ln); | ||
33 | LCRYPTO_USED(OBJ_nid2sn); | ||
34 | LCRYPTO_USED(OBJ_obj2nid); | ||
35 | LCRYPTO_USED(OBJ_txt2obj); | ||
36 | LCRYPTO_USED(OBJ_obj2txt); | ||
37 | LCRYPTO_USED(OBJ_txt2nid); | ||
38 | LCRYPTO_USED(OBJ_ln2nid); | ||
39 | LCRYPTO_USED(OBJ_sn2nid); | ||
40 | LCRYPTO_USED(OBJ_cmp); | ||
41 | LCRYPTO_USED(OBJ_new_nid); | ||
42 | LCRYPTO_USED(OBJ_create); | ||
43 | LCRYPTO_USED(OBJ_cleanup); | ||
44 | LCRYPTO_USED(OBJ_create_objects); | ||
45 | LCRYPTO_USED(OBJ_length); | ||
46 | LCRYPTO_USED(OBJ_get0_data); | ||
47 | LCRYPTO_USED(OBJ_find_sigid_algs); | ||
48 | LCRYPTO_USED(OBJ_find_sigid_by_algs); | ||
49 | LCRYPTO_USED(ERR_load_OBJ_strings); | ||
50 | |||
51 | #endif /* _LIBCRYPTO_OBJECTS_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/ocsp.h b/src/lib/libcrypto/hidden/openssl/ocsp.h deleted file mode 100644 index fa19c28612..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ocsp.h +++ /dev/null | |||
@@ -1,208 +0,0 @@ | |||
1 | /* $OpenBSD: ocsp.h,v 1.3 2024/07/08 17:01:54 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_OCSP_H | ||
19 | #define _LIBCRYPTO_OCSP_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ocsp.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ocsp.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(OCSP_RESPID_new); | ||
29 | LCRYPTO_USED(OCSP_RESPID_free); | ||
30 | LCRYPTO_USED(d2i_OCSP_RESPID); | ||
31 | LCRYPTO_USED(i2d_OCSP_RESPID); | ||
32 | LCRYPTO_USED(OCSP_CERTID_dup); | ||
33 | LCRYPTO_USED(OCSP_sendreq_bio); | ||
34 | LCRYPTO_USED(OCSP_sendreq_new); | ||
35 | LCRYPTO_USED(OCSP_sendreq_nbio); | ||
36 | LCRYPTO_USED(OCSP_REQ_CTX_free); | ||
37 | LCRYPTO_USED(OCSP_REQ_CTX_set1_req); | ||
38 | LCRYPTO_USED(OCSP_REQ_CTX_add1_header); | ||
39 | LCRYPTO_USED(OCSP_cert_to_id); | ||
40 | LCRYPTO_USED(OCSP_cert_id_new); | ||
41 | LCRYPTO_USED(OCSP_request_add0_id); | ||
42 | LCRYPTO_USED(OCSP_request_add1_nonce); | ||
43 | LCRYPTO_USED(OCSP_basic_add1_nonce); | ||
44 | LCRYPTO_USED(OCSP_check_nonce); | ||
45 | LCRYPTO_USED(OCSP_copy_nonce); | ||
46 | LCRYPTO_USED(OCSP_request_set1_name); | ||
47 | LCRYPTO_USED(OCSP_request_add1_cert); | ||
48 | LCRYPTO_USED(OCSP_request_sign); | ||
49 | LCRYPTO_USED(OCSP_response_status); | ||
50 | LCRYPTO_USED(OCSP_response_get1_basic); | ||
51 | LCRYPTO_USED(OCSP_resp_get0_signature); | ||
52 | LCRYPTO_USED(OCSP_resp_get0_tbs_sigalg); | ||
53 | LCRYPTO_USED(OCSP_resp_get0_respdata); | ||
54 | LCRYPTO_USED(OCSP_resp_get0_signer); | ||
55 | LCRYPTO_USED(OCSP_resp_count); | ||
56 | LCRYPTO_USED(OCSP_resp_get0); | ||
57 | LCRYPTO_USED(OCSP_resp_get0_produced_at); | ||
58 | LCRYPTO_USED(OCSP_resp_get0_certs); | ||
59 | LCRYPTO_USED(OCSP_resp_get0_id); | ||
60 | LCRYPTO_USED(OCSP_resp_find); | ||
61 | LCRYPTO_USED(OCSP_single_get0_status); | ||
62 | LCRYPTO_USED(OCSP_resp_find_status); | ||
63 | LCRYPTO_USED(OCSP_check_validity); | ||
64 | LCRYPTO_USED(OCSP_request_verify); | ||
65 | LCRYPTO_USED(OCSP_parse_url); | ||
66 | LCRYPTO_USED(OCSP_id_issuer_cmp); | ||
67 | LCRYPTO_USED(OCSP_id_cmp); | ||
68 | LCRYPTO_USED(OCSP_request_onereq_count); | ||
69 | LCRYPTO_USED(OCSP_request_onereq_get0); | ||
70 | LCRYPTO_USED(OCSP_onereq_get0_id); | ||
71 | LCRYPTO_USED(OCSP_id_get0_info); | ||
72 | LCRYPTO_USED(OCSP_request_is_signed); | ||
73 | LCRYPTO_USED(OCSP_response_create); | ||
74 | LCRYPTO_USED(OCSP_basic_add1_status); | ||
75 | LCRYPTO_USED(OCSP_basic_add1_cert); | ||
76 | LCRYPTO_USED(OCSP_basic_sign); | ||
77 | LCRYPTO_USED(OCSP_crlID_new); | ||
78 | LCRYPTO_USED(OCSP_accept_responses_new); | ||
79 | LCRYPTO_USED(OCSP_archive_cutoff_new); | ||
80 | LCRYPTO_USED(OCSP_url_svcloc_new); | ||
81 | LCRYPTO_USED(OCSP_REQUEST_get_ext_count); | ||
82 | LCRYPTO_USED(OCSP_REQUEST_get_ext_by_NID); | ||
83 | LCRYPTO_USED(OCSP_REQUEST_get_ext_by_OBJ); | ||
84 | LCRYPTO_USED(OCSP_REQUEST_get_ext_by_critical); | ||
85 | LCRYPTO_USED(OCSP_REQUEST_get_ext); | ||
86 | LCRYPTO_USED(OCSP_REQUEST_delete_ext); | ||
87 | LCRYPTO_USED(OCSP_REQUEST_get1_ext_d2i); | ||
88 | LCRYPTO_USED(OCSP_REQUEST_add1_ext_i2d); | ||
89 | LCRYPTO_USED(OCSP_REQUEST_add_ext); | ||
90 | LCRYPTO_USED(OCSP_ONEREQ_get_ext_count); | ||
91 | LCRYPTO_USED(OCSP_ONEREQ_get_ext_by_NID); | ||
92 | LCRYPTO_USED(OCSP_ONEREQ_get_ext_by_OBJ); | ||
93 | LCRYPTO_USED(OCSP_ONEREQ_get_ext_by_critical); | ||
94 | LCRYPTO_USED(OCSP_ONEREQ_get_ext); | ||
95 | LCRYPTO_USED(OCSP_ONEREQ_delete_ext); | ||
96 | LCRYPTO_USED(OCSP_ONEREQ_get1_ext_d2i); | ||
97 | LCRYPTO_USED(OCSP_ONEREQ_add1_ext_i2d); | ||
98 | LCRYPTO_USED(OCSP_ONEREQ_add_ext); | ||
99 | LCRYPTO_USED(OCSP_BASICRESP_get_ext_count); | ||
100 | LCRYPTO_USED(OCSP_BASICRESP_get_ext_by_NID); | ||
101 | LCRYPTO_USED(OCSP_BASICRESP_get_ext_by_OBJ); | ||
102 | LCRYPTO_USED(OCSP_BASICRESP_get_ext_by_critical); | ||
103 | LCRYPTO_USED(OCSP_BASICRESP_get_ext); | ||
104 | LCRYPTO_USED(OCSP_BASICRESP_delete_ext); | ||
105 | LCRYPTO_USED(OCSP_BASICRESP_get1_ext_d2i); | ||
106 | LCRYPTO_USED(OCSP_BASICRESP_add1_ext_i2d); | ||
107 | LCRYPTO_USED(OCSP_BASICRESP_add_ext); | ||
108 | LCRYPTO_USED(OCSP_SINGLERESP_get_ext_count); | ||
109 | LCRYPTO_USED(OCSP_SINGLERESP_get_ext_by_NID); | ||
110 | LCRYPTO_USED(OCSP_SINGLERESP_get_ext_by_OBJ); | ||
111 | LCRYPTO_USED(OCSP_SINGLERESP_get_ext_by_critical); | ||
112 | LCRYPTO_USED(OCSP_SINGLERESP_get_ext); | ||
113 | LCRYPTO_USED(OCSP_SINGLERESP_delete_ext); | ||
114 | LCRYPTO_USED(OCSP_SINGLERESP_get1_ext_d2i); | ||
115 | LCRYPTO_USED(OCSP_SINGLERESP_add1_ext_i2d); | ||
116 | LCRYPTO_USED(OCSP_SINGLERESP_add_ext); | ||
117 | LCRYPTO_USED(OCSP_SINGLERESP_get0_id); | ||
118 | LCRYPTO_USED(OCSP_SINGLERESP_new); | ||
119 | LCRYPTO_USED(OCSP_SINGLERESP_free); | ||
120 | LCRYPTO_USED(d2i_OCSP_SINGLERESP); | ||
121 | LCRYPTO_USED(i2d_OCSP_SINGLERESP); | ||
122 | LCRYPTO_USED(OCSP_CERTSTATUS_new); | ||
123 | LCRYPTO_USED(OCSP_CERTSTATUS_free); | ||
124 | LCRYPTO_USED(d2i_OCSP_CERTSTATUS); | ||
125 | LCRYPTO_USED(i2d_OCSP_CERTSTATUS); | ||
126 | LCRYPTO_USED(OCSP_REVOKEDINFO_new); | ||
127 | LCRYPTO_USED(OCSP_REVOKEDINFO_free); | ||
128 | LCRYPTO_USED(d2i_OCSP_REVOKEDINFO); | ||
129 | LCRYPTO_USED(i2d_OCSP_REVOKEDINFO); | ||
130 | LCRYPTO_USED(OCSP_BASICRESP_new); | ||
131 | LCRYPTO_USED(OCSP_BASICRESP_free); | ||
132 | LCRYPTO_USED(d2i_OCSP_BASICRESP); | ||
133 | LCRYPTO_USED(i2d_OCSP_BASICRESP); | ||
134 | LCRYPTO_USED(OCSP_RESPDATA_new); | ||
135 | LCRYPTO_USED(OCSP_RESPDATA_free); | ||
136 | LCRYPTO_USED(d2i_OCSP_RESPDATA); | ||
137 | LCRYPTO_USED(i2d_OCSP_RESPDATA); | ||
138 | LCRYPTO_USED(OCSP_RESPID_new); | ||
139 | LCRYPTO_USED(OCSP_RESPID_free); | ||
140 | LCRYPTO_USED(d2i_OCSP_RESPID); | ||
141 | LCRYPTO_USED(i2d_OCSP_RESPID); | ||
142 | LCRYPTO_USED(OCSP_RESPONSE_new); | ||
143 | LCRYPTO_USED(OCSP_RESPONSE_free); | ||
144 | LCRYPTO_USED(d2i_OCSP_RESPONSE); | ||
145 | LCRYPTO_USED(i2d_OCSP_RESPONSE); | ||
146 | LCRYPTO_USED(d2i_OCSP_RESPONSE_bio); | ||
147 | LCRYPTO_USED(i2d_OCSP_RESPONSE_bio); | ||
148 | LCRYPTO_USED(OCSP_RESPBYTES_new); | ||
149 | LCRYPTO_USED(OCSP_RESPBYTES_free); | ||
150 | LCRYPTO_USED(d2i_OCSP_RESPBYTES); | ||
151 | LCRYPTO_USED(i2d_OCSP_RESPBYTES); | ||
152 | LCRYPTO_USED(OCSP_ONEREQ_new); | ||
153 | LCRYPTO_USED(OCSP_ONEREQ_free); | ||
154 | LCRYPTO_USED(d2i_OCSP_ONEREQ); | ||
155 | LCRYPTO_USED(i2d_OCSP_ONEREQ); | ||
156 | LCRYPTO_USED(OCSP_CERTID_new); | ||
157 | LCRYPTO_USED(OCSP_CERTID_free); | ||
158 | LCRYPTO_USED(d2i_OCSP_CERTID); | ||
159 | LCRYPTO_USED(i2d_OCSP_CERTID); | ||
160 | LCRYPTO_USED(OCSP_REQUEST_new); | ||
161 | LCRYPTO_USED(OCSP_REQUEST_free); | ||
162 | LCRYPTO_USED(d2i_OCSP_REQUEST); | ||
163 | LCRYPTO_USED(i2d_OCSP_REQUEST); | ||
164 | LCRYPTO_USED(d2i_OCSP_REQUEST_bio); | ||
165 | LCRYPTO_USED(i2d_OCSP_REQUEST_bio); | ||
166 | LCRYPTO_USED(OCSP_SIGNATURE_new); | ||
167 | LCRYPTO_USED(OCSP_SIGNATURE_free); | ||
168 | LCRYPTO_USED(d2i_OCSP_SIGNATURE); | ||
169 | LCRYPTO_USED(i2d_OCSP_SIGNATURE); | ||
170 | LCRYPTO_USED(OCSP_REQINFO_new); | ||
171 | LCRYPTO_USED(OCSP_REQINFO_free); | ||
172 | LCRYPTO_USED(d2i_OCSP_REQINFO); | ||
173 | LCRYPTO_USED(i2d_OCSP_REQINFO); | ||
174 | LCRYPTO_USED(OCSP_CRLID_new); | ||
175 | LCRYPTO_USED(OCSP_CRLID_free); | ||
176 | LCRYPTO_USED(d2i_OCSP_CRLID); | ||
177 | LCRYPTO_USED(i2d_OCSP_CRLID); | ||
178 | LCRYPTO_USED(OCSP_SERVICELOC_new); | ||
179 | LCRYPTO_USED(OCSP_SERVICELOC_free); | ||
180 | LCRYPTO_USED(d2i_OCSP_SERVICELOC); | ||
181 | LCRYPTO_USED(i2d_OCSP_SERVICELOC); | ||
182 | LCRYPTO_USED(OCSP_response_status_str); | ||
183 | LCRYPTO_USED(OCSP_cert_status_str); | ||
184 | LCRYPTO_USED(OCSP_crl_reason_str); | ||
185 | LCRYPTO_USED(OCSP_REQUEST_print); | ||
186 | LCRYPTO_USED(OCSP_RESPONSE_print); | ||
187 | LCRYPTO_USED(OCSP_basic_verify); | ||
188 | LCRYPTO_USED(ERR_load_OCSP_strings); | ||
189 | #if defined(LIBRESSL_NAMESPACE) | ||
190 | extern LCRYPTO_USED(OCSP_RESPID_it); | ||
191 | extern LCRYPTO_USED(OCSP_SINGLERESP_it); | ||
192 | extern LCRYPTO_USED(OCSP_CERTSTATUS_it); | ||
193 | extern LCRYPTO_USED(OCSP_REVOKEDINFO_it); | ||
194 | extern LCRYPTO_USED(OCSP_BASICRESP_it); | ||
195 | extern LCRYPTO_USED(OCSP_RESPDATA_it); | ||
196 | extern LCRYPTO_USED(OCSP_RESPID_it); | ||
197 | extern LCRYPTO_USED(OCSP_RESPONSE_it); | ||
198 | extern LCRYPTO_USED(OCSP_RESPBYTES_it); | ||
199 | extern LCRYPTO_USED(OCSP_ONEREQ_it); | ||
200 | extern LCRYPTO_USED(OCSP_CERTID_it); | ||
201 | extern LCRYPTO_USED(OCSP_REQUEST_it); | ||
202 | extern LCRYPTO_USED(OCSP_SIGNATURE_it); | ||
203 | extern LCRYPTO_USED(OCSP_REQINFO_it); | ||
204 | extern LCRYPTO_USED(OCSP_CRLID_it); | ||
205 | extern LCRYPTO_USED(OCSP_SERVICELOC_it); | ||
206 | #endif | ||
207 | |||
208 | #endif /* _LIBCRYPTO_OCSP_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/pem.h b/src/lib/libcrypto/hidden/openssl/pem.h deleted file mode 100644 index 5838f07f4d..0000000000 --- a/src/lib/libcrypto/hidden/openssl/pem.h +++ /dev/null | |||
@@ -1,149 +0,0 @@ | |||
1 | /* $OpenBSD: pem.h,v 1.2 2023/07/07 19:37:54 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_PEM_H | ||
19 | #define _LIBCRYPTO_PEM_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/pem.h> | ||
23 | #else | ||
24 | #include "../include/openssl/pem.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(PEM_get_EVP_CIPHER_INFO); | ||
29 | LCRYPTO_USED(PEM_do_header); | ||
30 | LCRYPTO_USED(PEM_read_bio); | ||
31 | LCRYPTO_USED(PEM_write_bio); | ||
32 | LCRYPTO_USED(PEM_bytes_read_bio); | ||
33 | LCRYPTO_USED(PEM_ASN1_read_bio); | ||
34 | LCRYPTO_USED(PEM_ASN1_write_bio); | ||
35 | LCRYPTO_USED(PEM_X509_INFO_read_bio); | ||
36 | LCRYPTO_USED(PEM_X509_INFO_write_bio); | ||
37 | LCRYPTO_USED(PEM_read); | ||
38 | LCRYPTO_USED(PEM_write); | ||
39 | LCRYPTO_USED(PEM_ASN1_read); | ||
40 | LCRYPTO_USED(PEM_ASN1_write); | ||
41 | LCRYPTO_USED(PEM_X509_INFO_read); | ||
42 | LCRYPTO_USED(PEM_SignInit); | ||
43 | LCRYPTO_USED(PEM_SignUpdate); | ||
44 | LCRYPTO_USED(PEM_SignFinal); | ||
45 | LCRYPTO_USED(PEM_def_callback); | ||
46 | LCRYPTO_USED(PEM_proc_type); | ||
47 | LCRYPTO_USED(PEM_dek_info); | ||
48 | LCRYPTO_USED(PEM_read_X509); | ||
49 | LCRYPTO_USED(PEM_read_bio_X509); | ||
50 | LCRYPTO_USED(PEM_write_X509); | ||
51 | LCRYPTO_USED(PEM_write_bio_X509); | ||
52 | LCRYPTO_USED(PEM_read_X509_AUX); | ||
53 | LCRYPTO_USED(PEM_read_bio_X509_AUX); | ||
54 | LCRYPTO_USED(PEM_write_X509_AUX); | ||
55 | LCRYPTO_USED(PEM_write_bio_X509_AUX); | ||
56 | LCRYPTO_USED(PEM_read_X509_REQ); | ||
57 | LCRYPTO_USED(PEM_read_bio_X509_REQ); | ||
58 | LCRYPTO_USED(PEM_write_X509_REQ); | ||
59 | LCRYPTO_USED(PEM_write_bio_X509_REQ); | ||
60 | LCRYPTO_USED(PEM_write_X509_REQ_NEW); | ||
61 | LCRYPTO_USED(PEM_write_bio_X509_REQ_NEW); | ||
62 | LCRYPTO_USED(PEM_read_X509_CRL); | ||
63 | LCRYPTO_USED(PEM_read_bio_X509_CRL); | ||
64 | LCRYPTO_USED(PEM_write_X509_CRL); | ||
65 | LCRYPTO_USED(PEM_write_bio_X509_CRL); | ||
66 | LCRYPTO_USED(PEM_read_PKCS7); | ||
67 | LCRYPTO_USED(PEM_read_bio_PKCS7); | ||
68 | LCRYPTO_USED(PEM_write_PKCS7); | ||
69 | LCRYPTO_USED(PEM_write_bio_PKCS7); | ||
70 | LCRYPTO_USED(PEM_read_PKCS8); | ||
71 | LCRYPTO_USED(PEM_read_bio_PKCS8); | ||
72 | LCRYPTO_USED(PEM_write_PKCS8); | ||
73 | LCRYPTO_USED(PEM_write_bio_PKCS8); | ||
74 | LCRYPTO_USED(PEM_read_PKCS8_PRIV_KEY_INFO); | ||
75 | LCRYPTO_USED(PEM_read_bio_PKCS8_PRIV_KEY_INFO); | ||
76 | LCRYPTO_USED(PEM_write_PKCS8_PRIV_KEY_INFO); | ||
77 | LCRYPTO_USED(PEM_write_bio_PKCS8_PRIV_KEY_INFO); | ||
78 | LCRYPTO_USED(PEM_read_RSAPrivateKey); | ||
79 | LCRYPTO_USED(PEM_read_bio_RSAPrivateKey); | ||
80 | LCRYPTO_USED(PEM_write_RSAPrivateKey); | ||
81 | LCRYPTO_USED(PEM_write_bio_RSAPrivateKey); | ||
82 | LCRYPTO_USED(PEM_read_RSAPublicKey); | ||
83 | LCRYPTO_USED(PEM_read_bio_RSAPublicKey); | ||
84 | LCRYPTO_USED(PEM_write_RSAPublicKey); | ||
85 | LCRYPTO_USED(PEM_write_bio_RSAPublicKey); | ||
86 | LCRYPTO_USED(PEM_read_RSA_PUBKEY); | ||
87 | LCRYPTO_USED(PEM_read_bio_RSA_PUBKEY); | ||
88 | LCRYPTO_USED(PEM_write_RSA_PUBKEY); | ||
89 | LCRYPTO_USED(PEM_write_bio_RSA_PUBKEY); | ||
90 | LCRYPTO_USED(PEM_read_DSAPrivateKey); | ||
91 | LCRYPTO_USED(PEM_read_bio_DSAPrivateKey); | ||
92 | LCRYPTO_USED(PEM_write_DSAPrivateKey); | ||
93 | LCRYPTO_USED(PEM_write_bio_DSAPrivateKey); | ||
94 | LCRYPTO_USED(PEM_read_DSA_PUBKEY); | ||
95 | LCRYPTO_USED(PEM_read_bio_DSA_PUBKEY); | ||
96 | LCRYPTO_USED(PEM_write_DSA_PUBKEY); | ||
97 | LCRYPTO_USED(PEM_write_bio_DSA_PUBKEY); | ||
98 | LCRYPTO_USED(PEM_read_DSAparams); | ||
99 | LCRYPTO_USED(PEM_read_bio_DSAparams); | ||
100 | LCRYPTO_USED(PEM_write_DSAparams); | ||
101 | LCRYPTO_USED(PEM_write_bio_DSAparams); | ||
102 | LCRYPTO_USED(PEM_read_ECPKParameters); | ||
103 | LCRYPTO_USED(PEM_read_bio_ECPKParameters); | ||
104 | LCRYPTO_USED(PEM_write_ECPKParameters); | ||
105 | LCRYPTO_USED(PEM_write_bio_ECPKParameters); | ||
106 | LCRYPTO_USED(PEM_read_ECPrivateKey); | ||
107 | LCRYPTO_USED(PEM_read_bio_ECPrivateKey); | ||
108 | LCRYPTO_USED(PEM_write_ECPrivateKey); | ||
109 | LCRYPTO_USED(PEM_write_bio_ECPrivateKey); | ||
110 | LCRYPTO_USED(PEM_read_EC_PUBKEY); | ||
111 | LCRYPTO_USED(PEM_read_bio_EC_PUBKEY); | ||
112 | LCRYPTO_USED(PEM_write_EC_PUBKEY); | ||
113 | LCRYPTO_USED(PEM_write_bio_EC_PUBKEY); | ||
114 | LCRYPTO_USED(PEM_read_DHparams); | ||
115 | LCRYPTO_USED(PEM_read_bio_DHparams); | ||
116 | LCRYPTO_USED(PEM_write_DHparams); | ||
117 | LCRYPTO_USED(PEM_write_bio_DHparams); | ||
118 | LCRYPTO_USED(PEM_read_PrivateKey); | ||
119 | LCRYPTO_USED(PEM_read_bio_PrivateKey); | ||
120 | LCRYPTO_USED(PEM_write_PrivateKey); | ||
121 | LCRYPTO_USED(PEM_write_bio_PrivateKey); | ||
122 | LCRYPTO_USED(PEM_read_PUBKEY); | ||
123 | LCRYPTO_USED(PEM_read_bio_PUBKEY); | ||
124 | LCRYPTO_USED(PEM_write_PUBKEY); | ||
125 | LCRYPTO_USED(PEM_write_bio_PUBKEY); | ||
126 | LCRYPTO_USED(PEM_write_bio_PrivateKey_traditional); | ||
127 | LCRYPTO_USED(PEM_write_bio_PKCS8PrivateKey_nid); | ||
128 | LCRYPTO_USED(PEM_write_bio_PKCS8PrivateKey); | ||
129 | LCRYPTO_USED(i2d_PKCS8PrivateKey_bio); | ||
130 | LCRYPTO_USED(i2d_PKCS8PrivateKey_nid_bio); | ||
131 | LCRYPTO_USED(d2i_PKCS8PrivateKey_bio); | ||
132 | LCRYPTO_USED(i2d_PKCS8PrivateKey_fp); | ||
133 | LCRYPTO_USED(i2d_PKCS8PrivateKey_nid_fp); | ||
134 | LCRYPTO_USED(PEM_write_PKCS8PrivateKey_nid); | ||
135 | LCRYPTO_USED(d2i_PKCS8PrivateKey_fp); | ||
136 | LCRYPTO_USED(PEM_write_PKCS8PrivateKey); | ||
137 | LCRYPTO_USED(PEM_read_bio_Parameters); | ||
138 | LCRYPTO_USED(PEM_write_bio_Parameters); | ||
139 | LCRYPTO_USED(b2i_PrivateKey); | ||
140 | LCRYPTO_USED(b2i_PublicKey); | ||
141 | LCRYPTO_USED(b2i_PrivateKey_bio); | ||
142 | LCRYPTO_USED(b2i_PublicKey_bio); | ||
143 | LCRYPTO_USED(i2b_PrivateKey_bio); | ||
144 | LCRYPTO_USED(i2b_PublicKey_bio); | ||
145 | LCRYPTO_USED(b2i_PVK_bio); | ||
146 | LCRYPTO_USED(i2b_PVK_bio); | ||
147 | LCRYPTO_USED(ERR_load_PEM_strings); | ||
148 | |||
149 | #endif /* _LIBCRYPTO_PEM_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/pkcs12.h b/src/lib/libcrypto/hidden/openssl/pkcs12.h deleted file mode 100644 index 7e5607ab77..0000000000 --- a/src/lib/libcrypto/hidden/openssl/pkcs12.h +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | /* $OpenBSD: pkcs12.h,v 1.5 2025/03/09 15:45:52 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_PKCS12_H | ||
19 | #define _LIBCRYPTO_PKCS12_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/pkcs12.h> | ||
23 | #else | ||
24 | #include "../include/openssl/pkcs12.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(PKCS12_SAFEBAG_get0_attr); | ||
29 | LCRYPTO_USED(PKCS12_SAFEBAG_get0_attrs); | ||
30 | LCRYPTO_USED(PKCS12_SAFEBAG_get_nid); | ||
31 | LCRYPTO_USED(PKCS12_SAFEBAG_get_bag_nid); | ||
32 | LCRYPTO_USED(PKCS12_SAFEBAG_get1_cert); | ||
33 | LCRYPTO_USED(PKCS12_SAFEBAG_get1_crl); | ||
34 | LCRYPTO_USED(PKCS8_get_attr); | ||
35 | LCRYPTO_USED(PKCS12_mac_present); | ||
36 | LCRYPTO_USED(PKCS12_get0_mac); | ||
37 | LCRYPTO_USED(PKCS12_SAFEBAG_get0_p8inf); | ||
38 | LCRYPTO_USED(PKCS12_SAFEBAG_get0_pkcs8); | ||
39 | LCRYPTO_USED(PKCS12_SAFEBAG_get0_safes); | ||
40 | LCRYPTO_USED(PKCS12_SAFEBAG_get0_type); | ||
41 | LCRYPTO_USED(PKCS8_decrypt); | ||
42 | LCRYPTO_USED(PKCS12_decrypt_skey); | ||
43 | LCRYPTO_USED(PKCS8_encrypt); | ||
44 | LCRYPTO_USED(PKCS12_unpack_p7data); | ||
45 | LCRYPTO_USED(PKCS12_unpack_p7encdata); | ||
46 | LCRYPTO_USED(PKCS12_unpack_authsafes); | ||
47 | LCRYPTO_USED(PKCS8_add_keyusage); | ||
48 | LCRYPTO_USED(PKCS12_get_friendlyname); | ||
49 | LCRYPTO_USED(PKCS12_key_gen_uni); | ||
50 | LCRYPTO_USED(PKCS12_verify_mac); | ||
51 | LCRYPTO_USED(PKCS12_set_mac); | ||
52 | LCRYPTO_USED(OPENSSL_asc2uni); | ||
53 | LCRYPTO_USED(OPENSSL_uni2asc); | ||
54 | LCRYPTO_USED(PKCS12_new); | ||
55 | LCRYPTO_USED(PKCS12_free); | ||
56 | LCRYPTO_USED(d2i_PKCS12); | ||
57 | LCRYPTO_USED(i2d_PKCS12); | ||
58 | LCRYPTO_USED(PKCS12_SAFEBAG_new); | ||
59 | LCRYPTO_USED(PKCS12_SAFEBAG_free); | ||
60 | LCRYPTO_USED(d2i_PKCS12_SAFEBAG); | ||
61 | LCRYPTO_USED(i2d_PKCS12_SAFEBAG); | ||
62 | LCRYPTO_USED(PKCS12_PBE_add); | ||
63 | LCRYPTO_USED(PKCS12_parse); | ||
64 | LCRYPTO_USED(PKCS12_create); | ||
65 | LCRYPTO_USED(i2d_PKCS12_bio); | ||
66 | LCRYPTO_USED(i2d_PKCS12_fp); | ||
67 | LCRYPTO_USED(d2i_PKCS12_bio); | ||
68 | LCRYPTO_USED(d2i_PKCS12_fp); | ||
69 | LCRYPTO_USED(PKCS12_newpass); | ||
70 | LCRYPTO_USED(ERR_load_PKCS12_strings); | ||
71 | #if defined(LIBRESSL_NAMESPACE) | ||
72 | extern LCRYPTO_USED(PKCS12_it); | ||
73 | extern LCRYPTO_USED(PKCS12_SAFEBAG_it); | ||
74 | #endif | ||
75 | |||
76 | #endif /* _LIBCRYPTO_PKCS12_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/pkcs7.h b/src/lib/libcrypto/hidden/openssl/pkcs7.h deleted file mode 100644 index b531b298d0..0000000000 --- a/src/lib/libcrypto/hidden/openssl/pkcs7.h +++ /dev/null | |||
@@ -1,143 +0,0 @@ | |||
1 | /* $OpenBSD: pkcs7.h,v 1.5 2024/07/08 17:01:54 beck Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_PKCS7_H | ||
19 | #define _LIBCRYPTO_PKCS7_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/pkcs7.h> | ||
23 | #else | ||
24 | #include "../include/openssl/pkcs7.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(PKCS7_ISSUER_AND_SERIAL_new); | ||
29 | LCRYPTO_USED(PKCS7_ISSUER_AND_SERIAL_free); | ||
30 | LCRYPTO_USED(d2i_PKCS7_ISSUER_AND_SERIAL); | ||
31 | LCRYPTO_USED(i2d_PKCS7_ISSUER_AND_SERIAL); | ||
32 | LCRYPTO_USED(PKCS7_ISSUER_AND_SERIAL_digest); | ||
33 | LCRYPTO_USED(d2i_PKCS7_fp); | ||
34 | LCRYPTO_USED(i2d_PKCS7_fp); | ||
35 | LCRYPTO_USED(PKCS7_dup); | ||
36 | LCRYPTO_USED(d2i_PKCS7_bio); | ||
37 | LCRYPTO_USED(i2d_PKCS7_bio); | ||
38 | LCRYPTO_USED(i2d_PKCS7_bio_stream); | ||
39 | LCRYPTO_USED(PEM_write_bio_PKCS7_stream); | ||
40 | LCRYPTO_USED(PKCS7_SIGNER_INFO_new); | ||
41 | LCRYPTO_USED(PKCS7_SIGNER_INFO_free); | ||
42 | LCRYPTO_USED(d2i_PKCS7_SIGNER_INFO); | ||
43 | LCRYPTO_USED(i2d_PKCS7_SIGNER_INFO); | ||
44 | LCRYPTO_USED(PKCS7_RECIP_INFO_new); | ||
45 | LCRYPTO_USED(PKCS7_RECIP_INFO_free); | ||
46 | LCRYPTO_USED(d2i_PKCS7_RECIP_INFO); | ||
47 | LCRYPTO_USED(i2d_PKCS7_RECIP_INFO); | ||
48 | LCRYPTO_USED(PKCS7_SIGNED_new); | ||
49 | LCRYPTO_USED(PKCS7_SIGNED_free); | ||
50 | LCRYPTO_USED(d2i_PKCS7_SIGNED); | ||
51 | LCRYPTO_USED(i2d_PKCS7_SIGNED); | ||
52 | LCRYPTO_USED(PKCS7_ENC_CONTENT_new); | ||
53 | LCRYPTO_USED(PKCS7_ENC_CONTENT_free); | ||
54 | LCRYPTO_USED(d2i_PKCS7_ENC_CONTENT); | ||
55 | LCRYPTO_USED(i2d_PKCS7_ENC_CONTENT); | ||
56 | LCRYPTO_USED(PKCS7_ENVELOPE_new); | ||
57 | LCRYPTO_USED(PKCS7_ENVELOPE_free); | ||
58 | LCRYPTO_USED(d2i_PKCS7_ENVELOPE); | ||
59 | LCRYPTO_USED(i2d_PKCS7_ENVELOPE); | ||
60 | LCRYPTO_USED(PKCS7_SIGN_ENVELOPE_new); | ||
61 | LCRYPTO_USED(PKCS7_SIGN_ENVELOPE_free); | ||
62 | LCRYPTO_USED(d2i_PKCS7_SIGN_ENVELOPE); | ||
63 | LCRYPTO_USED(i2d_PKCS7_SIGN_ENVELOPE); | ||
64 | LCRYPTO_USED(PKCS7_DIGEST_new); | ||
65 | LCRYPTO_USED(PKCS7_DIGEST_free); | ||
66 | LCRYPTO_USED(d2i_PKCS7_DIGEST); | ||
67 | LCRYPTO_USED(i2d_PKCS7_DIGEST); | ||
68 | LCRYPTO_USED(PKCS7_ENCRYPT_new); | ||
69 | LCRYPTO_USED(PKCS7_ENCRYPT_free); | ||
70 | LCRYPTO_USED(d2i_PKCS7_ENCRYPT); | ||
71 | LCRYPTO_USED(i2d_PKCS7_ENCRYPT); | ||
72 | LCRYPTO_USED(PKCS7_new); | ||
73 | LCRYPTO_USED(PKCS7_free); | ||
74 | LCRYPTO_USED(d2i_PKCS7); | ||
75 | LCRYPTO_USED(i2d_PKCS7); | ||
76 | LCRYPTO_USED(PKCS7_print_ctx); | ||
77 | LCRYPTO_USED(PKCS7_ctrl); | ||
78 | LCRYPTO_USED(PKCS7_set_type); | ||
79 | LCRYPTO_USED(PKCS7_set0_type_other); | ||
80 | LCRYPTO_USED(PKCS7_set_content); | ||
81 | LCRYPTO_USED(PKCS7_SIGNER_INFO_set); | ||
82 | LCRYPTO_USED(PKCS7_SIGNER_INFO_sign); | ||
83 | LCRYPTO_USED(PKCS7_add_signer); | ||
84 | LCRYPTO_USED(PKCS7_add_certificate); | ||
85 | LCRYPTO_USED(PKCS7_add_crl); | ||
86 | LCRYPTO_USED(PKCS7_content_new); | ||
87 | LCRYPTO_USED(PKCS7_dataVerify); | ||
88 | LCRYPTO_USED(PKCS7_signatureVerify); | ||
89 | LCRYPTO_USED(PKCS7_dataInit); | ||
90 | LCRYPTO_USED(PKCS7_dataFinal); | ||
91 | LCRYPTO_USED(PKCS7_dataDecode); | ||
92 | LCRYPTO_USED(PKCS7_add_signature); | ||
93 | LCRYPTO_USED(PKCS7_cert_from_signer_info); | ||
94 | LCRYPTO_USED(PKCS7_set_digest); | ||
95 | LCRYPTO_USED(PKCS7_get_signer_info); | ||
96 | LCRYPTO_USED(PKCS7_add_recipient); | ||
97 | LCRYPTO_USED(PKCS7_SIGNER_INFO_get0_algs); | ||
98 | LCRYPTO_USED(PKCS7_RECIP_INFO_get0_alg); | ||
99 | LCRYPTO_USED(PKCS7_add_recipient_info); | ||
100 | LCRYPTO_USED(PKCS7_RECIP_INFO_set); | ||
101 | LCRYPTO_USED(PKCS7_set_cipher); | ||
102 | LCRYPTO_USED(PKCS7_stream); | ||
103 | LCRYPTO_USED(PKCS7_get_issuer_and_serial); | ||
104 | LCRYPTO_USED(PKCS7_digest_from_attributes); | ||
105 | LCRYPTO_USED(PKCS7_add_signed_attribute); | ||
106 | LCRYPTO_USED(PKCS7_add_attribute); | ||
107 | LCRYPTO_USED(PKCS7_get_attribute); | ||
108 | LCRYPTO_USED(PKCS7_get_signed_attribute); | ||
109 | LCRYPTO_USED(PKCS7_set_signed_attributes); | ||
110 | LCRYPTO_USED(PKCS7_set_attributes); | ||
111 | LCRYPTO_USED(PKCS7_sign); | ||
112 | LCRYPTO_USED(PKCS7_sign_add_signer); | ||
113 | LCRYPTO_USED(PKCS7_final); | ||
114 | LCRYPTO_USED(PKCS7_verify); | ||
115 | LCRYPTO_USED(PKCS7_get0_signers); | ||
116 | LCRYPTO_USED(PKCS7_encrypt); | ||
117 | LCRYPTO_USED(PKCS7_decrypt); | ||
118 | LCRYPTO_USED(PKCS7_add_attrib_smimecap); | ||
119 | LCRYPTO_USED(PKCS7_get_smimecap); | ||
120 | LCRYPTO_USED(PKCS7_simple_smimecap); | ||
121 | LCRYPTO_USED(PKCS7_add_attrib_content_type); | ||
122 | LCRYPTO_USED(PKCS7_add0_attrib_signing_time); | ||
123 | LCRYPTO_USED(PKCS7_add1_attrib_digest); | ||
124 | LCRYPTO_USED(SMIME_write_PKCS7); | ||
125 | LCRYPTO_USED(SMIME_read_PKCS7); | ||
126 | LCRYPTO_USED(BIO_new_PKCS7); | ||
127 | LCRYPTO_USED(ERR_load_PKCS7_strings); | ||
128 | #if defined(LIBRESSL_NAMESPACE) | ||
129 | extern LCRYPTO_USED(PKCS7_ISSUER_AND_SERIAL_it); | ||
130 | extern LCRYPTO_USED(PKCS7_SIGNER_INFO_it); | ||
131 | extern LCRYPTO_USED(PKCS7_RECIP_INFO_it); | ||
132 | extern LCRYPTO_USED(PKCS7_SIGNED_it); | ||
133 | extern LCRYPTO_USED(PKCS7_ENC_CONTENT_it); | ||
134 | extern LCRYPTO_USED(PKCS7_ENVELOPE_it); | ||
135 | extern LCRYPTO_USED(PKCS7_SIGN_ENVELOPE_it); | ||
136 | extern LCRYPTO_USED(PKCS7_DIGEST_it); | ||
137 | extern LCRYPTO_USED(PKCS7_ENCRYPT_it); | ||
138 | extern LCRYPTO_USED(PKCS7_it); | ||
139 | extern LCRYPTO_USED(PKCS7_ATTR_SIGN_it); | ||
140 | extern LCRYPTO_USED(PKCS7_ATTR_VERIFY_it); | ||
141 | #endif | ||
142 | |||
143 | #endif /* _LIBCRYPTO_PKCS7_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/poly1305.h b/src/lib/libcrypto/hidden/openssl/poly1305.h deleted file mode 100644 index 7a459cb5a3..0000000000 --- a/src/lib/libcrypto/hidden/openssl/poly1305.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: poly1305.h,v 1.2 2023/07/07 19:37:54 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_POLY1305_H | ||
19 | #define _LIBCRYPTO_POLY1305_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/poly1305.h> | ||
23 | #else | ||
24 | #include "../include/openssl/poly1305.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(CRYPTO_poly1305_init); | ||
29 | LCRYPTO_USED(CRYPTO_poly1305_update); | ||
30 | LCRYPTO_USED(CRYPTO_poly1305_finish); | ||
31 | |||
32 | #endif /* _LIBCRYPTO_POLY1305_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/posix_time.h b/src/lib/libcrypto/hidden/openssl/posix_time.h deleted file mode 100644 index 306d43eae5..0000000000 --- a/src/lib/libcrypto/hidden/openssl/posix_time.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: posix_time.h,v 1.1 2024/02/18 16:28:38 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 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_POSIX_TIME_H | ||
19 | #define _LIBCRYPTO_POSIX_TIME_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/posix_time.h> | ||
23 | #else | ||
24 | #include "../include/openssl/posix_time.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(OPENSSL_posix_to_tm); | ||
29 | LCRYPTO_USED(OPENSSL_tm_to_posix); | ||
30 | LCRYPTO_USED(OPENSSL_timegm); | ||
31 | |||
32 | #endif /* _LIBCRYPTO_POSIX_TIME_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/rand.h b/src/lib/libcrypto/hidden/openssl/rand.h deleted file mode 100644 index d06442acdb..0000000000 --- a/src/lib/libcrypto/hidden/openssl/rand.h +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | /* $OpenBSD: rand.h,v 1.4 2024/04/10 14:53:01 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_RAND_H | ||
19 | #define _LIBCRYPTO_RAND_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/rand.h> | ||
23 | #else | ||
24 | #include "../include/openssl/rand.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(RAND_set_rand_method); | ||
29 | LCRYPTO_USED(RAND_get_rand_method); | ||
30 | LCRYPTO_USED(RAND_SSLeay); | ||
31 | LCRYPTO_USED(ERR_load_RAND_strings); | ||
32 | LCRYPTO_UNUSED(RAND_cleanup); | ||
33 | LCRYPTO_UNUSED(RAND_bytes); | ||
34 | LCRYPTO_UNUSED(RAND_pseudo_bytes); | ||
35 | LCRYPTO_UNUSED(RAND_seed); | ||
36 | LCRYPTO_UNUSED(RAND_add); | ||
37 | LCRYPTO_UNUSED(RAND_load_file); | ||
38 | LCRYPTO_UNUSED(RAND_write_file); | ||
39 | LCRYPTO_UNUSED(RAND_file_name); | ||
40 | LCRYPTO_UNUSED(RAND_status); | ||
41 | LCRYPTO_UNUSED(RAND_poll); | ||
42 | |||
43 | #endif /* _LIBCRYPTO_RAND_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/rc2.h b/src/lib/libcrypto/hidden/openssl/rc2.h deleted file mode 100644 index c08c38d7c8..0000000000 --- a/src/lib/libcrypto/hidden/openssl/rc2.h +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | /* $OpenBSD: rc2.h,v 1.1 2023/07/07 13:40:44 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_RC2_H | ||
19 | #define _LIBCRYPTO_RC2_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/rc2.h> | ||
23 | #else | ||
24 | #include "../include/openssl/rc2.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(RC2_set_key); | ||
29 | LCRYPTO_USED(RC2_ecb_encrypt); | ||
30 | LCRYPTO_USED(RC2_encrypt); | ||
31 | LCRYPTO_USED(RC2_decrypt); | ||
32 | LCRYPTO_USED(RC2_cbc_encrypt); | ||
33 | LCRYPTO_USED(RC2_cfb64_encrypt); | ||
34 | LCRYPTO_USED(RC2_ofb64_encrypt); | ||
35 | |||
36 | #endif /* _LIBCRYPTO_RC2_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/rc4.h b/src/lib/libcrypto/hidden/openssl/rc4.h deleted file mode 100644 index 16a7ff7e12..0000000000 --- a/src/lib/libcrypto/hidden/openssl/rc4.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* $OpenBSD: rc4.h,v 1.1 2024/03/28 08:18:13 joshua Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
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_RC4_H | ||
19 | #define _LIBCRYPTO_RC4_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/rc4.h> | ||
23 | #else | ||
24 | #include "../include/openssl/rc4.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(RC4_set_key); | ||
29 | LCRYPTO_USED(RC4); | ||
30 | |||
31 | #endif /* _LIBCRYPTO_RC4_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/ripemd.h b/src/lib/libcrypto/hidden/openssl/ripemd.h deleted file mode 100644 index 1fd4a0a46d..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ripemd.h +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | /* $OpenBSD: ripemd.h,v 1.1 2024/03/28 23:54:15 joshua Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
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_RIPEMD_H | ||
19 | #define _LIBCRYPTO_RIPEMD_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ripemd.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ripemd.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(RIPEMD160_Init); | ||
29 | LCRYPTO_USED(RIPEMD160_Update); | ||
30 | LCRYPTO_USED(RIPEMD160_Final); | ||
31 | LCRYPTO_USED(RIPEMD160); | ||
32 | LCRYPTO_USED(RIPEMD160_Transform); | ||
33 | |||
34 | #endif /* _LIBCRYPTO_RIPEMD_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/rsa.h b/src/lib/libcrypto/hidden/openssl/rsa.h deleted file mode 100644 index a115684c90..0000000000 --- a/src/lib/libcrypto/hidden/openssl/rsa.h +++ /dev/null | |||
@@ -1,147 +0,0 @@ | |||
1 | /* $OpenBSD: rsa.h,v 1.3 2024/07/08 17:10:18 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_RSA_H | ||
19 | #define _LIBCRYPTO_RSA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/rsa.h> | ||
23 | #else | ||
24 | #include "../include/openssl/rsa.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(RSA_new); | ||
29 | LCRYPTO_USED(RSA_new_method); | ||
30 | LCRYPTO_USED(RSA_bits); | ||
31 | LCRYPTO_USED(RSA_size); | ||
32 | LCRYPTO_USED(RSA_generate_key); | ||
33 | LCRYPTO_USED(RSA_generate_key_ex); | ||
34 | LCRYPTO_USED(RSA_check_key); | ||
35 | LCRYPTO_USED(RSA_public_encrypt); | ||
36 | LCRYPTO_USED(RSA_private_encrypt); | ||
37 | LCRYPTO_USED(RSA_public_decrypt); | ||
38 | LCRYPTO_USED(RSA_private_decrypt); | ||
39 | LCRYPTO_USED(RSA_free); | ||
40 | LCRYPTO_USED(RSA_up_ref); | ||
41 | LCRYPTO_USED(RSA_flags); | ||
42 | LCRYPTO_USED(RSA_set_default_method); | ||
43 | LCRYPTO_USED(RSA_get_default_method); | ||
44 | LCRYPTO_USED(RSA_get_method); | ||
45 | LCRYPTO_USED(RSA_set_method); | ||
46 | LCRYPTO_USED(RSA_PKCS1_OpenSSL); | ||
47 | LCRYPTO_USED(RSA_PKCS1_SSLeay); | ||
48 | LCRYPTO_USED(RSA_pkey_ctx_ctrl); | ||
49 | LCRYPTO_USED(d2i_RSAPublicKey); | ||
50 | LCRYPTO_USED(i2d_RSAPublicKey); | ||
51 | LCRYPTO_USED(d2i_RSAPrivateKey); | ||
52 | LCRYPTO_USED(i2d_RSAPrivateKey); | ||
53 | LCRYPTO_USED(RSA_PSS_PARAMS_new); | ||
54 | LCRYPTO_USED(RSA_PSS_PARAMS_free); | ||
55 | LCRYPTO_USED(d2i_RSA_PSS_PARAMS); | ||
56 | LCRYPTO_USED(i2d_RSA_PSS_PARAMS); | ||
57 | LCRYPTO_USED(RSA_OAEP_PARAMS_new); | ||
58 | LCRYPTO_USED(RSA_OAEP_PARAMS_free); | ||
59 | LCRYPTO_USED(d2i_RSA_OAEP_PARAMS); | ||
60 | LCRYPTO_USED(i2d_RSA_OAEP_PARAMS); | ||
61 | LCRYPTO_USED(RSA_print_fp); | ||
62 | LCRYPTO_USED(RSA_print); | ||
63 | LCRYPTO_USED(RSA_sign); | ||
64 | LCRYPTO_USED(RSA_verify); | ||
65 | LCRYPTO_USED(RSA_sign_ASN1_OCTET_STRING); | ||
66 | LCRYPTO_USED(RSA_verify_ASN1_OCTET_STRING); | ||
67 | LCRYPTO_USED(RSA_blinding_on); | ||
68 | LCRYPTO_USED(RSA_blinding_off); | ||
69 | LCRYPTO_USED(RSA_padding_add_PKCS1_type_1); | ||
70 | LCRYPTO_USED(RSA_padding_check_PKCS1_type_1); | ||
71 | LCRYPTO_USED(RSA_padding_add_PKCS1_type_2); | ||
72 | LCRYPTO_USED(RSA_padding_check_PKCS1_type_2); | ||
73 | LCRYPTO_USED(PKCS1_MGF1); | ||
74 | LCRYPTO_USED(RSA_padding_add_PKCS1_OAEP); | ||
75 | LCRYPTO_USED(RSA_padding_check_PKCS1_OAEP); | ||
76 | LCRYPTO_USED(RSA_padding_add_PKCS1_OAEP_mgf1); | ||
77 | LCRYPTO_USED(RSA_padding_check_PKCS1_OAEP_mgf1); | ||
78 | LCRYPTO_USED(RSA_padding_add_none); | ||
79 | LCRYPTO_USED(RSA_padding_check_none); | ||
80 | LCRYPTO_USED(RSA_verify_PKCS1_PSS); | ||
81 | LCRYPTO_USED(RSA_padding_add_PKCS1_PSS); | ||
82 | LCRYPTO_USED(RSA_verify_PKCS1_PSS_mgf1); | ||
83 | LCRYPTO_USED(RSA_padding_add_PKCS1_PSS_mgf1); | ||
84 | LCRYPTO_USED(RSA_get_ex_new_index); | ||
85 | LCRYPTO_USED(RSA_set_ex_data); | ||
86 | LCRYPTO_USED(RSA_get_ex_data); | ||
87 | LCRYPTO_USED(RSA_security_bits); | ||
88 | LCRYPTO_USED(RSA_get0_key); | ||
89 | LCRYPTO_USED(RSA_set0_key); | ||
90 | LCRYPTO_USED(RSA_get0_crt_params); | ||
91 | LCRYPTO_USED(RSA_set0_crt_params); | ||
92 | LCRYPTO_USED(RSA_get0_factors); | ||
93 | LCRYPTO_USED(RSA_set0_factors); | ||
94 | LCRYPTO_USED(RSA_get0_n); | ||
95 | LCRYPTO_USED(RSA_get0_e); | ||
96 | LCRYPTO_USED(RSA_get0_d); | ||
97 | LCRYPTO_USED(RSA_get0_p); | ||
98 | LCRYPTO_USED(RSA_get0_q); | ||
99 | LCRYPTO_USED(RSA_get0_dmp1); | ||
100 | LCRYPTO_USED(RSA_get0_dmq1); | ||
101 | LCRYPTO_USED(RSA_get0_iqmp); | ||
102 | LCRYPTO_USED(RSA_get0_pss_params); | ||
103 | LCRYPTO_USED(RSA_clear_flags); | ||
104 | LCRYPTO_USED(RSA_test_flags); | ||
105 | LCRYPTO_USED(RSA_set_flags); | ||
106 | LCRYPTO_USED(RSAPublicKey_dup); | ||
107 | LCRYPTO_USED(RSAPrivateKey_dup); | ||
108 | LCRYPTO_USED(RSA_meth_new); | ||
109 | LCRYPTO_USED(RSA_meth_free); | ||
110 | LCRYPTO_USED(RSA_meth_dup); | ||
111 | LCRYPTO_USED(RSA_meth_set1_name); | ||
112 | LCRYPTO_USED(RSA_meth_set_priv_enc); | ||
113 | LCRYPTO_USED(RSA_meth_set_priv_dec); | ||
114 | LCRYPTO_USED(RSA_meth_get_finish); | ||
115 | LCRYPTO_USED(RSA_meth_set_finish); | ||
116 | LCRYPTO_USED(RSA_meth_set_pub_enc); | ||
117 | LCRYPTO_USED(RSA_meth_set_pub_dec); | ||
118 | LCRYPTO_USED(RSA_meth_set_mod_exp); | ||
119 | LCRYPTO_USED(RSA_meth_set_bn_mod_exp); | ||
120 | LCRYPTO_USED(RSA_meth_set_init); | ||
121 | LCRYPTO_USED(RSA_meth_set_keygen); | ||
122 | LCRYPTO_USED(RSA_meth_set_flags); | ||
123 | LCRYPTO_USED(RSA_meth_set0_app_data); | ||
124 | LCRYPTO_USED(RSA_meth_get0_name); | ||
125 | LCRYPTO_USED(RSA_meth_get_pub_enc); | ||
126 | LCRYPTO_USED(RSA_meth_get_pub_dec); | ||
127 | LCRYPTO_USED(RSA_meth_get_priv_enc); | ||
128 | LCRYPTO_USED(RSA_meth_get_priv_dec); | ||
129 | LCRYPTO_USED(RSA_meth_get_mod_exp); | ||
130 | LCRYPTO_USED(RSA_meth_get_bn_mod_exp); | ||
131 | LCRYPTO_USED(RSA_meth_get_init); | ||
132 | LCRYPTO_USED(RSA_meth_get_keygen); | ||
133 | LCRYPTO_USED(RSA_meth_get_flags); | ||
134 | LCRYPTO_USED(RSA_meth_get0_app_data); | ||
135 | LCRYPTO_USED(RSA_meth_get_sign); | ||
136 | LCRYPTO_USED(RSA_meth_set_sign); | ||
137 | LCRYPTO_USED(RSA_meth_get_verify); | ||
138 | LCRYPTO_USED(RSA_meth_set_verify); | ||
139 | LCRYPTO_USED(ERR_load_RSA_strings); | ||
140 | #if defined(LIBRESSL_NAMESPACE) | ||
141 | extern LCRYPTO_USED(RSAPublicKey_it); | ||
142 | extern LCRYPTO_USED(RSAPrivateKey_it); | ||
143 | extern LCRYPTO_USED(RSA_PSS_PARAMS_it); | ||
144 | extern LCRYPTO_USED(RSA_OAEP_PARAMS_it); | ||
145 | #endif | ||
146 | |||
147 | #endif /* _LIBCRYPTO_RSA_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/sha.h b/src/lib/libcrypto/hidden/openssl/sha.h deleted file mode 100644 index ee58793205..0000000000 --- a/src/lib/libcrypto/hidden/openssl/sha.h +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | /* $OpenBSD: sha.h,v 1.1 2023/07/08 12:24:10 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_SHA_H | ||
19 | #define _LIBCRYPTO_SHA_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/sha.h> | ||
23 | #else | ||
24 | #include "../include/openssl/sha.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(SHA1_Init); | ||
29 | LCRYPTO_USED(SHA1_Update); | ||
30 | LCRYPTO_USED(SHA1_Final); | ||
31 | LCRYPTO_USED(SHA1); | ||
32 | LCRYPTO_USED(SHA1_Transform); | ||
33 | LCRYPTO_USED(SHA224_Init); | ||
34 | LCRYPTO_USED(SHA224_Update); | ||
35 | LCRYPTO_USED(SHA224_Final); | ||
36 | LCRYPTO_USED(SHA224); | ||
37 | LCRYPTO_USED(SHA256_Init); | ||
38 | LCRYPTO_USED(SHA256_Update); | ||
39 | LCRYPTO_USED(SHA256_Final); | ||
40 | LCRYPTO_USED(SHA256); | ||
41 | LCRYPTO_USED(SHA256_Transform); | ||
42 | LCRYPTO_USED(SHA384_Init); | ||
43 | LCRYPTO_USED(SHA384_Update); | ||
44 | LCRYPTO_USED(SHA384_Final); | ||
45 | LCRYPTO_USED(SHA384); | ||
46 | LCRYPTO_USED(SHA512_Init); | ||
47 | LCRYPTO_USED(SHA512_Update); | ||
48 | LCRYPTO_USED(SHA512_Final); | ||
49 | LCRYPTO_USED(SHA512); | ||
50 | LCRYPTO_USED(SHA512_Transform); | ||
51 | |||
52 | #endif /* _LIBCRYPTO_SHA_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/sm3.h b/src/lib/libcrypto/hidden/openssl/sm3.h deleted file mode 100644 index 12a0e1ad1a..0000000000 --- a/src/lib/libcrypto/hidden/openssl/sm3.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: sm3.h,v 1.3 2023/07/08 06:13:08 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_SM3_H | ||
19 | #define _LIBCRYPTO_SM3_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/sm3.h> | ||
23 | #else | ||
24 | #include "../include/openssl/sm3.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(SM3_Init); | ||
29 | LCRYPTO_USED(SM3_Update); | ||
30 | LCRYPTO_USED(SM3_Final); | ||
31 | |||
32 | #endif /* _LIBCRYPTO_SM3_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/sm4.h b/src/lib/libcrypto/hidden/openssl/sm4.h deleted file mode 100644 index 1b80e5cbc6..0000000000 --- a/src/lib/libcrypto/hidden/openssl/sm4.h +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | /* $OpenBSD: sm4.h,v 1.2 2023/07/07 19:37:54 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_SM4_H | ||
19 | #define _LIBCRYPTO_SM4_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/sm4.h> | ||
23 | #else | ||
24 | #include "../include/openssl/sm4.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(SM4_set_key); | ||
29 | LCRYPTO_USED(SM4_decrypt); | ||
30 | LCRYPTO_USED(SM4_encrypt); | ||
31 | |||
32 | #endif /* _LIBCRYPTO_SM4_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/stack.h b/src/lib/libcrypto/hidden/openssl/stack.h deleted file mode 100644 index 3f742c1b06..0000000000 --- a/src/lib/libcrypto/hidden/openssl/stack.h +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | /* $OpenBSD: stack.h,v 1.3 2024/03/02 11:20:36 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_STACK_H | ||
19 | #define _LIBCRYPTO_STACK_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/stack.h> | ||
23 | #else | ||
24 | #include "../include/openssl/stack.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(sk_num); | ||
29 | LCRYPTO_USED(sk_value); | ||
30 | LCRYPTO_USED(sk_set); | ||
31 | LCRYPTO_USED(sk_new); | ||
32 | LCRYPTO_USED(sk_new_null); | ||
33 | LCRYPTO_USED(sk_free); | ||
34 | LCRYPTO_USED(sk_pop_free); | ||
35 | LCRYPTO_USED(sk_insert); | ||
36 | LCRYPTO_USED(sk_delete); | ||
37 | LCRYPTO_USED(sk_delete_ptr); | ||
38 | LCRYPTO_USED(sk_find); | ||
39 | LCRYPTO_USED(sk_push); | ||
40 | LCRYPTO_USED(sk_unshift); | ||
41 | LCRYPTO_USED(sk_shift); | ||
42 | LCRYPTO_USED(sk_pop); | ||
43 | LCRYPTO_USED(sk_zero); | ||
44 | LCRYPTO_USED(sk_set_cmp_func); | ||
45 | LCRYPTO_USED(sk_dup); | ||
46 | LCRYPTO_USED(sk_sort); | ||
47 | LCRYPTO_USED(sk_is_sorted); | ||
48 | |||
49 | #endif /* _LIBCRYPTO_STACK_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/ts.h b/src/lib/libcrypto/hidden/openssl/ts.h deleted file mode 100644 index 0acad21373..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ts.h +++ /dev/null | |||
@@ -1,217 +0,0 @@ | |||
1 | /* $OpenBSD: ts.h,v 1.3 2023/07/28 09:53:55 tb 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_TS_H | ||
19 | #define _LIBCRYPTO_TS_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ts.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ts.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(TS_REQ_new); | ||
29 | LCRYPTO_USED(TS_REQ_free); | ||
30 | LCRYPTO_USED(i2d_TS_REQ); | ||
31 | LCRYPTO_USED(d2i_TS_REQ); | ||
32 | LCRYPTO_USED(TS_REQ_dup); | ||
33 | LCRYPTO_USED(d2i_TS_REQ_fp); | ||
34 | LCRYPTO_USED(i2d_TS_REQ_fp); | ||
35 | LCRYPTO_USED(d2i_TS_REQ_bio); | ||
36 | LCRYPTO_USED(i2d_TS_REQ_bio); | ||
37 | LCRYPTO_USED(TS_MSG_IMPRINT_new); | ||
38 | LCRYPTO_USED(TS_MSG_IMPRINT_free); | ||
39 | LCRYPTO_USED(i2d_TS_MSG_IMPRINT); | ||
40 | LCRYPTO_USED(d2i_TS_MSG_IMPRINT); | ||
41 | LCRYPTO_USED(TS_MSG_IMPRINT_dup); | ||
42 | LCRYPTO_USED(d2i_TS_MSG_IMPRINT_fp); | ||
43 | LCRYPTO_USED(i2d_TS_MSG_IMPRINT_fp); | ||
44 | LCRYPTO_USED(d2i_TS_MSG_IMPRINT_bio); | ||
45 | LCRYPTO_USED(i2d_TS_MSG_IMPRINT_bio); | ||
46 | LCRYPTO_USED(TS_RESP_new); | ||
47 | LCRYPTO_USED(TS_RESP_free); | ||
48 | LCRYPTO_USED(i2d_TS_RESP); | ||
49 | LCRYPTO_USED(d2i_TS_RESP); | ||
50 | LCRYPTO_USED(PKCS7_to_TS_TST_INFO); | ||
51 | LCRYPTO_USED(TS_RESP_dup); | ||
52 | LCRYPTO_USED(d2i_TS_RESP_fp); | ||
53 | LCRYPTO_USED(i2d_TS_RESP_fp); | ||
54 | LCRYPTO_USED(d2i_TS_RESP_bio); | ||
55 | LCRYPTO_USED(i2d_TS_RESP_bio); | ||
56 | LCRYPTO_USED(TS_STATUS_INFO_new); | ||
57 | LCRYPTO_USED(TS_STATUS_INFO_free); | ||
58 | LCRYPTO_USED(i2d_TS_STATUS_INFO); | ||
59 | LCRYPTO_USED(d2i_TS_STATUS_INFO); | ||
60 | LCRYPTO_USED(TS_STATUS_INFO_dup); | ||
61 | LCRYPTO_USED(TS_TST_INFO_new); | ||
62 | LCRYPTO_USED(TS_TST_INFO_free); | ||
63 | LCRYPTO_USED(i2d_TS_TST_INFO); | ||
64 | LCRYPTO_USED(d2i_TS_TST_INFO); | ||
65 | LCRYPTO_USED(TS_TST_INFO_dup); | ||
66 | LCRYPTO_USED(d2i_TS_TST_INFO_fp); | ||
67 | LCRYPTO_USED(i2d_TS_TST_INFO_fp); | ||
68 | LCRYPTO_USED(d2i_TS_TST_INFO_bio); | ||
69 | LCRYPTO_USED(i2d_TS_TST_INFO_bio); | ||
70 | LCRYPTO_USED(TS_ACCURACY_new); | ||
71 | LCRYPTO_USED(TS_ACCURACY_free); | ||
72 | LCRYPTO_USED(i2d_TS_ACCURACY); | ||
73 | LCRYPTO_USED(d2i_TS_ACCURACY); | ||
74 | LCRYPTO_USED(TS_ACCURACY_dup); | ||
75 | LCRYPTO_USED(ESS_ISSUER_SERIAL_new); | ||
76 | LCRYPTO_USED(ESS_ISSUER_SERIAL_free); | ||
77 | LCRYPTO_USED(i2d_ESS_ISSUER_SERIAL); | ||
78 | LCRYPTO_USED(d2i_ESS_ISSUER_SERIAL); | ||
79 | LCRYPTO_USED(ESS_ISSUER_SERIAL_dup); | ||
80 | LCRYPTO_USED(ESS_CERT_ID_new); | ||
81 | LCRYPTO_USED(ESS_CERT_ID_free); | ||
82 | LCRYPTO_USED(i2d_ESS_CERT_ID); | ||
83 | LCRYPTO_USED(d2i_ESS_CERT_ID); | ||
84 | LCRYPTO_USED(ESS_CERT_ID_dup); | ||
85 | LCRYPTO_USED(ESS_SIGNING_CERT_new); | ||
86 | LCRYPTO_USED(ESS_SIGNING_CERT_free); | ||
87 | LCRYPTO_USED(i2d_ESS_SIGNING_CERT); | ||
88 | LCRYPTO_USED(d2i_ESS_SIGNING_CERT); | ||
89 | LCRYPTO_USED(ESS_SIGNING_CERT_dup); | ||
90 | LCRYPTO_USED(TS_REQ_set_version); | ||
91 | LCRYPTO_USED(TS_REQ_get_version); | ||
92 | LCRYPTO_USED(TS_REQ_set_msg_imprint); | ||
93 | LCRYPTO_USED(TS_REQ_get_msg_imprint); | ||
94 | LCRYPTO_USED(TS_MSG_IMPRINT_set_algo); | ||
95 | LCRYPTO_USED(TS_MSG_IMPRINT_get_algo); | ||
96 | LCRYPTO_USED(TS_MSG_IMPRINT_set_msg); | ||
97 | LCRYPTO_USED(TS_MSG_IMPRINT_get_msg); | ||
98 | LCRYPTO_USED(TS_REQ_set_policy_id); | ||
99 | LCRYPTO_USED(TS_REQ_get_policy_id); | ||
100 | LCRYPTO_USED(TS_REQ_set_nonce); | ||
101 | LCRYPTO_USED(TS_REQ_get_nonce); | ||
102 | LCRYPTO_USED(TS_REQ_set_cert_req); | ||
103 | LCRYPTO_USED(TS_REQ_get_cert_req); | ||
104 | LCRYPTO_USED(TS_REQ_get_exts); | ||
105 | LCRYPTO_USED(TS_REQ_ext_free); | ||
106 | LCRYPTO_USED(TS_REQ_get_ext_count); | ||
107 | LCRYPTO_USED(TS_REQ_get_ext_by_NID); | ||
108 | LCRYPTO_USED(TS_REQ_get_ext_by_OBJ); | ||
109 | LCRYPTO_USED(TS_REQ_get_ext_by_critical); | ||
110 | LCRYPTO_USED(TS_REQ_get_ext); | ||
111 | LCRYPTO_USED(TS_REQ_delete_ext); | ||
112 | LCRYPTO_USED(TS_REQ_add_ext); | ||
113 | LCRYPTO_USED(TS_REQ_get_ext_d2i); | ||
114 | LCRYPTO_USED(TS_REQ_print_bio); | ||
115 | LCRYPTO_USED(TS_RESP_set_status_info); | ||
116 | LCRYPTO_USED(TS_RESP_get_status_info); | ||
117 | LCRYPTO_USED(TS_STATUS_INFO_get0_failure_info); | ||
118 | LCRYPTO_USED(TS_STATUS_INFO_get0_text); | ||
119 | LCRYPTO_USED(TS_STATUS_INFO_get0_status); | ||
120 | LCRYPTO_USED(TS_STATUS_INFO_set_status); | ||
121 | LCRYPTO_USED(TS_RESP_set_tst_info); | ||
122 | LCRYPTO_USED(TS_RESP_get_token); | ||
123 | LCRYPTO_USED(TS_RESP_get_tst_info); | ||
124 | LCRYPTO_USED(TS_TST_INFO_set_version); | ||
125 | LCRYPTO_USED(TS_TST_INFO_get_version); | ||
126 | LCRYPTO_USED(TS_TST_INFO_set_policy_id); | ||
127 | LCRYPTO_USED(TS_TST_INFO_get_policy_id); | ||
128 | LCRYPTO_USED(TS_TST_INFO_set_msg_imprint); | ||
129 | LCRYPTO_USED(TS_TST_INFO_get_msg_imprint); | ||
130 | LCRYPTO_USED(TS_TST_INFO_set_serial); | ||
131 | LCRYPTO_USED(TS_TST_INFO_get_serial); | ||
132 | LCRYPTO_USED(TS_TST_INFO_set_time); | ||
133 | LCRYPTO_USED(TS_TST_INFO_get_time); | ||
134 | LCRYPTO_USED(TS_TST_INFO_set_accuracy); | ||
135 | LCRYPTO_USED(TS_TST_INFO_get_accuracy); | ||
136 | LCRYPTO_USED(TS_ACCURACY_set_seconds); | ||
137 | LCRYPTO_USED(TS_ACCURACY_get_seconds); | ||
138 | LCRYPTO_USED(TS_ACCURACY_set_millis); | ||
139 | LCRYPTO_USED(TS_ACCURACY_get_millis); | ||
140 | LCRYPTO_USED(TS_ACCURACY_set_micros); | ||
141 | LCRYPTO_USED(TS_ACCURACY_get_micros); | ||
142 | LCRYPTO_USED(TS_TST_INFO_set_ordering); | ||
143 | LCRYPTO_USED(TS_TST_INFO_get_ordering); | ||
144 | LCRYPTO_USED(TS_TST_INFO_set_nonce); | ||
145 | LCRYPTO_USED(TS_TST_INFO_get_nonce); | ||
146 | LCRYPTO_USED(TS_TST_INFO_set_tsa); | ||
147 | LCRYPTO_USED(TS_TST_INFO_get_tsa); | ||
148 | LCRYPTO_USED(TS_TST_INFO_get_exts); | ||
149 | LCRYPTO_USED(TS_TST_INFO_ext_free); | ||
150 | LCRYPTO_USED(TS_TST_INFO_get_ext_count); | ||
151 | LCRYPTO_USED(TS_TST_INFO_get_ext_by_NID); | ||
152 | LCRYPTO_USED(TS_TST_INFO_get_ext_by_OBJ); | ||
153 | LCRYPTO_USED(TS_TST_INFO_get_ext_by_critical); | ||
154 | LCRYPTO_USED(TS_TST_INFO_get_ext); | ||
155 | LCRYPTO_USED(TS_TST_INFO_delete_ext); | ||
156 | LCRYPTO_USED(TS_TST_INFO_add_ext); | ||
157 | LCRYPTO_USED(TS_TST_INFO_get_ext_d2i); | ||
158 | LCRYPTO_USED(TS_RESP_CTX_new); | ||
159 | LCRYPTO_USED(TS_RESP_CTX_free); | ||
160 | LCRYPTO_USED(TS_RESP_CTX_set_signer_cert); | ||
161 | LCRYPTO_USED(TS_RESP_CTX_set_signer_key); | ||
162 | LCRYPTO_USED(TS_RESP_CTX_set_def_policy); | ||
163 | LCRYPTO_USED(TS_RESP_CTX_set_certs); | ||
164 | LCRYPTO_USED(TS_RESP_CTX_add_policy); | ||
165 | LCRYPTO_USED(TS_RESP_CTX_add_md); | ||
166 | LCRYPTO_USED(TS_RESP_CTX_set_accuracy); | ||
167 | LCRYPTO_USED(TS_RESP_CTX_set_clock_precision_digits); | ||
168 | LCRYPTO_USED(TS_RESP_CTX_add_flags); | ||
169 | LCRYPTO_USED(TS_RESP_CTX_set_serial_cb); | ||
170 | LCRYPTO_USED(TS_RESP_CTX_set_time_cb); | ||
171 | LCRYPTO_USED(TS_RESP_CTX_set_extension_cb); | ||
172 | LCRYPTO_USED(TS_RESP_CTX_set_status_info); | ||
173 | LCRYPTO_USED(TS_RESP_CTX_set_status_info_cond); | ||
174 | LCRYPTO_USED(TS_RESP_CTX_add_failure_info); | ||
175 | LCRYPTO_USED(TS_RESP_CTX_get_request); | ||
176 | LCRYPTO_USED(TS_RESP_CTX_get_tst_info); | ||
177 | LCRYPTO_USED(TS_RESP_create_response); | ||
178 | LCRYPTO_USED(TS_RESP_verify_signature); | ||
179 | LCRYPTO_USED(TS_RESP_verify_response); | ||
180 | LCRYPTO_USED(TS_RESP_verify_token); | ||
181 | LCRYPTO_USED(TS_VERIFY_CTX_new); | ||
182 | LCRYPTO_USED(TS_VERIFY_CTX_free); | ||
183 | LCRYPTO_USED(TS_VERIFY_CTX_cleanup); | ||
184 | LCRYPTO_USED(TS_VERIFY_CTX_add_flags); | ||
185 | LCRYPTO_USED(TS_VERIFY_CTX_set_flags); | ||
186 | LCRYPTO_USED(TS_VERIFY_CTX_set_data); | ||
187 | LCRYPTO_USED(TS_VERIFY_CTX_set_store); | ||
188 | LCRYPTO_USED(TS_VERIFY_CTX_set_certs); | ||
189 | LCRYPTO_USED(TS_VERIFY_CTX_set_imprint); | ||
190 | LCRYPTO_USED(TS_REQ_to_TS_VERIFY_CTX); | ||
191 | LCRYPTO_USED(TS_RESP_print_bio); | ||
192 | LCRYPTO_USED(TS_STATUS_INFO_print_bio); | ||
193 | LCRYPTO_USED(TS_TST_INFO_print_bio); | ||
194 | LCRYPTO_USED(TS_ASN1_INTEGER_print_bio); | ||
195 | LCRYPTO_USED(TS_OBJ_print_bio); | ||
196 | LCRYPTO_USED(TS_ext_print_bio); | ||
197 | LCRYPTO_USED(TS_X509_ALGOR_print_bio); | ||
198 | LCRYPTO_USED(TS_MSG_IMPRINT_print_bio); | ||
199 | LCRYPTO_USED(TS_CONF_load_cert); | ||
200 | LCRYPTO_USED(TS_CONF_load_certs); | ||
201 | LCRYPTO_USED(TS_CONF_load_key); | ||
202 | LCRYPTO_USED(TS_CONF_get_tsa_section); | ||
203 | LCRYPTO_USED(TS_CONF_set_serial); | ||
204 | LCRYPTO_USED(TS_CONF_set_signer_cert); | ||
205 | LCRYPTO_USED(TS_CONF_set_certs); | ||
206 | LCRYPTO_USED(TS_CONF_set_signer_key); | ||
207 | LCRYPTO_USED(TS_CONF_set_def_policy); | ||
208 | LCRYPTO_USED(TS_CONF_set_policies); | ||
209 | LCRYPTO_USED(TS_CONF_set_digests); | ||
210 | LCRYPTO_USED(TS_CONF_set_accuracy); | ||
211 | LCRYPTO_USED(TS_CONF_set_clock_precision_digits); | ||
212 | LCRYPTO_USED(TS_CONF_set_ordering); | ||
213 | LCRYPTO_USED(TS_CONF_set_tsa_name); | ||
214 | LCRYPTO_USED(TS_CONF_set_ess_cert_id_chain); | ||
215 | LCRYPTO_USED(ERR_load_TS_strings); | ||
216 | |||
217 | #endif /* _LIBCRYPTO_TS_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/txt_db.h b/src/lib/libcrypto/hidden/openssl/txt_db.h deleted file mode 100644 index f93dbc67d2..0000000000 --- a/src/lib/libcrypto/hidden/openssl/txt_db.h +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | /* $OpenBSD: txt_db.h,v 1.1 2023/07/08 11:28:03 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_TXT_DB_H | ||
19 | #define _LIBCRYPTO_TXT_DB_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/txt_db.h> | ||
23 | #else | ||
24 | #include "../include/openssl/txt_db.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(TXT_DB_read); | ||
29 | LCRYPTO_USED(TXT_DB_write); | ||
30 | LCRYPTO_USED(TXT_DB_create_index); | ||
31 | LCRYPTO_USED(TXT_DB_free); | ||
32 | LCRYPTO_USED(TXT_DB_get_by_index); | ||
33 | LCRYPTO_USED(TXT_DB_insert); | ||
34 | |||
35 | #endif /* _LIBCRYPTO_TXT_DB_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/ui.h b/src/lib/libcrypto/hidden/openssl/ui.h deleted file mode 100644 index 7bf849d4c3..0000000000 --- a/src/lib/libcrypto/hidden/openssl/ui.h +++ /dev/null | |||
@@ -1,81 +0,0 @@ | |||
1 | /* $OpenBSD: ui.h,v 1.5 2024/08/31 10:28:03 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_UI_H | ||
19 | #define _LIBCRYPTO_UI_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/ui.h> | ||
23 | #else | ||
24 | #include "../include/openssl/ui.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(UI_new); | ||
29 | LCRYPTO_USED(UI_new_method); | ||
30 | LCRYPTO_USED(UI_free); | ||
31 | LCRYPTO_USED(UI_add_input_string); | ||
32 | LCRYPTO_USED(UI_dup_input_string); | ||
33 | LCRYPTO_USED(UI_add_verify_string); | ||
34 | LCRYPTO_USED(UI_dup_verify_string); | ||
35 | LCRYPTO_USED(UI_add_input_boolean); | ||
36 | LCRYPTO_USED(UI_dup_input_boolean); | ||
37 | LCRYPTO_USED(UI_add_info_string); | ||
38 | LCRYPTO_USED(UI_dup_info_string); | ||
39 | LCRYPTO_USED(UI_add_error_string); | ||
40 | LCRYPTO_USED(UI_dup_error_string); | ||
41 | LCRYPTO_USED(UI_construct_prompt); | ||
42 | LCRYPTO_USED(UI_add_user_data); | ||
43 | LCRYPTO_USED(UI_get0_user_data); | ||
44 | LCRYPTO_USED(UI_get0_result); | ||
45 | LCRYPTO_USED(UI_process); | ||
46 | LCRYPTO_USED(UI_ctrl); | ||
47 | LCRYPTO_USED(UI_get_ex_new_index); | ||
48 | LCRYPTO_USED(UI_set_ex_data); | ||
49 | LCRYPTO_USED(UI_get_ex_data); | ||
50 | LCRYPTO_USED(UI_set_default_method); | ||
51 | LCRYPTO_USED(UI_get_default_method); | ||
52 | LCRYPTO_USED(UI_get_method); | ||
53 | LCRYPTO_USED(UI_set_method); | ||
54 | LCRYPTO_USED(UI_OpenSSL); | ||
55 | LCRYPTO_USED(UI_null); | ||
56 | LCRYPTO_USED(UI_create_method); | ||
57 | LCRYPTO_USED(UI_destroy_method); | ||
58 | LCRYPTO_USED(UI_method_set_opener); | ||
59 | LCRYPTO_USED(UI_method_set_writer); | ||
60 | LCRYPTO_USED(UI_method_set_flusher); | ||
61 | LCRYPTO_USED(UI_method_set_reader); | ||
62 | LCRYPTO_USED(UI_method_set_closer); | ||
63 | LCRYPTO_USED(UI_method_set_prompt_constructor); | ||
64 | LCRYPTO_USED(UI_method_get_opener); | ||
65 | LCRYPTO_USED(UI_method_get_writer); | ||
66 | LCRYPTO_USED(UI_method_get_flusher); | ||
67 | LCRYPTO_USED(UI_method_get_reader); | ||
68 | LCRYPTO_USED(UI_method_get_closer); | ||
69 | LCRYPTO_USED(UI_get_string_type); | ||
70 | LCRYPTO_USED(UI_get_input_flags); | ||
71 | LCRYPTO_USED(UI_get0_output_string); | ||
72 | LCRYPTO_USED(UI_get0_action_string); | ||
73 | LCRYPTO_USED(UI_get0_result_string); | ||
74 | LCRYPTO_USED(UI_get0_test_string); | ||
75 | LCRYPTO_USED(UI_get_result_minsize); | ||
76 | LCRYPTO_USED(UI_get_result_maxsize); | ||
77 | LCRYPTO_USED(UI_set_result); | ||
78 | LCRYPTO_USED(ERR_load_UI_strings); | ||
79 | LCRYPTO_USED(UI_method_get_prompt_constructor); | ||
80 | |||
81 | #endif /* _LIBCRYPTO_UI_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/x509.h b/src/lib/libcrypto/hidden/openssl/x509.h deleted file mode 100644 index e6104cd451..0000000000 --- a/src/lib/libcrypto/hidden/openssl/x509.h +++ /dev/null | |||
@@ -1,468 +0,0 @@ | |||
1 | /* $OpenBSD: x509.h,v 1.15 2025/03/09 15:17:22 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_X509_H | ||
19 | #define _LIBCRYPTO_X509_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/x509.h> | ||
23 | #else | ||
24 | #include "../include/openssl/x509.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(X509_CRL_up_ref); | ||
29 | LCRYPTO_USED(i2d_re_X509_CRL_tbs); | ||
30 | LCRYPTO_USED(X509_get_X509_PUBKEY); | ||
31 | LCRYPTO_USED(X509_verify_cert_error_string); | ||
32 | LCRYPTO_USED(X509_verify); | ||
33 | LCRYPTO_USED(X509_REQ_verify); | ||
34 | LCRYPTO_USED(NETSCAPE_SPKI_verify); | ||
35 | LCRYPTO_USED(NETSCAPE_SPKI_b64_decode); | ||
36 | LCRYPTO_USED(NETSCAPE_SPKI_b64_encode); | ||
37 | LCRYPTO_USED(NETSCAPE_SPKI_get_pubkey); | ||
38 | LCRYPTO_USED(NETSCAPE_SPKI_set_pubkey); | ||
39 | LCRYPTO_USED(X509_sign); | ||
40 | LCRYPTO_USED(X509_sign_ctx); | ||
41 | LCRYPTO_USED(X509_REQ_sign); | ||
42 | LCRYPTO_USED(X509_REQ_sign_ctx); | ||
43 | LCRYPTO_USED(X509_CRL_sign); | ||
44 | LCRYPTO_USED(X509_CRL_sign_ctx); | ||
45 | LCRYPTO_USED(NETSCAPE_SPKI_sign); | ||
46 | LCRYPTO_USED(X509_pubkey_digest); | ||
47 | LCRYPTO_USED(X509_digest); | ||
48 | LCRYPTO_USED(X509_CRL_digest); | ||
49 | LCRYPTO_USED(X509_REQ_digest); | ||
50 | LCRYPTO_USED(X509_NAME_digest); | ||
51 | LCRYPTO_USED(d2i_X509_fp); | ||
52 | LCRYPTO_USED(i2d_X509_fp); | ||
53 | LCRYPTO_USED(d2i_X509_CRL_fp); | ||
54 | LCRYPTO_USED(i2d_X509_CRL_fp); | ||
55 | LCRYPTO_USED(d2i_X509_REQ_fp); | ||
56 | LCRYPTO_USED(i2d_X509_REQ_fp); | ||
57 | LCRYPTO_USED(d2i_RSAPrivateKey_fp); | ||
58 | LCRYPTO_USED(i2d_RSAPrivateKey_fp); | ||
59 | LCRYPTO_USED(d2i_RSAPublicKey_fp); | ||
60 | LCRYPTO_USED(i2d_RSAPublicKey_fp); | ||
61 | LCRYPTO_USED(d2i_DSAPrivateKey_fp); | ||
62 | LCRYPTO_USED(i2d_DSAPrivateKey_fp); | ||
63 | LCRYPTO_USED(d2i_ECPrivateKey_fp); | ||
64 | LCRYPTO_USED(i2d_ECPrivateKey_fp); | ||
65 | LCRYPTO_USED(d2i_PKCS8_fp); | ||
66 | LCRYPTO_USED(i2d_PKCS8_fp); | ||
67 | LCRYPTO_USED(d2i_PKCS8_PRIV_KEY_INFO_fp); | ||
68 | LCRYPTO_USED(i2d_PKCS8_PRIV_KEY_INFO_fp); | ||
69 | LCRYPTO_USED(i2d_PKCS8PrivateKeyInfo_fp); | ||
70 | LCRYPTO_USED(i2d_PrivateKey_fp); | ||
71 | LCRYPTO_USED(d2i_PrivateKey_fp); | ||
72 | LCRYPTO_USED(d2i_X509_bio); | ||
73 | LCRYPTO_USED(i2d_X509_bio); | ||
74 | LCRYPTO_USED(d2i_X509_CRL_bio); | ||
75 | LCRYPTO_USED(i2d_X509_CRL_bio); | ||
76 | LCRYPTO_USED(d2i_X509_REQ_bio); | ||
77 | LCRYPTO_USED(i2d_X509_REQ_bio); | ||
78 | LCRYPTO_USED(d2i_RSAPrivateKey_bio); | ||
79 | LCRYPTO_USED(i2d_RSAPrivateKey_bio); | ||
80 | LCRYPTO_USED(d2i_RSAPublicKey_bio); | ||
81 | LCRYPTO_USED(i2d_RSAPublicKey_bio); | ||
82 | LCRYPTO_USED(d2i_DSAPrivateKey_bio); | ||
83 | LCRYPTO_USED(i2d_DSAPrivateKey_bio); | ||
84 | LCRYPTO_USED(d2i_ECPrivateKey_bio); | ||
85 | LCRYPTO_USED(i2d_ECPrivateKey_bio); | ||
86 | LCRYPTO_USED(d2i_PKCS8_bio); | ||
87 | LCRYPTO_USED(i2d_PKCS8_bio); | ||
88 | LCRYPTO_USED(d2i_PKCS8_PRIV_KEY_INFO_bio); | ||
89 | LCRYPTO_USED(i2d_PKCS8_PRIV_KEY_INFO_bio); | ||
90 | LCRYPTO_USED(i2d_PKCS8PrivateKeyInfo_bio); | ||
91 | LCRYPTO_USED(i2d_PrivateKey_bio); | ||
92 | LCRYPTO_USED(d2i_PrivateKey_bio); | ||
93 | LCRYPTO_USED(X509_cmp_time); | ||
94 | LCRYPTO_USED(X509_cmp_current_time); | ||
95 | LCRYPTO_USED(X509_time_adj); | ||
96 | LCRYPTO_USED(X509_time_adj_ex); | ||
97 | LCRYPTO_USED(X509_gmtime_adj); | ||
98 | LCRYPTO_USED(X509_get_default_cert_area); | ||
99 | LCRYPTO_USED(X509_get_default_cert_dir); | ||
100 | LCRYPTO_USED(X509_get_default_cert_file); | ||
101 | LCRYPTO_USED(X509_get_default_cert_dir_env); | ||
102 | LCRYPTO_USED(X509_get_default_cert_file_env); | ||
103 | LCRYPTO_USED(X509_get_default_private_dir); | ||
104 | LCRYPTO_USED(X509_to_X509_REQ); | ||
105 | LCRYPTO_USED(X509_REQ_to_X509); | ||
106 | LCRYPTO_USED(X509_get_pubkey_parameters); | ||
107 | LCRYPTO_USED(X509_NAME_oneline); | ||
108 | LCRYPTO_USED(X509_get0_extensions); | ||
109 | LCRYPTO_USED(X509_get0_tbs_sigalg); | ||
110 | LCRYPTO_USED(X509_get0_uids); | ||
111 | LCRYPTO_USED(X509_set_version); | ||
112 | LCRYPTO_USED(X509_get_version); | ||
113 | LCRYPTO_USED(X509_set_serialNumber); | ||
114 | LCRYPTO_USED(X509_get_serialNumber); | ||
115 | LCRYPTO_USED(X509_get0_serialNumber); | ||
116 | LCRYPTO_USED(X509_set_issuer_name); | ||
117 | LCRYPTO_USED(X509_get_issuer_name); | ||
118 | LCRYPTO_USED(X509_set_subject_name); | ||
119 | LCRYPTO_USED(X509_get_subject_name); | ||
120 | LCRYPTO_USED(X509_set_notBefore); | ||
121 | LCRYPTO_USED(X509_set1_notBefore); | ||
122 | LCRYPTO_USED(X509_set_notAfter); | ||
123 | LCRYPTO_USED(X509_set1_notAfter); | ||
124 | LCRYPTO_USED(X509_get0_notBefore); | ||
125 | LCRYPTO_USED(X509_getm_notBefore); | ||
126 | LCRYPTO_USED(X509_get0_notAfter); | ||
127 | LCRYPTO_USED(X509_getm_notAfter); | ||
128 | LCRYPTO_USED(X509_set_pubkey); | ||
129 | LCRYPTO_USED(X509_get_pubkey); | ||
130 | LCRYPTO_USED(X509_get0_pubkey); | ||
131 | LCRYPTO_USED(X509_get0_pubkey_bitstr); | ||
132 | LCRYPTO_USED(X509_certificate_type); | ||
133 | LCRYPTO_USED(X509_get_signature_type); | ||
134 | LCRYPTO_USED(X509_REQ_set_version); | ||
135 | LCRYPTO_USED(X509_REQ_get_version); | ||
136 | LCRYPTO_USED(X509_REQ_set_subject_name); | ||
137 | LCRYPTO_USED(X509_REQ_get_subject_name); | ||
138 | LCRYPTO_USED(X509_REQ_set_pubkey); | ||
139 | LCRYPTO_USED(X509_REQ_get_pubkey); | ||
140 | LCRYPTO_USED(i2d_re_X509_REQ_tbs); | ||
141 | LCRYPTO_USED(X509_REQ_get0_pubkey); | ||
142 | LCRYPTO_USED(X509_REQ_extension_nid); | ||
143 | LCRYPTO_USED(X509_REQ_get_extensions); | ||
144 | LCRYPTO_USED(X509_REQ_add_extensions_nid); | ||
145 | LCRYPTO_USED(X509_REQ_add_extensions); | ||
146 | LCRYPTO_USED(X509_REQ_get_attr_count); | ||
147 | LCRYPTO_USED(X509_REQ_get_attr_by_NID); | ||
148 | LCRYPTO_USED(X509_REQ_get_attr_by_OBJ); | ||
149 | LCRYPTO_USED(X509_REQ_get_attr); | ||
150 | LCRYPTO_USED(X509_REQ_delete_attr); | ||
151 | LCRYPTO_USED(X509_REQ_add1_attr); | ||
152 | LCRYPTO_USED(X509_REQ_add1_attr_by_OBJ); | ||
153 | LCRYPTO_USED(X509_REQ_add1_attr_by_NID); | ||
154 | LCRYPTO_USED(X509_REQ_add1_attr_by_txt); | ||
155 | LCRYPTO_USED(X509_CRL_set_version); | ||
156 | LCRYPTO_USED(X509_CRL_set_issuer_name); | ||
157 | LCRYPTO_USED(X509_CRL_set_lastUpdate); | ||
158 | LCRYPTO_USED(X509_CRL_set1_lastUpdate); | ||
159 | LCRYPTO_USED(X509_CRL_set_nextUpdate); | ||
160 | LCRYPTO_USED(X509_CRL_set1_nextUpdate); | ||
161 | LCRYPTO_USED(X509_CRL_sort); | ||
162 | LCRYPTO_USED(X509_REVOKED_get0_extensions); | ||
163 | LCRYPTO_USED(X509_REVOKED_get0_revocationDate); | ||
164 | LCRYPTO_USED(X509_REVOKED_get0_serialNumber); | ||
165 | LCRYPTO_USED(X509_REVOKED_set_revocationDate); | ||
166 | LCRYPTO_USED(X509_REVOKED_set_serialNumber); | ||
167 | LCRYPTO_USED(X509_REQ_check_private_key); | ||
168 | LCRYPTO_USED(X509_check_private_key); | ||
169 | LCRYPTO_USED(X509_issuer_and_serial_cmp); | ||
170 | LCRYPTO_USED(X509_issuer_and_serial_hash); | ||
171 | LCRYPTO_USED(X509_issuer_name_cmp); | ||
172 | LCRYPTO_USED(X509_issuer_name_hash); | ||
173 | LCRYPTO_USED(X509_subject_name_cmp); | ||
174 | LCRYPTO_USED(X509_subject_name_hash); | ||
175 | LCRYPTO_USED(X509_issuer_name_hash_old); | ||
176 | LCRYPTO_USED(X509_subject_name_hash_old); | ||
177 | LCRYPTO_USED(X509_cmp); | ||
178 | LCRYPTO_USED(X509_NAME_cmp); | ||
179 | LCRYPTO_USED(X509_NAME_hash); | ||
180 | LCRYPTO_USED(X509_NAME_hash_old); | ||
181 | LCRYPTO_USED(X509_CRL_cmp); | ||
182 | LCRYPTO_USED(X509_CRL_match); | ||
183 | LCRYPTO_USED(X509_NAME_entry_count); | ||
184 | LCRYPTO_USED(X509_NAME_get_text_by_NID); | ||
185 | LCRYPTO_USED(X509_NAME_get_text_by_OBJ); | ||
186 | LCRYPTO_USED(X509_NAME_get_index_by_NID); | ||
187 | LCRYPTO_USED(X509_NAME_get_index_by_OBJ); | ||
188 | LCRYPTO_USED(X509_NAME_get_entry); | ||
189 | LCRYPTO_USED(X509_NAME_delete_entry); | ||
190 | LCRYPTO_USED(X509_NAME_add_entry); | ||
191 | LCRYPTO_USED(X509_NAME_add_entry_by_OBJ); | ||
192 | LCRYPTO_USED(X509_NAME_add_entry_by_NID); | ||
193 | LCRYPTO_USED(X509_NAME_ENTRY_create_by_txt); | ||
194 | LCRYPTO_USED(X509_NAME_ENTRY_create_by_NID); | ||
195 | LCRYPTO_USED(X509_NAME_add_entry_by_txt); | ||
196 | LCRYPTO_USED(X509_NAME_ENTRY_create_by_OBJ); | ||
197 | LCRYPTO_USED(X509_NAME_ENTRY_set_object); | ||
198 | LCRYPTO_USED(X509_NAME_ENTRY_set_data); | ||
199 | LCRYPTO_USED(X509_NAME_ENTRY_get_object); | ||
200 | LCRYPTO_USED(X509_NAME_ENTRY_get_data); | ||
201 | LCRYPTO_USED(X509_NAME_ENTRY_set); | ||
202 | LCRYPTO_USED(X509v3_get_ext_count); | ||
203 | LCRYPTO_USED(X509v3_get_ext_by_NID); | ||
204 | LCRYPTO_USED(X509v3_get_ext_by_OBJ); | ||
205 | LCRYPTO_USED(X509v3_get_ext_by_critical); | ||
206 | LCRYPTO_USED(X509v3_get_ext); | ||
207 | LCRYPTO_USED(X509v3_delete_ext); | ||
208 | LCRYPTO_USED(X509v3_add_ext); | ||
209 | LCRYPTO_USED(X509_get_ext_count); | ||
210 | LCRYPTO_USED(X509_get_ext_by_NID); | ||
211 | LCRYPTO_USED(X509_get_ext_by_OBJ); | ||
212 | LCRYPTO_USED(X509_get_ext_by_critical); | ||
213 | LCRYPTO_USED(X509_get_ext); | ||
214 | LCRYPTO_USED(X509_delete_ext); | ||
215 | LCRYPTO_USED(X509_add_ext); | ||
216 | LCRYPTO_USED(X509_get_ext_d2i); | ||
217 | LCRYPTO_USED(X509_add1_ext_i2d); | ||
218 | LCRYPTO_USED(X509_CRL_get_ext_count); | ||
219 | LCRYPTO_USED(X509_CRL_get_ext_by_NID); | ||
220 | LCRYPTO_USED(X509_CRL_get_ext_by_OBJ); | ||
221 | LCRYPTO_USED(X509_CRL_get_ext_by_critical); | ||
222 | LCRYPTO_USED(X509_CRL_get_ext); | ||
223 | LCRYPTO_USED(X509_CRL_delete_ext); | ||
224 | LCRYPTO_USED(X509_CRL_add_ext); | ||
225 | LCRYPTO_USED(X509_CRL_get_ext_d2i); | ||
226 | LCRYPTO_USED(X509_CRL_add1_ext_i2d); | ||
227 | LCRYPTO_USED(X509_REVOKED_get_ext_count); | ||
228 | LCRYPTO_USED(X509_REVOKED_get_ext_by_NID); | ||
229 | LCRYPTO_USED(X509_REVOKED_get_ext_by_OBJ); | ||
230 | LCRYPTO_USED(X509_REVOKED_get_ext_by_critical); | ||
231 | LCRYPTO_USED(X509_REVOKED_get_ext); | ||
232 | LCRYPTO_USED(X509_REVOKED_delete_ext); | ||
233 | LCRYPTO_USED(X509_REVOKED_add_ext); | ||
234 | LCRYPTO_USED(X509_REVOKED_get_ext_d2i); | ||
235 | LCRYPTO_USED(X509_REVOKED_add1_ext_i2d); | ||
236 | LCRYPTO_USED(X509_EXTENSION_create_by_NID); | ||
237 | LCRYPTO_USED(X509_EXTENSION_create_by_OBJ); | ||
238 | LCRYPTO_USED(X509_EXTENSION_set_object); | ||
239 | LCRYPTO_USED(X509_EXTENSION_set_critical); | ||
240 | LCRYPTO_USED(X509_EXTENSION_set_data); | ||
241 | LCRYPTO_USED(X509_EXTENSION_get_object); | ||
242 | LCRYPTO_USED(X509_EXTENSION_get_data); | ||
243 | LCRYPTO_USED(X509_EXTENSION_get_critical); | ||
244 | LCRYPTO_USED(X509_ATTRIBUTE_create_by_NID); | ||
245 | LCRYPTO_USED(X509_ATTRIBUTE_create_by_OBJ); | ||
246 | LCRYPTO_USED(X509_ATTRIBUTE_create_by_txt); | ||
247 | LCRYPTO_USED(X509_ATTRIBUTE_set1_object); | ||
248 | LCRYPTO_USED(X509_ATTRIBUTE_set1_data); | ||
249 | LCRYPTO_USED(X509_ATTRIBUTE_get0_data); | ||
250 | LCRYPTO_USED(X509_ATTRIBUTE_count); | ||
251 | LCRYPTO_USED(X509_ATTRIBUTE_get0_object); | ||
252 | LCRYPTO_USED(X509_ATTRIBUTE_get0_type); | ||
253 | LCRYPTO_USED(X509_verify_cert); | ||
254 | LCRYPTO_USED(X509_find_by_issuer_and_serial); | ||
255 | LCRYPTO_USED(X509_find_by_subject); | ||
256 | LCRYPTO_USED(X509_up_ref); | ||
257 | LCRYPTO_USED(X509_chain_up_ref); | ||
258 | LCRYPTO_USED(ERR_load_X509_strings); | ||
259 | LCRYPTO_USED(X509_CRL_get_signature_nid); | ||
260 | LCRYPTO_USED(X509_CRL_get0_extensions); | ||
261 | LCRYPTO_USED(X509_CRL_get_version); | ||
262 | LCRYPTO_USED(X509_CRL_get0_lastUpdate); | ||
263 | LCRYPTO_USED(X509_CRL_get0_nextUpdate); | ||
264 | LCRYPTO_USED(X509_CRL_get_lastUpdate); | ||
265 | LCRYPTO_USED(X509_CRL_get_nextUpdate); | ||
266 | LCRYPTO_USED(X509_CRL_get_issuer); | ||
267 | LCRYPTO_USED(X509_CRL_get_REVOKED); | ||
268 | LCRYPTO_USED(X509_CRL_get0_signature); | ||
269 | LCRYPTO_USED(X509_CRL_get0_tbs_sigalg); | ||
270 | LCRYPTO_USED(X509_REQ_get_signature_nid); | ||
271 | LCRYPTO_USED(X509_REQ_get0_signature); | ||
272 | LCRYPTO_USED(X509_CRL_verify); | ||
273 | LCRYPTO_USED(NETSCAPE_SPKI_print); | ||
274 | LCRYPTO_USED(X509_signature_dump); | ||
275 | LCRYPTO_USED(X509_signature_print); | ||
276 | LCRYPTO_USED(d2i_RSA_PUBKEY_fp); | ||
277 | LCRYPTO_USED(i2d_RSA_PUBKEY_fp); | ||
278 | LCRYPTO_USED(d2i_DSA_PUBKEY_fp); | ||
279 | LCRYPTO_USED(i2d_DSA_PUBKEY_fp); | ||
280 | LCRYPTO_USED(d2i_EC_PUBKEY_fp); | ||
281 | LCRYPTO_USED(i2d_EC_PUBKEY_fp); | ||
282 | LCRYPTO_USED(i2d_PUBKEY_fp); | ||
283 | LCRYPTO_USED(d2i_PUBKEY_fp); | ||
284 | LCRYPTO_USED(d2i_RSA_PUBKEY_bio); | ||
285 | LCRYPTO_USED(i2d_RSA_PUBKEY_bio); | ||
286 | LCRYPTO_USED(d2i_DSA_PUBKEY_bio); | ||
287 | LCRYPTO_USED(i2d_DSA_PUBKEY_bio); | ||
288 | LCRYPTO_USED(d2i_EC_PUBKEY_bio); | ||
289 | LCRYPTO_USED(i2d_EC_PUBKEY_bio); | ||
290 | LCRYPTO_USED(i2d_PUBKEY_bio); | ||
291 | LCRYPTO_USED(d2i_PUBKEY_bio); | ||
292 | LCRYPTO_USED(X509_dup); | ||
293 | LCRYPTO_USED(X509_ATTRIBUTE_dup); | ||
294 | LCRYPTO_USED(X509_EXTENSION_dup); | ||
295 | LCRYPTO_USED(X509_CRL_dup); | ||
296 | LCRYPTO_USED(X509_REQ_dup); | ||
297 | LCRYPTO_USED(X509_ALGOR_dup); | ||
298 | LCRYPTO_USED(X509_ALGOR_set0); | ||
299 | LCRYPTO_USED(X509_ALGOR_get0); | ||
300 | LCRYPTO_USED(X509_ALGOR_cmp); | ||
301 | LCRYPTO_USED(X509_NAME_dup); | ||
302 | LCRYPTO_USED(X509_NAME_get0_der); | ||
303 | LCRYPTO_USED(X509_NAME_ENTRY_dup); | ||
304 | LCRYPTO_USED(X509_ALGOR_new); | ||
305 | LCRYPTO_USED(X509_ALGOR_free); | ||
306 | LCRYPTO_USED(d2i_X509_ALGOR); | ||
307 | LCRYPTO_USED(i2d_X509_ALGOR); | ||
308 | LCRYPTO_USED(d2i_X509_ALGORS); | ||
309 | LCRYPTO_USED(i2d_X509_ALGORS); | ||
310 | LCRYPTO_USED(X509_VAL_new); | ||
311 | LCRYPTO_USED(X509_VAL_free); | ||
312 | LCRYPTO_USED(d2i_X509_VAL); | ||
313 | LCRYPTO_USED(i2d_X509_VAL); | ||
314 | LCRYPTO_USED(X509_PUBKEY_new); | ||
315 | LCRYPTO_USED(X509_PUBKEY_free); | ||
316 | LCRYPTO_USED(d2i_X509_PUBKEY); | ||
317 | LCRYPTO_USED(i2d_X509_PUBKEY); | ||
318 | LCRYPTO_USED(X509_PUBKEY_set); | ||
319 | LCRYPTO_USED(X509_PUBKEY_get); | ||
320 | LCRYPTO_USED(X509_PUBKEY_get0); | ||
321 | LCRYPTO_USED(i2d_PUBKEY); | ||
322 | LCRYPTO_USED(d2i_PUBKEY); | ||
323 | LCRYPTO_USED(i2d_RSA_PUBKEY); | ||
324 | LCRYPTO_USED(d2i_RSA_PUBKEY); | ||
325 | LCRYPTO_USED(i2d_DSA_PUBKEY); | ||
326 | LCRYPTO_USED(d2i_DSA_PUBKEY); | ||
327 | LCRYPTO_USED(i2d_EC_PUBKEY); | ||
328 | LCRYPTO_USED(d2i_EC_PUBKEY); | ||
329 | LCRYPTO_USED(X509_SIG_new); | ||
330 | LCRYPTO_USED(X509_SIG_free); | ||
331 | LCRYPTO_USED(d2i_X509_SIG); | ||
332 | LCRYPTO_USED(i2d_X509_SIG); | ||
333 | LCRYPTO_USED(X509_SIG_get0); | ||
334 | LCRYPTO_USED(X509_SIG_getm); | ||
335 | LCRYPTO_USED(X509_REQ_INFO_new); | ||
336 | LCRYPTO_USED(X509_REQ_INFO_free); | ||
337 | LCRYPTO_USED(d2i_X509_REQ_INFO); | ||
338 | LCRYPTO_USED(i2d_X509_REQ_INFO); | ||
339 | LCRYPTO_USED(X509_REQ_new); | ||
340 | LCRYPTO_USED(X509_REQ_free); | ||
341 | LCRYPTO_USED(d2i_X509_REQ); | ||
342 | LCRYPTO_USED(i2d_X509_REQ); | ||
343 | LCRYPTO_USED(X509_ATTRIBUTE_new); | ||
344 | LCRYPTO_USED(X509_ATTRIBUTE_free); | ||
345 | LCRYPTO_USED(d2i_X509_ATTRIBUTE); | ||
346 | LCRYPTO_USED(i2d_X509_ATTRIBUTE); | ||
347 | LCRYPTO_USED(X509_ATTRIBUTE_create); | ||
348 | LCRYPTO_USED(X509_EXTENSION_new); | ||
349 | LCRYPTO_USED(X509_EXTENSION_free); | ||
350 | LCRYPTO_USED(d2i_X509_EXTENSION); | ||
351 | LCRYPTO_USED(i2d_X509_EXTENSION); | ||
352 | LCRYPTO_USED(d2i_X509_EXTENSIONS); | ||
353 | LCRYPTO_USED(i2d_X509_EXTENSIONS); | ||
354 | LCRYPTO_USED(X509_NAME_ENTRY_new); | ||
355 | LCRYPTO_USED(X509_NAME_ENTRY_free); | ||
356 | LCRYPTO_USED(d2i_X509_NAME_ENTRY); | ||
357 | LCRYPTO_USED(i2d_X509_NAME_ENTRY); | ||
358 | LCRYPTO_USED(X509_NAME_new); | ||
359 | LCRYPTO_USED(X509_NAME_free); | ||
360 | LCRYPTO_USED(d2i_X509_NAME); | ||
361 | LCRYPTO_USED(i2d_X509_NAME); | ||
362 | LCRYPTO_USED(X509_NAME_set); | ||
363 | LCRYPTO_USED(X509_CINF_new); | ||
364 | LCRYPTO_USED(X509_CINF_free); | ||
365 | LCRYPTO_USED(d2i_X509_CINF); | ||
366 | LCRYPTO_USED(i2d_X509_CINF); | ||
367 | LCRYPTO_USED(X509_new); | ||
368 | LCRYPTO_USED(X509_free); | ||
369 | LCRYPTO_USED(d2i_X509); | ||
370 | LCRYPTO_USED(i2d_X509); | ||
371 | LCRYPTO_USED(X509_get_ex_new_index); | ||
372 | LCRYPTO_USED(X509_set_ex_data); | ||
373 | LCRYPTO_USED(X509_get_ex_data); | ||
374 | LCRYPTO_USED(i2d_X509_AUX); | ||
375 | LCRYPTO_USED(d2i_X509_AUX); | ||
376 | LCRYPTO_USED(i2d_re_X509_tbs); | ||
377 | LCRYPTO_USED(X509_get_signature_info); | ||
378 | LCRYPTO_USED(X509_get0_signature); | ||
379 | LCRYPTO_USED(X509_get_signature_nid); | ||
380 | LCRYPTO_USED(X509_alias_set1); | ||
381 | LCRYPTO_USED(X509_keyid_set1); | ||
382 | LCRYPTO_USED(X509_alias_get0); | ||
383 | LCRYPTO_USED(X509_keyid_get0); | ||
384 | LCRYPTO_USED(X509_add1_trust_object); | ||
385 | LCRYPTO_USED(X509_add1_reject_object); | ||
386 | LCRYPTO_USED(X509_trust_clear); | ||
387 | LCRYPTO_USED(X509_reject_clear); | ||
388 | LCRYPTO_USED(X509_REVOKED_new); | ||
389 | LCRYPTO_USED(X509_REVOKED_free); | ||
390 | LCRYPTO_USED(X509_REVOKED_dup); | ||
391 | LCRYPTO_USED(d2i_X509_REVOKED); | ||
392 | LCRYPTO_USED(i2d_X509_REVOKED); | ||
393 | LCRYPTO_USED(X509_CRL_INFO_new); | ||
394 | LCRYPTO_USED(X509_CRL_INFO_free); | ||
395 | LCRYPTO_USED(d2i_X509_CRL_INFO); | ||
396 | LCRYPTO_USED(i2d_X509_CRL_INFO); | ||
397 | LCRYPTO_USED(X509_CRL_new); | ||
398 | LCRYPTO_USED(X509_CRL_free); | ||
399 | LCRYPTO_USED(d2i_X509_CRL); | ||
400 | LCRYPTO_USED(i2d_X509_CRL); | ||
401 | LCRYPTO_USED(X509_CRL_add0_revoked); | ||
402 | LCRYPTO_USED(X509_CRL_get0_by_serial); | ||
403 | LCRYPTO_USED(X509_CRL_get0_by_cert); | ||
404 | LCRYPTO_USED(X509_PKEY_new); | ||
405 | LCRYPTO_USED(X509_PKEY_free); | ||
406 | LCRYPTO_USED(NETSCAPE_SPKI_new); | ||
407 | LCRYPTO_USED(NETSCAPE_SPKI_free); | ||
408 | LCRYPTO_USED(d2i_NETSCAPE_SPKI); | ||
409 | LCRYPTO_USED(i2d_NETSCAPE_SPKI); | ||
410 | LCRYPTO_USED(NETSCAPE_SPKAC_new); | ||
411 | LCRYPTO_USED(NETSCAPE_SPKAC_free); | ||
412 | LCRYPTO_USED(d2i_NETSCAPE_SPKAC); | ||
413 | LCRYPTO_USED(i2d_NETSCAPE_SPKAC); | ||
414 | LCRYPTO_USED(X509_INFO_new); | ||
415 | LCRYPTO_USED(X509_INFO_free); | ||
416 | LCRYPTO_USED(ASN1_item_digest); | ||
417 | LCRYPTO_USED(ASN1_item_verify); | ||
418 | LCRYPTO_USED(ASN1_item_sign); | ||
419 | LCRYPTO_USED(ASN1_item_sign_ctx); | ||
420 | LCRYPTO_USED(X509_print_ex_fp); | ||
421 | LCRYPTO_USED(X509_print_fp); | ||
422 | LCRYPTO_USED(X509_CRL_print_fp); | ||
423 | LCRYPTO_USED(X509_REQ_print_fp); | ||
424 | LCRYPTO_USED(X509_NAME_print_ex_fp); | ||
425 | LCRYPTO_USED(X509_NAME_print_ex); | ||
426 | LCRYPTO_USED(X509_print_ex); | ||
427 | LCRYPTO_USED(X509_print); | ||
428 | LCRYPTO_USED(X509_ocspid_print); | ||
429 | LCRYPTO_USED(X509_CRL_print); | ||
430 | LCRYPTO_USED(X509_REQ_print_ex); | ||
431 | LCRYPTO_USED(X509_REQ_print); | ||
432 | LCRYPTO_USED(PKCS8_PRIV_KEY_INFO_new); | ||
433 | LCRYPTO_USED(PKCS8_PRIV_KEY_INFO_free); | ||
434 | LCRYPTO_USED(d2i_PKCS8_PRIV_KEY_INFO); | ||
435 | LCRYPTO_USED(i2d_PKCS8_PRIV_KEY_INFO); | ||
436 | LCRYPTO_USED(EVP_PKCS82PKEY); | ||
437 | LCRYPTO_USED(EVP_PKEY2PKCS8); | ||
438 | LCRYPTO_USED(PKCS8_pkey_set0); | ||
439 | LCRYPTO_USED(PKCS8_pkey_get0); | ||
440 | LCRYPTO_USED(PKCS8_pkey_get0_attrs); | ||
441 | LCRYPTO_USED(PKCS8_pkey_add1_attr_by_NID); | ||
442 | LCRYPTO_USED(X509_PUBKEY_set0_param); | ||
443 | LCRYPTO_USED(X509_PUBKEY_get0_param); | ||
444 | #if defined(LIBRESSL_NAMESPACE) | ||
445 | extern LCRYPTO_USED(X509_ALGOR_it); | ||
446 | extern LCRYPTO_USED(X509_ALGORS_it); | ||
447 | extern LCRYPTO_USED(X509_VAL_it); | ||
448 | extern LCRYPTO_USED(X509_PUBKEY_it); | ||
449 | extern LCRYPTO_USED(X509_SIG_it); | ||
450 | extern LCRYPTO_USED(X509_REQ_INFO_it); | ||
451 | extern LCRYPTO_USED(X509_REQ_it); | ||
452 | extern LCRYPTO_USED(X509_ATTRIBUTE_it); | ||
453 | extern LCRYPTO_USED(X509_EXTENSION_it); | ||
454 | extern LCRYPTO_USED(X509_EXTENSIONS_it); | ||
455 | extern LCRYPTO_USED(X509_NAME_ENTRY_it); | ||
456 | extern LCRYPTO_USED(X509_NAME_it); | ||
457 | extern LCRYPTO_USED(X509_CINF_it); | ||
458 | extern LCRYPTO_USED(X509_it); | ||
459 | extern LCRYPTO_USED(X509_REVOKED_it); | ||
460 | extern LCRYPTO_USED(X509_CRL_INFO_it); | ||
461 | extern LCRYPTO_USED(X509_CRL_it); | ||
462 | extern LCRYPTO_USED(NETSCAPE_SPKI_it); | ||
463 | extern LCRYPTO_USED(NETSCAPE_SPKAC_it); | ||
464 | extern LCRYPTO_USED(PBEPARAM_it); | ||
465 | extern LCRYPTO_USED(PKCS8_PRIV_KEY_INFO_it); | ||
466 | #endif | ||
467 | |||
468 | #endif /* _LIBCRYPTO_X509_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/x509_vfy.h b/src/lib/libcrypto/hidden/openssl/x509_vfy.h deleted file mode 100644 index cc0991518f..0000000000 --- a/src/lib/libcrypto/hidden/openssl/x509_vfy.h +++ /dev/null | |||
@@ -1,148 +0,0 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.10 2025/03/09 15:20:20 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_X509_VFY_H | ||
19 | #define _LIBCRYPTO_X509_VFY_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/x509_vfy.h> | ||
23 | #else | ||
24 | #include "../include/openssl/x509_vfy.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(X509_STORE_set_depth); | ||
29 | LCRYPTO_USED(X509_STORE_CTX_set_depth); | ||
30 | LCRYPTO_USED(X509_OBJECT_new); | ||
31 | LCRYPTO_USED(X509_OBJECT_free); | ||
32 | LCRYPTO_USED(X509_OBJECT_idx_by_subject); | ||
33 | LCRYPTO_USED(X509_OBJECT_retrieve_by_subject); | ||
34 | LCRYPTO_USED(X509_OBJECT_retrieve_match); | ||
35 | LCRYPTO_USED(X509_OBJECT_get_type); | ||
36 | LCRYPTO_USED(X509_OBJECT_get0_X509); | ||
37 | LCRYPTO_USED(X509_OBJECT_get0_X509_CRL); | ||
38 | LCRYPTO_USED(X509_STORE_new); | ||
39 | LCRYPTO_USED(X509_STORE_free); | ||
40 | LCRYPTO_USED(X509_STORE_up_ref); | ||
41 | LCRYPTO_USED(X509_STORE_get0_objects); | ||
42 | LCRYPTO_USED(X509_STORE_get1_objects); | ||
43 | LCRYPTO_USED(X509_STORE_get_ex_data); | ||
44 | LCRYPTO_USED(X509_STORE_set_ex_data); | ||
45 | LCRYPTO_USED(X509_STORE_set_flags); | ||
46 | LCRYPTO_USED(X509_STORE_set_purpose); | ||
47 | LCRYPTO_USED(X509_STORE_set_trust); | ||
48 | LCRYPTO_USED(X509_STORE_set1_param); | ||
49 | LCRYPTO_USED(X509_STORE_get0_param); | ||
50 | LCRYPTO_USED(X509_STORE_get_verify_cb); | ||
51 | LCRYPTO_USED(X509_STORE_set_verify_cb); | ||
52 | LCRYPTO_USED(X509_STORE_get_check_issued); | ||
53 | LCRYPTO_USED(X509_STORE_set_check_issued); | ||
54 | LCRYPTO_USED(X509_STORE_CTX_get_check_issued); | ||
55 | LCRYPTO_USED(X509_STORE_CTX_new); | ||
56 | LCRYPTO_USED(X509_STORE_CTX_get1_issuer); | ||
57 | LCRYPTO_USED(X509_STORE_CTX_free); | ||
58 | LCRYPTO_USED(X509_STORE_CTX_init); | ||
59 | LCRYPTO_USED(X509_STORE_CTX_get0_cert); | ||
60 | LCRYPTO_USED(X509_STORE_CTX_get0_chain); | ||
61 | LCRYPTO_USED(X509_STORE_CTX_get0_store); | ||
62 | LCRYPTO_USED(X509_STORE_CTX_get0_untrusted); | ||
63 | LCRYPTO_USED(X509_STORE_CTX_set0_untrusted); | ||
64 | LCRYPTO_USED(X509_STORE_CTX_get1_certs); | ||
65 | LCRYPTO_USED(X509_STORE_CTX_get1_crls); | ||
66 | LCRYPTO_USED(X509_STORE_CTX_trusted_stack); | ||
67 | LCRYPTO_USED(X509_STORE_CTX_set0_trusted_stack); | ||
68 | LCRYPTO_USED(X509_STORE_CTX_cleanup); | ||
69 | LCRYPTO_USED(X509_STORE_add_lookup); | ||
70 | LCRYPTO_USED(X509_LOOKUP_hash_dir); | ||
71 | LCRYPTO_USED(X509_LOOKUP_file); | ||
72 | LCRYPTO_USED(X509_LOOKUP_mem); | ||
73 | LCRYPTO_USED(X509_STORE_add_cert); | ||
74 | LCRYPTO_USED(X509_STORE_add_crl); | ||
75 | LCRYPTO_USED(X509_STORE_CTX_get_by_subject); | ||
76 | LCRYPTO_USED(X509_STORE_CTX_get_obj_by_subject); | ||
77 | LCRYPTO_USED(X509_LOOKUP_ctrl); | ||
78 | LCRYPTO_USED(X509_load_cert_file); | ||
79 | LCRYPTO_USED(X509_load_crl_file); | ||
80 | LCRYPTO_USED(X509_load_cert_crl_file); | ||
81 | LCRYPTO_USED(X509_LOOKUP_free); | ||
82 | LCRYPTO_USED(X509_STORE_load_locations); | ||
83 | LCRYPTO_USED(X509_STORE_load_mem); | ||
84 | LCRYPTO_USED(X509_STORE_set_default_paths); | ||
85 | LCRYPTO_USED(X509_STORE_CTX_get_ex_new_index); | ||
86 | LCRYPTO_USED(X509_STORE_CTX_set_ex_data); | ||
87 | LCRYPTO_USED(X509_STORE_CTX_get_ex_data); | ||
88 | LCRYPTO_USED(X509_STORE_CTX_get_error); | ||
89 | LCRYPTO_USED(X509_STORE_CTX_set_error); | ||
90 | LCRYPTO_USED(X509_STORE_CTX_get_error_depth); | ||
91 | LCRYPTO_USED(X509_STORE_CTX_set_error_depth); | ||
92 | LCRYPTO_USED(X509_STORE_CTX_get_current_cert); | ||
93 | LCRYPTO_USED(X509_STORE_CTX_set_current_cert); | ||
94 | LCRYPTO_USED(X509_STORE_CTX_get0_current_issuer); | ||
95 | LCRYPTO_USED(X509_STORE_CTX_get0_current_crl); | ||
96 | LCRYPTO_USED(X509_STORE_CTX_get0_parent_ctx); | ||
97 | LCRYPTO_USED(X509_STORE_CTX_get_chain); | ||
98 | LCRYPTO_USED(X509_STORE_CTX_get1_chain); | ||
99 | LCRYPTO_USED(X509_STORE_CTX_set_cert); | ||
100 | LCRYPTO_USED(X509_STORE_CTX_set_chain); | ||
101 | LCRYPTO_USED(X509_STORE_CTX_set0_crls); | ||
102 | LCRYPTO_USED(X509_STORE_CTX_set_purpose); | ||
103 | LCRYPTO_USED(X509_STORE_CTX_set_trust); | ||
104 | LCRYPTO_USED(X509_STORE_CTX_set_flags); | ||
105 | LCRYPTO_USED(X509_STORE_CTX_set_time); | ||
106 | LCRYPTO_USED(X509_STORE_CTX_set0_verified_chain); | ||
107 | LCRYPTO_USED(X509_STORE_CTX_get_verify); | ||
108 | LCRYPTO_USED(X509_STORE_CTX_set_verify); | ||
109 | LCRYPTO_USED(X509_STORE_CTX_get_verify_cb); | ||
110 | LCRYPTO_USED(X509_STORE_CTX_set_verify_cb); | ||
111 | LCRYPTO_USED(X509_STORE_set_verify); | ||
112 | LCRYPTO_USED(X509_STORE_get_verify); | ||
113 | LCRYPTO_USED(X509_STORE_CTX_get_num_untrusted); | ||
114 | LCRYPTO_USED(X509_STORE_CTX_get0_param); | ||
115 | LCRYPTO_USED(X509_STORE_CTX_set0_param); | ||
116 | LCRYPTO_USED(X509_STORE_CTX_set_default); | ||
117 | LCRYPTO_USED(X509_VERIFY_PARAM_new); | ||
118 | LCRYPTO_USED(X509_VERIFY_PARAM_free); | ||
119 | LCRYPTO_USED(X509_VERIFY_PARAM_inherit); | ||
120 | LCRYPTO_USED(X509_VERIFY_PARAM_set1); | ||
121 | LCRYPTO_USED(X509_VERIFY_PARAM_set1_name); | ||
122 | LCRYPTO_USED(X509_VERIFY_PARAM_set_flags); | ||
123 | LCRYPTO_USED(X509_VERIFY_PARAM_clear_flags); | ||
124 | LCRYPTO_USED(X509_VERIFY_PARAM_get_flags); | ||
125 | LCRYPTO_USED(X509_VERIFY_PARAM_set_purpose); | ||
126 | LCRYPTO_USED(X509_VERIFY_PARAM_set_trust); | ||
127 | LCRYPTO_USED(X509_VERIFY_PARAM_set_depth); | ||
128 | LCRYPTO_USED(X509_VERIFY_PARAM_set_auth_level); | ||
129 | LCRYPTO_USED(X509_VERIFY_PARAM_get_time); | ||
130 | LCRYPTO_USED(X509_VERIFY_PARAM_set_time); | ||
131 | LCRYPTO_USED(X509_VERIFY_PARAM_add0_policy); | ||
132 | LCRYPTO_USED(X509_VERIFY_PARAM_set1_policies); | ||
133 | LCRYPTO_USED(X509_VERIFY_PARAM_get_depth); | ||
134 | LCRYPTO_USED(X509_VERIFY_PARAM_set1_host); | ||
135 | LCRYPTO_USED(X509_VERIFY_PARAM_add1_host); | ||
136 | LCRYPTO_USED(X509_VERIFY_PARAM_set_hostflags); | ||
137 | LCRYPTO_USED(X509_VERIFY_PARAM_get0_peername); | ||
138 | LCRYPTO_USED(X509_VERIFY_PARAM_set1_email); | ||
139 | LCRYPTO_USED(X509_VERIFY_PARAM_set1_ip); | ||
140 | LCRYPTO_USED(X509_VERIFY_PARAM_set1_ip_asc); | ||
141 | LCRYPTO_USED(X509_VERIFY_PARAM_get0_name); | ||
142 | LCRYPTO_USED(X509_VERIFY_PARAM_get0); | ||
143 | LCRYPTO_USED(X509_VERIFY_PARAM_get_count); | ||
144 | LCRYPTO_USED(X509_VERIFY_PARAM_add0_table); | ||
145 | LCRYPTO_USED(X509_VERIFY_PARAM_lookup); | ||
146 | LCRYPTO_USED(X509_VERIFY_PARAM_table_cleanup); | ||
147 | |||
148 | #endif /* _LIBCRYPTO_X509_VFY_H */ | ||
diff --git a/src/lib/libcrypto/hidden/openssl/x509v3.h b/src/lib/libcrypto/hidden/openssl/x509v3.h deleted file mode 100644 index 9f5a1ffdbc..0000000000 --- a/src/lib/libcrypto/hidden/openssl/x509v3.h +++ /dev/null | |||
@@ -1,276 +0,0 @@ | |||
1 | /* $OpenBSD: x509v3.h,v 1.15 2024/08/31 10:03:03 tb Exp $ */ | ||
2 | /* | ||
3 | * Copyright (c) 2022 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_X509V3_H | ||
19 | #define _LIBCRYPTO_X509V3_H | ||
20 | |||
21 | #ifndef _MSC_VER | ||
22 | #include_next <openssl/x509v3.h> | ||
23 | #else | ||
24 | #include "../include/openssl/x509v3.h" | ||
25 | #endif | ||
26 | #include "crypto_namespace.h" | ||
27 | |||
28 | LCRYPTO_USED(BASIC_CONSTRAINTS_new); | ||
29 | LCRYPTO_USED(BASIC_CONSTRAINTS_free); | ||
30 | LCRYPTO_USED(d2i_BASIC_CONSTRAINTS); | ||
31 | LCRYPTO_USED(i2d_BASIC_CONSTRAINTS); | ||
32 | LCRYPTO_USED(AUTHORITY_KEYID_new); | ||
33 | LCRYPTO_USED(AUTHORITY_KEYID_free); | ||
34 | LCRYPTO_USED(d2i_AUTHORITY_KEYID); | ||
35 | LCRYPTO_USED(i2d_AUTHORITY_KEYID); | ||
36 | LCRYPTO_USED(PKEY_USAGE_PERIOD_new); | ||
37 | LCRYPTO_USED(PKEY_USAGE_PERIOD_free); | ||
38 | LCRYPTO_USED(d2i_PKEY_USAGE_PERIOD); | ||
39 | LCRYPTO_USED(i2d_PKEY_USAGE_PERIOD); | ||
40 | LCRYPTO_USED(GENERAL_NAME_new); | ||
41 | LCRYPTO_USED(GENERAL_NAME_free); | ||
42 | LCRYPTO_USED(d2i_GENERAL_NAME); | ||
43 | LCRYPTO_USED(i2d_GENERAL_NAME); | ||
44 | LCRYPTO_USED(GENERAL_NAME_dup); | ||
45 | LCRYPTO_USED(GENERAL_NAME_cmp); | ||
46 | LCRYPTO_USED(v2i_ASN1_BIT_STRING); | ||
47 | LCRYPTO_USED(i2v_ASN1_BIT_STRING); | ||
48 | LCRYPTO_USED(i2v_GENERAL_NAME); | ||
49 | LCRYPTO_USED(GENERAL_NAME_print); | ||
50 | LCRYPTO_USED(GENERAL_NAMES_new); | ||
51 | LCRYPTO_USED(GENERAL_NAMES_free); | ||
52 | LCRYPTO_USED(d2i_GENERAL_NAMES); | ||
53 | LCRYPTO_USED(i2d_GENERAL_NAMES); | ||
54 | LCRYPTO_USED(i2v_GENERAL_NAMES); | ||
55 | LCRYPTO_USED(v2i_GENERAL_NAMES); | ||
56 | LCRYPTO_USED(OTHERNAME_new); | ||
57 | LCRYPTO_USED(OTHERNAME_free); | ||
58 | LCRYPTO_USED(d2i_OTHERNAME); | ||
59 | LCRYPTO_USED(i2d_OTHERNAME); | ||
60 | LCRYPTO_USED(EDIPARTYNAME_new); | ||
61 | LCRYPTO_USED(EDIPARTYNAME_free); | ||
62 | LCRYPTO_USED(d2i_EDIPARTYNAME); | ||
63 | LCRYPTO_USED(i2d_EDIPARTYNAME); | ||
64 | LCRYPTO_USED(OTHERNAME_cmp); | ||
65 | LCRYPTO_USED(GENERAL_NAME_set0_value); | ||
66 | LCRYPTO_USED(GENERAL_NAME_get0_value); | ||
67 | LCRYPTO_USED(GENERAL_NAME_set0_othername); | ||
68 | LCRYPTO_USED(GENERAL_NAME_get0_otherName); | ||
69 | LCRYPTO_USED(i2s_ASN1_OCTET_STRING); | ||
70 | LCRYPTO_USED(s2i_ASN1_OCTET_STRING); | ||
71 | LCRYPTO_USED(EXTENDED_KEY_USAGE_new); | ||
72 | LCRYPTO_USED(EXTENDED_KEY_USAGE_free); | ||
73 | LCRYPTO_USED(d2i_EXTENDED_KEY_USAGE); | ||
74 | LCRYPTO_USED(i2d_EXTENDED_KEY_USAGE); | ||
75 | LCRYPTO_USED(i2a_ACCESS_DESCRIPTION); | ||
76 | LCRYPTO_USED(CERTIFICATEPOLICIES_new); | ||
77 | LCRYPTO_USED(CERTIFICATEPOLICIES_free); | ||
78 | LCRYPTO_USED(d2i_CERTIFICATEPOLICIES); | ||
79 | LCRYPTO_USED(i2d_CERTIFICATEPOLICIES); | ||
80 | LCRYPTO_USED(POLICYINFO_new); | ||
81 | LCRYPTO_USED(POLICYINFO_free); | ||
82 | LCRYPTO_USED(d2i_POLICYINFO); | ||
83 | LCRYPTO_USED(i2d_POLICYINFO); | ||
84 | LCRYPTO_USED(POLICYQUALINFO_new); | ||
85 | LCRYPTO_USED(POLICYQUALINFO_free); | ||
86 | LCRYPTO_USED(d2i_POLICYQUALINFO); | ||
87 | LCRYPTO_USED(i2d_POLICYQUALINFO); | ||
88 | LCRYPTO_USED(USERNOTICE_new); | ||
89 | LCRYPTO_USED(USERNOTICE_free); | ||
90 | LCRYPTO_USED(d2i_USERNOTICE); | ||
91 | LCRYPTO_USED(i2d_USERNOTICE); | ||
92 | LCRYPTO_USED(NOTICEREF_new); | ||
93 | LCRYPTO_USED(NOTICEREF_free); | ||
94 | LCRYPTO_USED(d2i_NOTICEREF); | ||
95 | LCRYPTO_USED(i2d_NOTICEREF); | ||
96 | LCRYPTO_USED(CRL_DIST_POINTS_new); | ||
97 | LCRYPTO_USED(CRL_DIST_POINTS_free); | ||
98 | LCRYPTO_USED(d2i_CRL_DIST_POINTS); | ||
99 | LCRYPTO_USED(i2d_CRL_DIST_POINTS); | ||
100 | LCRYPTO_USED(DIST_POINT_new); | ||
101 | LCRYPTO_USED(DIST_POINT_free); | ||
102 | LCRYPTO_USED(d2i_DIST_POINT); | ||
103 | LCRYPTO_USED(i2d_DIST_POINT); | ||
104 | LCRYPTO_USED(DIST_POINT_NAME_new); | ||
105 | LCRYPTO_USED(DIST_POINT_NAME_free); | ||
106 | LCRYPTO_USED(d2i_DIST_POINT_NAME); | ||
107 | LCRYPTO_USED(i2d_DIST_POINT_NAME); | ||
108 | LCRYPTO_USED(ISSUING_DIST_POINT_new); | ||
109 | LCRYPTO_USED(ISSUING_DIST_POINT_free); | ||
110 | LCRYPTO_USED(d2i_ISSUING_DIST_POINT); | ||
111 | LCRYPTO_USED(i2d_ISSUING_DIST_POINT); | ||
112 | LCRYPTO_USED(DIST_POINT_set_dpname); | ||
113 | LCRYPTO_USED(NAME_CONSTRAINTS_check); | ||
114 | LCRYPTO_USED(ACCESS_DESCRIPTION_new); | ||
115 | LCRYPTO_USED(ACCESS_DESCRIPTION_free); | ||
116 | LCRYPTO_USED(d2i_ACCESS_DESCRIPTION); | ||
117 | LCRYPTO_USED(i2d_ACCESS_DESCRIPTION); | ||
118 | LCRYPTO_USED(AUTHORITY_INFO_ACCESS_new); | ||
119 | LCRYPTO_USED(AUTHORITY_INFO_ACCESS_free); | ||
120 | LCRYPTO_USED(d2i_AUTHORITY_INFO_ACCESS); | ||
121 | LCRYPTO_USED(i2d_AUTHORITY_INFO_ACCESS); | ||
122 | LCRYPTO_USED(POLICY_MAPPING_new); | ||
123 | LCRYPTO_USED(POLICY_MAPPING_free); | ||
124 | LCRYPTO_USED(GENERAL_SUBTREE_new); | ||
125 | LCRYPTO_USED(GENERAL_SUBTREE_free); | ||
126 | LCRYPTO_USED(NAME_CONSTRAINTS_new); | ||
127 | LCRYPTO_USED(NAME_CONSTRAINTS_free); | ||
128 | LCRYPTO_USED(POLICY_CONSTRAINTS_new); | ||
129 | LCRYPTO_USED(POLICY_CONSTRAINTS_free); | ||
130 | LCRYPTO_USED(a2i_GENERAL_NAME); | ||
131 | LCRYPTO_USED(v2i_GENERAL_NAME); | ||
132 | LCRYPTO_USED(v2i_GENERAL_NAME_ex); | ||
133 | LCRYPTO_USED(X509V3_conf_free); | ||
134 | LCRYPTO_USED(X509V3_EXT_nconf_nid); | ||
135 | LCRYPTO_USED(X509V3_EXT_nconf); | ||
136 | LCRYPTO_USED(X509V3_EXT_add_nconf_sk); | ||
137 | LCRYPTO_USED(X509V3_EXT_add_nconf); | ||
138 | LCRYPTO_USED(X509V3_EXT_REQ_add_nconf); | ||
139 | LCRYPTO_USED(X509V3_EXT_CRL_add_nconf); | ||
140 | LCRYPTO_USED(X509V3_EXT_conf_nid); | ||
141 | LCRYPTO_USED(X509V3_EXT_conf); | ||
142 | LCRYPTO_USED(X509V3_set_nconf); | ||
143 | LCRYPTO_USED(X509V3_set_ctx); | ||
144 | LCRYPTO_USED(i2s_ASN1_INTEGER); | ||
145 | LCRYPTO_USED(s2i_ASN1_INTEGER); | ||
146 | LCRYPTO_USED(i2s_ASN1_ENUMERATED); | ||
147 | LCRYPTO_USED(i2s_ASN1_ENUMERATED_TABLE); | ||
148 | LCRYPTO_USED(X509V3_EXT_get); | ||
149 | LCRYPTO_USED(X509V3_EXT_get_nid); | ||
150 | LCRYPTO_USED(X509V3_add_standard_extensions); | ||
151 | LCRYPTO_USED(X509V3_parse_list); | ||
152 | LCRYPTO_USED(X509V3_EXT_d2i); | ||
153 | LCRYPTO_USED(X509V3_get_d2i); | ||
154 | LCRYPTO_USED(X509V3_EXT_i2d); | ||
155 | LCRYPTO_USED(X509V3_add1_i2d); | ||
156 | LCRYPTO_USED(hex_to_string); | ||
157 | LCRYPTO_USED(string_to_hex); | ||
158 | LCRYPTO_USED(X509V3_EXT_val_prn); | ||
159 | LCRYPTO_USED(X509V3_EXT_print); | ||
160 | LCRYPTO_USED(X509V3_EXT_print_fp); | ||
161 | LCRYPTO_USED(X509V3_extensions_print); | ||
162 | LCRYPTO_USED(X509_check_ca); | ||
163 | LCRYPTO_USED(X509_check_purpose); | ||
164 | LCRYPTO_USED(X509_supported_extension); | ||
165 | LCRYPTO_USED(X509_check_issued); | ||
166 | LCRYPTO_USED(X509_check_akid); | ||
167 | LCRYPTO_USED(X509_PURPOSE_get_count); | ||
168 | LCRYPTO_USED(X509_PURPOSE_get0); | ||
169 | LCRYPTO_USED(X509_PURPOSE_get_by_sname); | ||
170 | LCRYPTO_USED(X509_PURPOSE_get0_name); | ||
171 | LCRYPTO_USED(X509_PURPOSE_get0_sname); | ||
172 | LCRYPTO_USED(X509_PURPOSE_get_id); | ||
173 | LCRYPTO_USED(X509_get_extension_flags); | ||
174 | LCRYPTO_USED(X509_get_key_usage); | ||
175 | LCRYPTO_USED(X509_get_extended_key_usage); | ||
176 | LCRYPTO_USED(X509_get1_email); | ||
177 | LCRYPTO_USED(X509_REQ_get1_email); | ||
178 | LCRYPTO_USED(X509_email_free); | ||
179 | LCRYPTO_USED(X509_get1_ocsp); | ||
180 | LCRYPTO_USED(X509_check_host); | ||
181 | LCRYPTO_USED(X509_check_email); | ||
182 | LCRYPTO_USED(X509_check_ip); | ||
183 | LCRYPTO_USED(X509_check_ip_asc); | ||
184 | LCRYPTO_USED(a2i_IPADDRESS); | ||
185 | LCRYPTO_USED(a2i_IPADDRESS_NC); | ||
186 | LCRYPTO_USED(a2i_ipadd); | ||
187 | LCRYPTO_USED(X509V3_NAME_from_section); | ||
188 | LCRYPTO_USED(ASRange_new); | ||
189 | LCRYPTO_USED(ASRange_free); | ||
190 | LCRYPTO_USED(d2i_ASRange); | ||
191 | LCRYPTO_USED(i2d_ASRange); | ||
192 | LCRYPTO_USED(ASIdOrRange_new); | ||
193 | LCRYPTO_USED(ASIdOrRange_free); | ||
194 | LCRYPTO_USED(d2i_ASIdOrRange); | ||
195 | LCRYPTO_USED(i2d_ASIdOrRange); | ||
196 | LCRYPTO_USED(ASIdentifierChoice_new); | ||
197 | LCRYPTO_USED(ASIdentifierChoice_free); | ||
198 | LCRYPTO_USED(d2i_ASIdentifierChoice); | ||
199 | LCRYPTO_USED(i2d_ASIdentifierChoice); | ||
200 | LCRYPTO_USED(ASIdentifiers_new); | ||
201 | LCRYPTO_USED(ASIdentifiers_free); | ||
202 | LCRYPTO_USED(d2i_ASIdentifiers); | ||
203 | LCRYPTO_USED(i2d_ASIdentifiers); | ||
204 | LCRYPTO_USED(IPAddressRange_new); | ||
205 | LCRYPTO_USED(IPAddressRange_free); | ||
206 | LCRYPTO_USED(d2i_IPAddressRange); | ||
207 | LCRYPTO_USED(i2d_IPAddressRange); | ||
208 | LCRYPTO_USED(IPAddressOrRange_new); | ||
209 | LCRYPTO_USED(IPAddressOrRange_free); | ||
210 | LCRYPTO_USED(d2i_IPAddressOrRange); | ||
211 | LCRYPTO_USED(i2d_IPAddressOrRange); | ||
212 | LCRYPTO_USED(IPAddressChoice_new); | ||
213 | LCRYPTO_USED(IPAddressChoice_free); | ||
214 | LCRYPTO_USED(d2i_IPAddressChoice); | ||
215 | LCRYPTO_USED(i2d_IPAddressChoice); | ||
216 | LCRYPTO_USED(IPAddressFamily_new); | ||
217 | LCRYPTO_USED(IPAddressFamily_free); | ||
218 | LCRYPTO_USED(d2i_IPAddressFamily); | ||
219 | LCRYPTO_USED(i2d_IPAddressFamily); | ||
220 | LCRYPTO_USED(X509v3_asid_add_inherit); | ||
221 | LCRYPTO_USED(X509v3_asid_add_id_or_range); | ||
222 | LCRYPTO_USED(X509v3_addr_add_inherit); | ||
223 | LCRYPTO_USED(X509v3_addr_add_prefix); | ||
224 | LCRYPTO_USED(X509v3_addr_add_range); | ||
225 | LCRYPTO_USED(X509v3_addr_get_afi); | ||
226 | LCRYPTO_USED(X509v3_addr_get_range); | ||
227 | LCRYPTO_USED(X509v3_asid_is_canonical); | ||
228 | LCRYPTO_USED(X509v3_addr_is_canonical); | ||
229 | LCRYPTO_USED(X509v3_asid_canonize); | ||
230 | LCRYPTO_USED(X509v3_addr_canonize); | ||
231 | LCRYPTO_USED(X509v3_asid_inherits); | ||
232 | LCRYPTO_USED(X509v3_addr_inherits); | ||
233 | LCRYPTO_USED(X509v3_asid_subset); | ||
234 | LCRYPTO_USED(X509v3_addr_subset); | ||
235 | LCRYPTO_USED(X509v3_asid_validate_path); | ||
236 | LCRYPTO_USED(X509v3_addr_validate_path); | ||
237 | LCRYPTO_USED(X509v3_asid_validate_resource_set); | ||
238 | LCRYPTO_USED(X509v3_addr_validate_resource_set); | ||
239 | LCRYPTO_USED(ERR_load_X509V3_strings); | ||
240 | #if defined(LIBRESSL_NAMESPACE) | ||
241 | extern LCRYPTO_USED(BASIC_CONSTRAINTS_it); | ||
242 | extern LCRYPTO_USED(AUTHORITY_KEYID_it); | ||
243 | extern LCRYPTO_USED(PKEY_USAGE_PERIOD_it); | ||
244 | extern LCRYPTO_USED(GENERAL_NAME_it); | ||
245 | extern LCRYPTO_USED(GENERAL_NAMES_it); | ||
246 | extern LCRYPTO_USED(OTHERNAME_it); | ||
247 | extern LCRYPTO_USED(EDIPARTYNAME_it); | ||
248 | extern LCRYPTO_USED(EXTENDED_KEY_USAGE_it); | ||
249 | extern LCRYPTO_USED(CERTIFICATEPOLICIES_it); | ||
250 | extern LCRYPTO_USED(POLICYINFO_it); | ||
251 | extern LCRYPTO_USED(POLICYQUALINFO_it); | ||
252 | extern LCRYPTO_USED(USERNOTICE_it); | ||
253 | extern LCRYPTO_USED(NOTICEREF_it); | ||
254 | extern LCRYPTO_USED(CRL_DIST_POINTS_it); | ||
255 | extern LCRYPTO_USED(DIST_POINT_it); | ||
256 | extern LCRYPTO_USED(DIST_POINT_NAME_it); | ||
257 | extern LCRYPTO_USED(DIST_POINT_it); | ||
258 | extern LCRYPTO_USED(ISSUING_DIST_POINT_it); | ||
259 | extern LCRYPTO_USED(ACCESS_DESCRIPTION_it); | ||
260 | extern LCRYPTO_USED(AUTHORITY_INFO_ACCESS_it); | ||
261 | extern LCRYPTO_USED(POLICY_MAPPING_it); | ||
262 | extern LCRYPTO_USED(POLICY_MAPPINGS_it); | ||
263 | extern LCRYPTO_USED(GENERAL_SUBTREE_it); | ||
264 | extern LCRYPTO_USED(NAME_CONSTRAINTS_it); | ||
265 | extern LCRYPTO_USED(POLICY_CONSTRAINTS_it); | ||
266 | extern LCRYPTO_USED(ASRange_it); | ||
267 | extern LCRYPTO_USED(ASIdOrRange_it); | ||
268 | extern LCRYPTO_USED(ASIdentifierChoice_it); | ||
269 | extern LCRYPTO_USED(ASIdentifiers_it); | ||
270 | extern LCRYPTO_USED(IPAddressRange_it); | ||
271 | extern LCRYPTO_USED(IPAddressOrRange_it); | ||
272 | extern LCRYPTO_USED(IPAddressChoice_it); | ||
273 | extern LCRYPTO_USED(IPAddressFamily_it); | ||
274 | #endif | ||
275 | |||
276 | #endif /* _LIBCRYPTO_X509V3_H */ | ||