summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/Makefile1045
-rw-r--r--src/lib/libssl/crypto/Makefile124
-rw-r--r--src/lib/libssl/crypto/arch/alpha/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/hppa/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/i386/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/m68k/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/m88k/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/mips/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/powerpc/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/sparc/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/sparc64/opensslconf.h180
-rw-r--r--src/lib/libssl/crypto/arch/vax/opensslconf.h180
-rw-r--r--src/lib/libssl/man/Makefile898
-rw-r--r--src/lib/libssl/ssl/Makefile4
14 files changed, 2806 insertions, 1065 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile
index 3752563fc2..80fb532c3c 100644
--- a/src/lib/libssl/Makefile
+++ b/src/lib/libssl/Makefile
@@ -1,1046 +1,6 @@
1# Build wrapper for OpenSSL 1# $OpenBSD: Makefile,v 1.13 2002/09/03 18:59:55 markus Exp $
2# $OpenBSD: Makefile,v 1.12 2002/08/30 15:08:11 markus Exp $
3 2
4# Our lndir is hacked; specify a full path to avoid potential conflicts 3SUBDIR=crypto ssl man
5# with the one installed with X11.
6LNDIR= /usr/bin/lndir
7
8# Figure out what flag we use to OpenSSL's configure. This
9# needs to be tested on all architectures.
10
11SSL_SRC=src
12OPENSSLDIR= /etc/ssl
13SSLCONF= --openssldir="${OPENSSLDIR}" OpenBSD-${MACHINE_ARCH}
14
15MUNGEDFILES= \
16 ${.OBJDIR}/${SSL_SRC}/Makefile \
17 ${.OBJDIR}/${SSL_SRC}/Makefile.ssl \
18 ${.OBJDIR}/${SSL_SRC}/apps/CA.pl \
19 ${.OBJDIR}/${SSL_SRC}/apps/CA.pl.bak \
20 ${.OBJDIR}/${SSL_SRC}/apps/Makefile \
21 ${.OBJDIR}/${SSL_SRC}/apps/der_chop \
22 ${.OBJDIR}/${SSL_SRC}/crypto/Makefile \
23 ${.OBJDIR}/${SSL_SRC}/crypto/aes/Makefile \
24 ${.OBJDIR}/${SSL_SRC}/crypto/asn1/Makefile \
25 ${.OBJDIR}/${SSL_SRC}/crypto/bf/Makefile \
26 ${.OBJDIR}/${SSL_SRC}/crypto/bio/Makefile \
27 ${.OBJDIR}/${SSL_SRC}/crypto/bn/Makefile \
28 ${.OBJDIR}/${SSL_SRC}/crypto/buffer/Makefile \
29 ${.OBJDIR}/${SSL_SRC}/crypto/cast/Makefile \
30 ${.OBJDIR}/${SSL_SRC}/crypto/comp/Makefile \
31 ${.OBJDIR}/${SSL_SRC}/crypto/conf/Makefile \
32 ${.OBJDIR}/${SSL_SRC}/crypto/des/Makefile \
33 ${.OBJDIR}/${SSL_SRC}/crypto/des/asm/perlasm \
34 ${.OBJDIR}/${SSL_SRC}/crypto/dh/Makefile \
35 ${.OBJDIR}/${SSL_SRC}/crypto/dsa/Makefile \
36 ${.OBJDIR}/${SSL_SRC}/crypto/dso/Makefile \
37 ${.OBJDIR}/${SSL_SRC}/crypto/ec/Makefile \
38 ${.OBJDIR}/${SSL_SRC}/crypto/engine/Makefile \
39 ${.OBJDIR}/${SSL_SRC}/crypto/err/Makefile \
40 ${.OBJDIR}/${SSL_SRC}/crypto/evp/Makefile \
41 ${.OBJDIR}/${SSL_SRC}/crypto/hmac/Makefile \
42 ${.OBJDIR}/${SSL_SRC}/crypto/idea/Makefile \
43 ${.OBJDIR}/${SSL_SRC}/crypto/krb5/Makefile \
44 ${.OBJDIR}/${SSL_SRC}/crypto/lhash/Makefile \
45 ${.OBJDIR}/${SSL_SRC}/crypto/md2/Makefile \
46 ${.OBJDIR}/${SSL_SRC}/crypto/md4/Makefile \
47 ${.OBJDIR}/${SSL_SRC}/crypto/md5/Makefile \
48 ${.OBJDIR}/${SSL_SRC}/crypto/mdc2/Makefile \
49 ${.OBJDIR}/${SSL_SRC}/crypto/objects/Makefile \
50 ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h \
51 ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h \
52 ${.OBJDIR}/${SSL_SRC}/crypto/ocsp/Makefile \
53 ${.OBJDIR}/${SSL_SRC}/crypto/opensslconf.h \
54 ${.OBJDIR}/${SSL_SRC}/crypto/pem/Makefile \
55 ${.OBJDIR}/${SSL_SRC}/crypto/pkcs12/Makefile \
56 ${.OBJDIR}/${SSL_SRC}/crypto/pkcs7/Makefile \
57 ${.OBJDIR}/${SSL_SRC}/crypto/rand/Makefile \
58 ${.OBJDIR}/${SSL_SRC}/crypto/rc2/Makefile \
59 ${.OBJDIR}/${SSL_SRC}/crypto/rc4/Makefile \
60 ${.OBJDIR}/${SSL_SRC}/crypto/rc5/Makefile \
61 ${.OBJDIR}/${SSL_SRC}/crypto/ripemd/Makefile \
62 ${.OBJDIR}/${SSL_SRC}/crypto/rsa/Makefile \
63 ${.OBJDIR}/${SSL_SRC}/crypto/sha/Makefile \
64 ${.OBJDIR}/${SSL_SRC}/crypto/stack/Makefile \
65 ${.OBJDIR}/${SSL_SRC}/crypto/txt_db/Makefile \
66 ${.OBJDIR}/${SSL_SRC}/crypto/ui/Makefile \
67 ${.OBJDIR}/${SSL_SRC}/crypto/x509/Makefile \
68 ${.OBJDIR}/${SSL_SRC}/crypto/x509v3/Makefile \
69 ${.OBJDIR}/${SSL_SRC}/ssl/Makefile \
70 ${.OBJDIR}/${SSL_SRC}/test/Makefile \
71 ${.OBJDIR}/${SSL_SRC}/test/bftest.c \
72 ${.OBJDIR}/${SSL_SRC}/test/bntest.c \
73 ${.OBJDIR}/${SSL_SRC}/test/casttest.c \
74 ${.OBJDIR}/${SSL_SRC}/test/destest.c \
75 ${.OBJDIR}/${SSL_SRC}/test/dhtest.c \
76 ${.OBJDIR}/${SSL_SRC}/test/dsatest.c \
77 ${.OBJDIR}/${SSL_SRC}/test/ectest.c \
78 ${.OBJDIR}/${SSL_SRC}/test/evp_test.c \
79 ${.OBJDIR}/${SSL_SRC}/test/evptests.txt \
80 ${.OBJDIR}/${SSL_SRC}/test/exptest.c \
81 ${.OBJDIR}/${SSL_SRC}/test/hmactest.c \
82 ${.OBJDIR}/${SSL_SRC}/test/ideatest.c \
83 ${.OBJDIR}/${SSL_SRC}/test/md2test.c \
84 ${.OBJDIR}/${SSL_SRC}/test/md5test.c \
85 ${.OBJDIR}/${SSL_SRC}/test/mdc2test.c \
86 ${.OBJDIR}/${SSL_SRC}/test/randtest.c \
87 ${.OBJDIR}/${SSL_SRC}/test/rc2test.c \
88 ${.OBJDIR}/${SSL_SRC}/test/rc4test.c \
89 ${.OBJDIR}/${SSL_SRC}/test/rc5test.c \
90 ${.OBJDIR}/${SSL_SRC}/test/rmdtest.c \
91 ${.OBJDIR}/${SSL_SRC}/test/sha1test.c \
92 ${.OBJDIR}/${SSL_SRC}/test/shatest.c \
93 ${.OBJDIR}/${SSL_SRC}/test/ssltest.c \
94 ${.OBJDIR}/${SSL_SRC}/tools/Makefile \
95 ${.OBJDIR}/${SSL_SRC}/tools/c_rehash \
96 ${.OBJDIR}/BUF_MEM_new.pm \
97 ${.OBJDIR}/CRYPTO_set_locking_callback.pm \
98 ${.OBJDIR}/HMAC.pm \
99 ${.OBJDIR}/MD5.pm \
100 ${.OBJDIR}/MDC2.pm \
101 ${.OBJDIR}/RC4.pm \
102 ${.OBJDIR}/RIPEMD160.pm \
103 ${.OBJDIR}/SHA1.pm \
104 ${.OBJDIR}/des_random_key.pm
105
106.include <bsd.own.mk> # for NOMAN
107
108.ifndef NOMAN
109MANALL= \
110 BN_CTX_new.cat3 \
111 BN_CTX_start.cat3 \
112 BN_add.cat3 \
113 BN_add_word.cat3 \
114 BN_bn2bin.cat3 \
115 BN_cmp.cat3 \
116 BN_copy.cat3 \
117 BN_generate_prime.cat3 \
118 BN_mod_inverse.cat3 \
119 BN_mod_mul_montgomery.cat3 \
120 BN_mod_mul_reciprocal.cat3 \
121 BN_new.cat3 \
122 BN_num_bytes.cat3 \
123 BN_rand.cat3 \
124 BN_set_bit.cat3 \
125 BN_swap.cat3 \
126 BN_zero.cat3 \
127 BUF_MEM_new.cat3 \
128 BUF_MEM_new.cat3 \
129 CRYPTO_set_ex_data.cat3 \
130 CRYPTO_set_locking_callback.cat3 \
131 DH_generate_key.cat3 \
132 DH_generate_parameters.cat3 \
133 DH_get_ex_new_index.cat3 \
134 DH_new.cat3 \
135 DH_set_method.cat3 \
136 DH_size.cat3 \
137 DSA_SIG_new.cat3 \
138 DSA_do_sign.cat3 \
139 DSA_dup_DH.cat3 \
140 DSA_generate_key.cat3 \
141 DSA_generate_parameters.cat3 \
142 DSA_get_ex_new_index.cat3 \
143 DSA_new.cat3 \
144 DSA_set_method.cat3 \
145 DSA_sign.cat3 \
146 DSA_size.cat3 \
147 ERR_GET_LIB.cat3 \
148 ERR_clear_error.cat3 \
149 ERR_error_string.cat3 \
150 ERR_get_error.cat3 \
151 ERR_load_crypto_strings.cat3 \
152 ERR_load_strings.cat3 \
153 ERR_print_errors.cat3 \
154 ERR_put_error.cat3 \
155 ERR_remove_state.cat3 \
156 EVP_BytesToKey.cat3 \
157 EVP_DigestInit.cat3 \
158 EVP_EncryptInit.cat3 \
159 EVP_OpenInit.cat3 \
160 EVP_SealInit.cat3 \
161 EVP_SignInit.cat3 \
162 EVP_VerifyInit.cat3 \
163 HMAC.cat3 \
164 MD5.cat3 \
165 MDC2.cat3 \
166 OPENSSL_VERSION_NUMBER.cat3 \
167 OpenSSL_add_all_algorithms.cat3 \
168 RAND_add.cat3 \
169 RAND_bytes.cat3 \
170 RAND_cleanup.cat3 \
171 RAND_egd.cat3 \
172 RAND_load_file.cat3 \
173 RAND_set_rand_method.cat3 \
174 RC4.cat3 \
175 RIPEMD160.cat3 \
176 RSA_blinding_on.cat3 \
177 RSA_check_key.cat3 \
178 RSA_generate_key.cat3 \
179 RSA_get_ex_new_index.cat3 \
180 RSA_new.cat3 \
181 RSA_padding_add_PKCS1_type_1.cat3 \
182 RSA_print.cat3 \
183 RSA_private_encrypt.cat3 \
184 RSA_public_encrypt.cat3 \
185 RSA_set_method.cat3 \
186 RSA_sign.cat3 \
187 RSA_sign_ASN1_OCTET_STRING.cat3 \
188 RSA_size.cat3 \
189 SHA1.cat3 \
190 SSL_CIPHER_get_name.cat3 \
191 SSL_COMP_add_compression_method.cat3 \
192 SSL_CTX_add_extra_chain_cert.cat3 \
193 SSL_CTX_add_session.cat3 \
194 SSL_CTX_ctrl.cat3 \
195 SSL_CTX_flush_sessions.cat3 \
196 SSL_CTX_free.cat3 \
197 SSL_CTX_get_ex_new_index.cat3 \
198 SSL_CTX_get_verify_mode.cat3 \
199 SSL_CTX_load_verify_locations.cat3 \
200 SSL_CTX_new.cat3 \
201 SSL_CTX_sess_number.cat3 \
202 SSL_CTX_sess_set_cache_size.cat3 \
203 SSL_CTX_sess_set_get_cb.cat3 \
204 SSL_CTX_sessions.cat3 \
205 SSL_CTX_set_cert_store.cat3 \
206 SSL_CTX_set_cert_verify_callback.cat3 \
207 SSL_CTX_set_cipher_list.cat3 \
208 SSL_CTX_set_client_CA_list.cat3 \
209 SSL_CTX_set_client_cert_cb.cat3 \
210 SSL_CTX_set_default_passwd_cb.cat3 \
211 SSL_CTX_set_generate_session_id.cat3 \
212 SSL_CTX_set_info_callback.cat3 \
213 SSL_CTX_set_max_cert_list.cat3 \
214 SSL_CTX_set_mode.cat3 \
215 SSL_CTX_set_msg_callback.cat3 \
216 SSL_CTX_set_options.cat3 \
217 SSL_CTX_set_quiet_shutdown.cat3 \
218 SSL_CTX_set_session_cache_mode.cat3 \
219 SSL_CTX_set_session_id_context.cat3 \
220 SSL_CTX_set_ssl_version.cat3 \
221 SSL_CTX_set_timeout.cat3 \
222 SSL_CTX_set_tmp_dh_callback.cat3 \
223 SSL_CTX_set_tmp_rsa_callback.cat3 \
224 SSL_CTX_set_verify.cat3 \
225 SSL_CTX_use_certificate.cat3 \
226 SSL_SESSION_free.cat3 \
227 SSL_SESSION_get_ex_new_index.cat3 \
228 SSL_SESSION_get_time.cat3 \
229 SSL_accept.cat3 \
230 SSL_alert_type_string.cat3 \
231 SSL_clear.cat3 \
232 SSL_connect.cat3 \
233 SSL_free.cat3 \
234 SSL_get_SSL_CTX.cat3 \
235 SSL_get_ciphers.cat3 \
236 SSL_get_client_CA_list.cat3 \
237 SSL_get_current_cipher.cat3 \
238 SSL_get_default_timeout.cat3 \
239 SSL_get_error.cat3 \
240 SSL_get_ex_data_X509_STORE_CTX_idx.cat3 \
241 SSL_get_ex_new_index.cat3 \
242 SSL_get_fd.cat3 \
243 SSL_get_peer_cert_chain.cat3 \
244 SSL_get_peer_certificate.cat3 \
245 SSL_get_rbio.cat3 \
246 SSL_get_session.cat3 \
247 SSL_get_verify_result.cat3 \
248 SSL_get_version.cat3 \
249 SSL_library_init.cat3 \
250 SSL_load_client_CA_file.cat3 \
251 SSL_new.cat3 \
252 SSL_pending.cat3 \
253 SSL_read.cat3 \
254 SSL_rstate_string.cat3 \
255 SSL_session_reused.cat3 \
256 SSL_set_bio.cat3 \
257 SSL_set_connect_state.cat3 \
258 SSL_set_fd.cat3 \
259 SSL_set_session.cat3 \
260 SSL_set_shutdown.cat3 \
261 SSL_set_verify_result.cat3 \
262 SSL_shutdown.cat3 \
263 SSL_state_string.cat3 \
264 SSL_want.cat3 \
265 SSL_write.cat3 \
266 blowfish.cat3 \
267 bn.cat3 \
268 bn_internal.cat3 \
269 crypto.cat3 \
270 d2i_DHparams.cat3 \
271 d2i_RSAPublicKey.cat3 \
272 d2i_SSL_SESSION.cat3 \
273 des_modes.cat7 \
274 des_random_key.cat3 \
275 dh.cat3 \
276 dsa.cat3 \
277 lh_stats.cat3 \
278 lhash.cat3 \
279 openssl.cat1 \
280 rsa.cat3 \
281 ssl.cat3
282
283.if MANPS
284PSALL= ${MANALL:S/.cat1/.ps1/g:S/.cat2/.ps2/g:S/.cat3/.ps3/g:S/.cat4/.ps4/g:S/.cat5/.ps5/g:S/.cat6/.ps6/g:S/.cat7/.ps7/g:S/.cat8/.ps8/g:S/.cat9/.ps9/g}
285.endif
286
287# these are is a real problem, since they re-document functions described in
288# other pages.
289#
290# err.pod -> ERR_get_error.pod
291# ERR_peek_error ERR_get_error_line
292# ERR_peek_error_line ERR_get_error_line_data ERR_peek_error_line_data
293# ERR_GET_LIB ERR_GET_FUNC ERR_GET_REASON ERR_clear_error ERR_error_string
294# ERR_lib_error_string ERR_func_error_string ERR_reason_error_string
295# ERR_print_errors ERR_print_errors_fp ERR_load_crypto_strings ERR_free_strings
296# ERR_remove_state ERR_put_error ERR_add_error_data ERR_load_strings ERR_PACK
297# ERR_get_next_error_library
298#
299# rand.pod -> RAND_bytes.pod
300# RAND_pseudo_bytes RAND_seed RAND_add RAND_status RAND_event
301# RAND_screen RAND_load_file RAND_write_file RAND_file_name RAND_egd
302# RAND_set_rand_method RAND_get_rand_method RAND_SSLeay RAND_cleanup
303
304# buffer.pod -> BUF_MEM_new.pod
305# BUF_MEM_free BUF_MEM_grow BUF_strdup
306BUF_MEM_new.cat3: buffer.pod
307 ( cp ${.ALLSRC} BUF_MEM_new.pm && pod2man --section=3 --official \
308 --center='OpenSSL' --release="OpenBSD `uname -r`" \
309 BUF_MEM_new.pm ) | nroff -Tascii -man > ${.TARGET}
310.if MANPS
311BUF_MEM_new.ps3: buffer.pod
312 ( cp ${.ALLSRC} BUF_MEM_new.pm && pod2man --section=3 --official \
313 --center='OpenSSL' --release="OpenBSD `uname -r`" \
314 BUF_MEM_new.pm ) | nroff -Tps -man > ${.TARGET}
315.endif
316
317# rc4.pod -> RC4.pod
318# RC4_set_key
319RC4.cat3: rc4.pod
320 ( cp ${.ALLSRC} RC4.pm && pod2man --section=3 --official \
321 --center='OpenSSL' --release="OpenBSD `uname -r`" \
322 RC4.pm ) | nroff -Tascii -man > ${.TARGET}
323.if MANPS
324RC4.ps3: rc4.pod
325 ( cp ${.ALLSRC} RC4.pm && pod2man --section=3 --official \
326 --center='OpenSSL' --release="OpenBSD `uname -r`" \
327 RC4.pm ) | nroff -Tps -man > ${.TARGET}
328.endif
329
330# threads.pod -> CRYPTO_set_locking_callback.pod
331# CRYPTO_set_id_callback CRYPTO_num_locks
332CRYPTO_set_locking_callback.cat3: threads.pod
333 ( cp ${.ALLSRC} CRYPTO_set_locking_callback.pm && \
334 pod2man --section=3 --official \
335 --center='OpenSSL' --release="OpenBSD `uname -r`" \
336 CRYPTO_set_locking_callback.pm ) | nroff -Tascii -man > ${.TARGET}
337.if MANPS
338CRYPTO_set_locking_callback.ps3: threads.pod
339 ( cp ${.ALLSRC} CRYPTO_set_locking_callback.pm && \
340 pod2man --section=3 --official \
341 --center='OpenSSL' --release="OpenBSD `uname -r`" \
342 CRYPTO_set_locking_callback.pm ) | nroff -Tps -man > ${.TARGET}
343.endif
344
345# ripemd.pod -> RIPEMD160.pod
346# RIPEMD160_Init RIPEMD160_Update RIPEMD160_Final
347RIPEMD160.cat3: ripemd.pod
348 ( cp ${.ALLSRC} RIPEMD160.pm && pod2man --section=3 --official \
349 --center='OpenSSL' --release="OpenBSD `uname -r`" \
350 RIPEMD160.pm ) | nroff -Tascii -man > ${.TARGET}
351.if MANPS
352RIPEMD160.ps3: ripemd.pod
353 ( cp ${.ALLSRC} RIPEMD160.pm && pod2man --section=3 --official \
354 --center='OpenSSL' --release="OpenBSD `uname -r`" \
355 RIPEMD160.pm ) | nroff -Tps -man > ${.TARGET}
356.endif
357
358# sha.pod -> SHA1.pod
359SHA1.cat3: sha.pod
360 ( cp ${.ALLSRC} SHA1.pm && pod2man --section=3 --official \
361 --center='OpenSSL' --release="OpenBSD `uname -r`" \
362 SHA1.pm ) | nroff -Tascii -man > ${.TARGET}
363.if MANPS
364SHA1.ps3: sha.pod
365 ( cp ${.ALLSRC} SHA1.pm && pod2man --section=3 --official \
366 --center='OpenSSL' --release="OpenBSD `uname -r`" \
367 SHA1.pm ) | nroff -Tps -man > ${.TARGET}
368.endif
369
370# md5.pod -> MD5.pod
371MD5.cat3: md5.pod
372 ( cp ${.ALLSRC} MD5.pm && pod2man --section=3 --official \
373 --center='OpenSSL' --release="OpenBSD `uname -r`" \
374 MD5.pm ) | nroff -Tascii -man > ${.TARGET}
375.if MANPS
376MD5.ps3: md5.pod
377 ( cp ${.ALLSRC} MD5.pm && pod2man --section=3 --official \
378 --center='OpenSSL' --release="OpenBSD `uname -r`" \
379 MD5.pm ) | nroff -Tps -man > ${.TARGET}
380.endif
381
382# mdc2.pod -> MDC2.pod
383MDC2.cat3: mdc2.pod
384 ( cp ${.ALLSRC} MDC2.pm && pod2man --section=3 --official \
385 --center='OpenSSL' --release="OpenBSD `uname -r`" \
386 MDC2.pm ) | nroff -Tascii -man > ${.TARGET}
387.if MANPS
388MDC2.ps3: mdc2.pod
389 ( cp ${.ALLSRC} MDC2.pm && pod2man --section=3 --official \
390 --center='OpenSSL' --release="OpenBSD `uname -r`" \
391 MDC2.pm ) | nroff -Tps -man > ${.TARGET}
392.endif
393
394# hmac.pod -> HMAC.pod
395HMAC.cat3: hmac.pod
396 ( cp ${.ALLSRC} HMAC.pm && pod2man --section=3 --official \
397 --center='OpenSSL' --release="OpenBSD `uname -r`" \
398 HMAC.pm ) | nroff -Tascii -man > ${.TARGET}
399.if MANPS
400HMAC.ps3: hmac.pod
401 ( cp ${.ALLSRC} HMAC.pm && pod2man --section=3 --official \
402 --center='OpenSSL' --release="OpenBSD `uname -r`" \
403 HMAC.pm ) | nroff -Tps -man > ${.TARGET}
404.endif
405
406# des.pod -> des_random_key, des_set_key, des_key_sched, des_set_key_checked,
407# des_set_key_unchecked, des_set_odd_parity, des_is_weak_key, des_ecb_encrypt,
408# des_ecb2_encrypt, des_ecb3_encrypt, des_ncbc_encrypt, des_cfb_encrypt,
409# des_ofb_encrypt, des_pcbc_encrypt, des_cfb64_encrypt, des_ofb64_encrypt,
410# des_xcbc_encrypt, des_ede2_cbc_encrypt, des_ede2_cfb64_encrypt,
411# des_ede2_ofb64_encrypt, des_ede3_cbc_encrypt, des_ede3_cbcm_encrypt,
412# des_ede3_cfb64_encrypt, des_ede3_ofb64_encrypt, des_read_password,
413# des_read_2passwords, des_read_pw_string, des_cbc_cksum, des_quad_cksum,
414# des_string_to_key, des_string_to_2keys, des_fcrypt, des_crypt,
415# des_enc_read, des_enc_write
416des_random_key.cat3: des.pod
417 ( cp ${.ALLSRC} des_random_key.pm && pod2man --section=3 --official \
418 --center='OpenSSL' --release="OpenBSD `uname -r`" \
419 des_random_key.pm ) | nroff -Tascii -man > ${.TARGET}
420.if MANPS
421des_random_key.ps3: des.pod
422 ( cp ${.ALLSRC} des_random_key.pm && pod2man --section=3 --official \
423 --center='OpenSSL' --release="OpenBSD `uname -r`" \
424 des_random_key.pm ) | nroff -Tps -man > ${.TARGET}
425.endif
426
427MLINKS+=\
428 BN_CTX_new.3 BN_CTX_free.3 \
429 BN_CTX_new.3 BN_CTX_init.3 \
430 BN_CTX_start.3 BN_CTX_end.3 \
431 BN_CTX_start.3 BN_CTX_get.3 \
432 BN_add.3 BN_div.3 \
433 BN_add.3 BN_exp.3 \
434 BN_add.3 BN_gcd.3 \
435 BN_add.3 BN_mod.3 \
436 BN_add.3 BN_mod_exp.3 \
437 BN_add.3 BN_mod_mul.3 \
438 BN_add.3 BN_mul.3 \
439 BN_add.3 BN_sqr.3 \
440 BN_add.3 BN_sub.3 \
441 BN_add_word.3 BN_div_word.3 \
442 BN_add_word.3 BN_mod_word.3 \
443 BN_add_word.3 BN_mul_word.3 \
444 BN_add_word.3 BN_sub_word.3 \
445 BN_bn2bin.3 BN_bin2bn.3 \
446 BN_bn2bin.3 BN_bn2dec.3 \
447 BN_bn2bin.3 BN_bn2hex.3 \
448 BN_bn2bin.3 BN_bn2mpi.3 \
449 BN_bn2bin.3 BN_dec2bn.3 \
450 BN_bn2bin.3 BN_hex2bn.3 \
451 BN_bn2bin.3 BN_mpi2bn.3 \
452 BN_bn2bin.3 BN_print.3 \
453 BN_bn2bin.3 BN_print_fp.3 \
454 BN_cmp.3 BN_is_odd.3 \
455 BN_cmp.3 BN_is_one.3 \
456 BN_cmp.3 BN_is_word.3 \
457 BN_cmp.3 BN_is_zero.3 \
458 BN_cmp.3 BN_ucmp.3 \
459 BN_copy.3 BN_dup.3 \
460 BN_generate_prime.3 BN_is_prime.3 \
461 BN_generate_prime.3 BN_is_prime_fasttest.3 \
462 BN_mod_mul_montgomery.3 BN_MONT_CTX_copy.3 \
463 BN_mod_mul_montgomery.3 BN_MONT_CTX_free.3 \
464 BN_mod_mul_montgomery.3 BN_MONT_CTX_init.3 \
465 BN_mod_mul_montgomery.3 BN_MONT_CTX_new.3 \
466 BN_mod_mul_montgomery.3 BN_MONT_CTX_set.3 \
467 BN_mod_mul_montgomery.3 BN_from_montgomery.3 \
468 BN_mod_mul_montgomery.3 BN_to_montgomery.3 \
469 BN_mod_mul_reciprocal.3 BN_RECP_CTX_free.3 \
470 BN_mod_mul_reciprocal.3 BN_RECP_CTX_init.3 \
471 BN_mod_mul_reciprocal.3 BN_RECP_CTX_new.3 \
472 BN_mod_mul_reciprocal.3 BN_RECP_CTX_set.3 \
473 BN_mod_mul_reciprocal.3 BN_div_recp.3 \
474 BN_new.3 BN_clear.3 \
475 BN_new.3 BN_clear_free.3 \
476 BN_new.3 BN_free.3 \
477 BN_new.3 BN_init.3 \
478 BN_num_bytes.3 BN_num_bits.3 \
479 BN_num_bytes.3 BN_num_bits_word.3 \
480 BN_rand.3 BN_pseudo_rand.3 \
481 BN_rand.3 BN_rand_range.3 \
482 BN_set_bit.3 BN_clear_bit.3 \
483 BN_set_bit.3 BN_is_bit_set.3 \
484 BN_set_bit.3 BN_lshift.3 \
485 BN_set_bit.3 BN_lshift1.3 \
486 BN_set_bit.3 BN_mask_bits.3 \
487 BN_set_bit.3 BN_rshift.3 \
488 BN_set_bit.3 BN_rshift1.3 \
489 BN_zero.3 BN_get_word.3 \
490 BN_zero.3 BN_one.3 \
491 BN_zero.3 BN_set_word.3 \
492 BN_zero.3 BN_value_one.3 \
493 BUF_MEM_new.3 BUF_MEM_free.3 \
494 BUF_MEM_new.3 BUF_MEM_grow.3 \
495 BUF_MEM_new.3 BUF_strdup.3 \
496 CRYPTO_set_ex_data.3 CRYPTO_get_ex_data.3 \
497 CRYPTO_set_locking_callback.3 CRYPTO_add.3 \
498 CRYPTO_set_locking_callback.3 CRYPTO_add_lock.3 \
499 CRYPTO_set_locking_callback.3 CRYPTO_destroy_dynlockid.3 \
500 CRYPTO_set_locking_callback.3 CRYPTO_get_new_dynlockid.3 \
501 CRYPTO_set_locking_callback.3 CRYPTO_lock.3 \
502 CRYPTO_set_locking_callback.3 CRYPTO_num_locks.3 \
503 CRYPTO_set_locking_callback.3 CRYPTO_r_lock.3 \
504 CRYPTO_set_locking_callback.3 CRYPTO_r_unlock.3 \
505 CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_create_callback.3 \
506 CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_destroy_callback.3 \
507 CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_lock_callback.3 \
508 CRYPTO_set_locking_callback.3 CRYPTO_set_id_callback.3 \
509 CRYPTO_set_locking_callback.3 CRYPTO_w_lock.3 \
510 CRYPTO_set_locking_callback.3 CRYPTO_w_unlock.3 \
511 DH_generate_key.3 DH_compute_key.3 \
512 DH_generate_parameters.3 DH_check.3 \
513 DH_get_ex_new_index.3 DH_get_ex_data.3 \
514 DH_get_ex_new_index.3 DH_set_ex_data.3 \
515 DH_new.3 DH_free.3 \
516 DH_set_method.3 DH_OpenSSL.3 \
517 DH_set_method.3 DH_get_default_method.3 \
518 DH_set_method.3 DH_get_default_openssl_method.3 \
519 DH_set_method.3 DH_new_method.3 \
520 DH_set_method.3 DH_set_default_method.3 \
521 DH_set_method.3 DH_set_default_openssl_method.3 \
522 DSA_new.3 DSA_free.3 \
523 DSA_set_method.3 DSA_OpenSSL.3 \
524 DSA_set_method.3 DSA_get_default_method.3 \
525 DSA_set_method.3 DSA_get_default_openssl_method.3 \
526 DSA_set_method.3 DSA_new_method.3 \
527 DSA_set_method.3 DSA_set_default_method.3 \
528 DSA_set_method.3 DSA_set_default_openssl_method.3 \
529 DSA_sign.3 DSA_sign_setup.3 \
530 DSA_sign.3 DSA_verify.3 \
531 ERR_GET_LIB.3 ERR_GET_FUNC.3 \
532 ERR_GET_LIB.3 ERR_GET_REASON.3 \
533 ERR_error_string.3 ERR_error_string_n.3 \
534 ERR_error_string.3 ERR_func_error_string.3 \
535 ERR_error_string.3 ERR_lib_error_string.3 \
536 ERR_error_string.3 ERR_reason_error_string.3 \
537 ERR_get_error.3 ERR_get_error_line.3 \
538 ERR_get_error.3 ERR_get_error_line_data.3 \
539 ERR_get_error.3 ERR_peek_error.3 \
540 ERR_get_error.3 ERR_peek_error_line.3 \
541 ERR_get_error.3 ERR_peek_error_line_data.3 \
542 ERR_load_crypto_strings.3 ERR_free_strings.3 \
543 ERR_load_crypto_strings.3 SSL_load_error_strings.3 \
544 ERR_load_strings.3 ERR_PACK.3 \
545 ERR_load_strings.3 ERR_get_next_error_library.3 \
546 ERR_print_errors.3 ERR_print_errors_fp.3 \
547 ERR_put_error.3 ERR_add_error_data.3 \
548 EVP_DigestInit.3 EVP_DigestFinal.3 \
549 EVP_DigestInit.3 EVP_DigestUpdate.3 \
550 EVP_DigestInit.3 EVP_MD_CTX_block_size.3 \
551 EVP_DigestInit.3 EVP_MD_CTX_copy.3 \
552 EVP_DigestInit.3 EVP_MD_CTX_md.3 \
553 EVP_DigestInit.3 EVP_MD_CTX_size.3 \
554 EVP_DigestInit.3 EVP_MD_CTX_type.3 \
555 EVP_DigestInit.3 EVP_MD_block_size.3 \
556 EVP_DigestInit.3 EVP_MD_block_size.3 \
557 EVP_DigestInit.3 EVP_MD_pkey_type.3 \
558 EVP_DigestInit.3 EVP_MD_size.3 \
559 EVP_DigestInit.3 EVP_MD_size.3 \
560 EVP_DigestInit.3 EVP_MD_type.3 \
561 EVP_DigestInit.3 EVP_MD_type.3 \
562 EVP_DigestInit.3 EVP_dss.3 \
563 EVP_DigestInit.3 EVP_dss1.3 \
564 EVP_DigestInit.3 EVP_get_digestbyname.3 \
565 EVP_DigestInit.3 EVP_get_digestbyname.3 \
566 EVP_DigestInit.3 EVP_get_digestbynid.3 \
567 EVP_DigestInit.3 EVP_get_digestbynid.3 \
568 EVP_DigestInit.3 EVP_get_digestbyobj.3 \
569 EVP_DigestInit.3 EVP_md2.3 \
570 EVP_DigestInit.3 EVP_md5.3 \
571 EVP_DigestInit.3 EVP_md_null.3 \
572 EVP_DigestInit.3 EVP_mdc2.3 \
573 EVP_DigestInit.3 EVP_ripemd160.3 \
574 EVP_DigestInit.3 EVP_sha.3 \
575 EVP_DigestInit.3 EVP_sha1.3 \
576 EVP_DigestInit.3 OBJ_nid2sn.3 \
577 EVP_DigestInit.3 OBJ_obj2nid.3 \
578 EVP_EncryptInit.3 EVP_CIPHER_CTX_block_size.3 \
579 EVP_EncryptInit.3 EVP_CIPHER_CTX_cipher.3 \
580 EVP_EncryptInit.3 EVP_CIPHER_CTX_cipher.3 \
581 EVP_EncryptInit.3 EVP_CIPHER_CTX_cleanup.3 \
582 EVP_EncryptInit.3 EVP_CIPHER_CTX_ctrl.3 \
583 EVP_EncryptInit.3 EVP_CIPHER_CTX_iv_length.3 \
584 EVP_EncryptInit.3 EVP_CIPHER_CTX_key_length.3 \
585 EVP_EncryptInit.3 EVP_CIPHER_CTX_nid.3 \
586 EVP_EncryptInit.3 EVP_CIPHER_CTX_set_key_length.3 \
587 EVP_EncryptInit.3 EVP_CIPHER_CTX_type.3 \
588 EVP_EncryptInit.3 EVP_CIPHER_asn1_to_param.3 \
589 EVP_EncryptInit.3 EVP_CIPHER_block_size.3 \
590 EVP_EncryptInit.3 EVP_CIPHER_iv_length.3 \
591 EVP_EncryptInit.3 EVP_CIPHER_key_length.3 \
592 EVP_EncryptInit.3 EVP_CIPHER_nid.3 \
593 EVP_EncryptInit.3 EVP_CIPHER_param_to_asn1.3 \
594 EVP_EncryptInit.3 EVP_CIPHER_type.3 \
595 EVP_EncryptInit.3 EVP_CIPHER_type.3 \
596 EVP_EncryptInit.3 EVP_CipherFinal.3 \
597 EVP_EncryptInit.3 EVP_CipherInit.3 \
598 EVP_EncryptInit.3 EVP_CipherUpdate.3 \
599 EVP_EncryptInit.3 EVP_DecryptFinal.3 \
600 EVP_EncryptInit.3 EVP_DecryptInit.3 \
601 EVP_EncryptInit.3 EVP_DecryptUpdate.3 \
602 EVP_EncryptInit.3 EVP_EncryptFinal.3 \
603 EVP_EncryptInit.3 EVP_EncryptUpdate.3 \
604 EVP_EncryptInit.3 EVP_get_cipherbyname.3 \
605 EVP_EncryptInit.3 EVP_get_cipherbyname.3 \
606 EVP_EncryptInit.3 EVP_get_cipherbynid.3 \
607 EVP_EncryptInit.3 EVP_get_cipherbynid.3 \
608 EVP_EncryptInit.3 EVP_get_cipherbyobj.3 \
609 EVP_EncryptInit.3 OBJ_nid2sn.3 \
610 EVP_EncryptInit.3 OBJ_obj2nid.3 \
611 EVP_OpenInit.3 EVP_OpenFinal.3 \
612 EVP_OpenInit.3 EVP_OpenUpdate.3 \
613 EVP_SealInit.3 EVP_SealFinal.3 \
614 EVP_SealInit.3 EVP_SealUpdate.3 \
615 EVP_SignInit.3 EVP_PKEY_size.3 \
616 EVP_SignInit.3 EVP_SignFinal.3 \
617 EVP_SignInit.3 EVP_SignUpdate.3 \
618 EVP_VerifyInit.3 EVP_VerifyFinal.3 \
619 EVP_VerifyInit.3 EVP_VerifyUpdate.3 \
620 HMAC.3 HMAC_Final.3 \
621 HMAC.3 HMAC_Init.3 \
622 HMAC.3 HMAC_Update.3 \
623 HMAC.3 HMAC_cleanup.3 \
624 MD5.3 MD2.3 \
625 MD5.3 MD2_Final.3 \
626 MD5.3 MD2_Init.3 \
627 MD5.3 MD2_Update.3 \
628 MD5.3 MD4.3 \
629 MD5.3 MD4_Final.3 \
630 MD5.3 MD4_Init.3 \
631 MD5.3 MD4_Update.3 \
632 MD5.3 MD5_Final.3 \
633 MD5.3 MD5_Init.3 \
634 MD5.3 MD5_Update.3 \
635 MDC2.3 MDC2_Final.3 \
636 MDC2.3 MDC2_Init.3 \
637 MDC2.3 MDC2_Update.3 \
638 OPENSSL_VERSION_NUMBER.3 SSLeay.3 \
639 OPENSSL_VERSION_NUMBER.3 SSLeay_version.3 \
640 OpenSSL_add_all_algorithms.3 EVP_cleanup.3 \
641 OpenSSL_add_all_algorithms.3 OpenSSL_add_all_ciphers.3 \
642 OpenSSL_add_all_algorithms.3 OpenSSL_add_all_digests.3 \
643 RAND_add.3 RAND_event.3 \
644 RAND_add.3 RAND_screen.3 \
645 RAND_add.3 RAND_seed.3 \
646 RAND_add.3 RAND_status.3 \
647 RAND_bytes.3 RAND_pseudo_bytes.3 \
648 RAND_bytes.3 RAND_pseudo_bytes.3 \
649 RAND_egd.3 RAND_egd_bytes.3 \
650 RAND_load_file.3 RAND_file_name.3 \
651 RAND_load_file.3 RAND_file_name.3 \
652 RAND_load_file.3 RAND_write_file.3 \
653 RAND_load_file.3 RAND_write_file.3 \
654 RAND_set_rand_method.3 RAND_SSLeay.3 \
655 RAND_set_rand_method.3 RAND_SSLeay.3 \
656 RAND_set_rand_method.3 RAND_get_rand_method.3 \
657 RAND_set_rand_method.3 RAND_get_rand_method.3 \
658 RC4.3 RC4_set_key.3 \
659 RIPEMD160.3 RIPEMD160_Final.3 \
660 RIPEMD160.3 RIPEMD160_Init.3 \
661 RIPEMD160.3 RIPEMD160_Update.3 \
662 RSA_blinding_on.3 RSA_blinding_off.3 \
663 RSA_get_ex_new_index.3 RSA_get_ex_data.3 \
664 RSA_get_ex_new_index.3 RSA_set_ex_data.3 \
665 RSA_new.3 RSA_free.3 \
666 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_OAEP.3 \
667 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_type_2.3 \
668 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_SSLv23.3 \
669 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_none.3 \
670 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_OAEP.3 \
671 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_1.3 \
672 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_2.3 \
673 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_SSLv23.3 \
674 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_none.3 \
675 RSA_print.3 DHparams_print.3 \
676 RSA_print.3 DHparams_print.3 \
677 RSA_print.3 DHparams_print_fp.3 \
678 RSA_print.3 DHparams_print_fp.3 \
679 RSA_print.3 DSA_print.3 \
680 RSA_print.3 DSA_print_fp.3 \
681 RSA_print.3 DSA_print_fp.3 \
682 RSA_print.3 DSAparams_print.3 \
683 RSA_print.3 DSAparams_print.3 \
684 RSA_print.3 DSAparams_print_fp.3 \
685 RSA_print.3 DSAparams_print_fp.3 \
686 RSA_print.3 RSA_print_fp.3 \
687 RSA_print.3 RSA_print_fp.3 \
688 RSA_private_encrypt.3 RSA_public_decrypt.3 \
689 RSA_public_encrypt.3 RSA_private_decrypt.3 \
690 RSA_set_method.3 RSA_PKCS1_RSAref.3 \
691 RSA_set_method.3 RSA_PKCS1_SSLeay.3 \
692 RSA_set_method.3 RSA_flags.3 \
693 RSA_set_method.3 RSA_get_default_method.3 \
694 RSA_set_method.3 RSA_get_default_openssl_method.3 \
695 RSA_set_method.3 RSA_get_method.3 \
696 RSA_set_method.3 RSA_new_method.3 \
697 RSA_set_method.3 RSA_null_method.3 \
698 RSA_set_method.3 RSA_set_default_method.3 \
699 RSA_set_method.3 RSA_set_default_openssl_method.3 \
700 RSA_sign.3 RSA_verify.3 \
701 RSA_sign_ASN1_OCTET_STRING.3 RSA_verify_ASN1_OCTET_STRING.3 \
702 SHA1.3 SHA1_Final.3 \
703 SHA1.3 SHA1_Init.3 \
704 SHA1.3 SHA1_Update.3 \
705 SSL_CIPHER_get_name.3 SSL_CIPHER_description.3 \
706 SSL_CIPHER_get_name.3 SSL_CIPHER_get_bits.3 \
707 SSL_CIPHER_get_name.3 SSL_CIPHER_get_version.3 \
708 SSL_CTX_add_session.3 SSL_CTX_remove_session.3 \
709 SSL_CTX_add_session.3 SSL_add_session.3 \
710 SSL_CTX_add_session.3 SSL_remove_session.3 \
711 SSL_CTX_ctrl.3 SSL_CTX_callback_ctrl.3 \
712 SSL_CTX_ctrl.3 SSL_callback_ctrl.3 \
713 SSL_CTX_ctrl.3 SSL_ctrl.3 \
714 SSL_CTX_flush_sessions.3 SSL_flush_sessions.3 \
715 SSL_CTX_get_ex_new_index.3 SSL_CTX_get_ex_data.3 \
716 SSL_CTX_get_ex_new_index.3 SSL_CTX_set_ex_data.3 \
717 SSL_CTX_get_verify_mode.3 SSL_CTX_get_verify_callback.3 \
718 SSL_CTX_get_verify_mode.3 SSL_CTX_get_verify_depth.3 \
719 SSL_CTX_get_verify_mode.3 SSL_get_verify_callback.3 \
720 SSL_CTX_get_verify_mode.3 SSL_get_verify_depth.3 \
721 SSL_CTX_get_verify_mode.3 SSL_get_verify_mode.3 \
722 SSL_CTX_sess_number.3 SSL_CTX_sess_accept.3 \
723 SSL_CTX_sess_number.3 SSL_CTX_sess_accept_good.3 \
724 SSL_CTX_sess_number.3 SSL_CTX_sess_accept_renegotiate.3 \
725 SSL_CTX_sess_number.3 SSL_CTX_sess_cache_full.3 \
726 SSL_CTX_sess_number.3 SSL_CTX_sess_cb_hits.3 \
727 SSL_CTX_sess_number.3 SSL_CTX_sess_connect.3 \
728 SSL_CTX_sess_number.3 SSL_CTX_sess_connect_good.3 \
729 SSL_CTX_sess_number.3 SSL_CTX_sess_connect_renegotiate.3 \
730 SSL_CTX_sess_number.3 SSL_CTX_sess_hits.3 \
731 SSL_CTX_sess_number.3 SSL_CTX_sess_misses.3 \
732 SSL_CTX_sess_number.3 SSL_CTX_sess_timeouts.3 \
733 SSL_CTX_sess_set_cache_size.3 SSL_CTX_sess_get_cache_size.3 \
734 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_get_get_cb.3 \
735 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_get_new_cb.3 \
736 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_get_remove_cb.3 \
737 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_set_new_cb.3 \
738 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_set_remove.3 \
739 SSL_CTX_set_cert_store.3 SSL_CTX_get_cert_store.3 \
740 SSL_CTX_set_cipher_list.3 SSL_set_cipher_list.3 \
741 SSL_CTX_set_client_CA_list.3 SSL_CTX_add_client_CA.3 \
742 SSL_CTX_set_client_CA_list.3 SSL_add_client_CA.3 \
743 SSL_CTX_set_client_CA_list.3 SSL_set_client_CA_list.3 \
744 SSL_CTX_set_default_passwd_cb.3 \
745 SSL_CTX_set_default_passwd_cb_userdata.3 \
746 SSL_CTX_set_max_cert_list.3 SSL_CTX_get_max_cert_list.3 \
747 SSL_CTX_set_max_cert_list.3 SSL_get_max_cert_list.3 \
748 SSL_CTX_set_max_cert_list.3 SSL_set_max_cert_list.3 \
749 SSL_CTX_set_mode.3 SSL_CTX_get_mode.3 \
750 SSL_CTX_set_mode.3 SSL_get_mode.3 \
751 SSL_CTX_set_mode.3 SSL_set_mode.3 \
752 SSL_CTX_set_msg_callback.3 SSL_CTX_set_msg_callback_arg.3 \
753 SSL_CTX_set_msg_callback.3 SSL_set_msg_callback.3 \
754 SSL_CTX_set_msg_callback.3 SSL_set_msg_callback_arg.3 \
755 SSL_CTX_set_options.3 SSL_CTX_get_options.3 \
756 SSL_CTX_set_options.3 SSL_get_options.3 \
757 SSL_CTX_set_options.3 SSL_set_options.3 \
758 SSL_CTX_set_quiet_shutdown.3 SSL_CTX_get_quiet_shutdown.3 \
759 SSL_CTX_set_quiet_shutdown.3 SSL_get_quiet_shutdown.3 \
760 SSL_CTX_set_quiet_shutdown.3 SSL_set_quiet_shutdown.3 \
761 SSL_CTX_set_session_cache_mode.3 SSL_CTX_get_session_cache_mode.3 \
762 SSL_CTX_set_session_id_context.3 SSL_set_session_id_context.3 \
763 SSL_CTX_set_ssl_version.3 SSL_get_ssl_method.3 \
764 SSL_CTX_set_ssl_version.3 SSL_set_ssl_method.3 \
765 SSL_CTX_set_timeout.3 SSL_CTX_get_timeout.3 \
766 SSL_CTX_set_tmp_dh_callback.3 SSL_CTX_set_tmp_dh.3 \
767 SSL_CTX_set_tmp_dh_callback.3 SSL_set_tmp_dh.3 \
768 SSL_CTX_set_tmp_dh_callback.3 SSL_set_tmp_dh_callback.3 \
769 SSL_CTX_set_tmp_rsa_callback.3 SSL_CTX_need_tmp_rsa.3 \
770 SSL_CTX_set_tmp_rsa_callback.3 SSL_CTX_set_tmp_rsa.3 \
771 SSL_CTX_set_tmp_rsa_callback.3 SSL_need_tmp_rsa.3 \
772 SSL_CTX_set_tmp_rsa_callback.3 SSL_set_tmp_rsa.3 \
773 SSL_CTX_set_tmp_rsa_callback.3 SSL_set_tmp_rsa_callback.3 \
774 SSL_CTX_set_verify.3 SSL_CTX_set_verify_depth.3 \
775 SSL_CTX_set_verify.3 SSL_set_verify.3 \
776 SSL_CTX_set_verify.3 SSL_set_verify_depth.3 \
777 SSL_CTX_use_certificate.3 SSL_CTX_check_private_key.3 \
778 SSL_CTX_use_certificate.3 SSL_CTX_use_PrivateKey.3 \
779 SSL_CTX_use_certificate.3 SSL_CTX_use_PrivateKey_ASN1.3 \
780 SSL_CTX_use_certificate.3 SSL_CTX_use_PrivateKey_file.3 \
781 SSL_CTX_use_certificate.3 SSL_CTX_use_RSAPrivateKey.3 \
782 SSL_CTX_use_certificate.3 SSL_CTX_use_RSAPrivateKey_ASN1.3 \
783 SSL_CTX_use_certificate.3 SSL_CTX_use_RSAPrivateKey_file.3 \
784 SSL_CTX_use_certificate.3 SSL_CTX_use_certificate_ASN1.3 \
785 SSL_CTX_use_certificate.3 SSL_CTX_use_certificate_chain_file.3 \
786 SSL_CTX_use_certificate.3 SSL_CTX_use_certificate_file.3 \
787 SSL_CTX_use_certificate.3 SSL_check_private_key.3 \
788 SSL_CTX_use_certificate.3 SSL_use_PrivateKey.3 \
789 SSL_CTX_use_certificate.3 SSL_use_PrivateKey_ASN1.3 \
790 SSL_CTX_use_certificate.3 SSL_use_PrivateKey_file.3 \
791 SSL_CTX_use_certificate.3 SSL_use_RSAPrivateKey.3 \
792 SSL_CTX_use_certificate.3 SSL_use_RSAPrivateKey_ASN1.3 \
793 SSL_CTX_use_certificate.3 SSL_use_RSAPrivateKey_file.3 \
794 SSL_CTX_use_certificate.3 SSL_use_certificate.3 \
795 SSL_CTX_use_certificate.3 SSL_use_certificate_ASN1.3 \
796 SSL_CTX_use_certificate.3 SSL_use_certificate_file.3 \
797 SSL_SESSION_get_ex_new_index.3 SSL_SESSION_get_ex_data.3 \
798 SSL_SESSION_get_ex_new_index.3 SSL_SESSION_set_ex_data.3 \
799 SSL_SESSION_get_time.3 SSL_SESSION_get_timeout.3 \
800 SSL_SESSION_get_time.3 SSL_SESSION_set_time.3 \
801 SSL_SESSION_get_time.3 SSL_SESSION_set_timeout.3 \
802 SSL_SESSION_get_time.3 SSL_get_time.3 \
803 SSL_SESSION_get_time.3 SSL_get_timeout.3 \
804 SSL_SESSION_get_time.3 SSL_set_time.3 \
805 SSL_SESSION_get_time.3 SSL_set_timeout.3 \
806 SSL_alert_type_string.3 SSL_alert_desc_string.3 \
807 SSL_alert_type_string.3 SSL_alert_desc_string_long.3 \
808 SSL_alert_type_string.3 SSL_alert_type_string_long.3 \
809 SSL_get_ciphers.3 SSL_get_cipher_list.3 \
810 SSL_get_client_CA_list.3 SSL_CTX_get_client_CA_list.3 \
811 SSL_get_current_cipher.3 SSL_get_cipher.3 \
812 SSL_get_current_cipher.3 SSL_get_cipher_bits.3 \
813 SSL_get_current_cipher.3 SSL_get_cipher_name.3 \
814 SSL_get_current_cipher.3 SSL_get_cipher_version.3 \
815 SSL_get_ex_new_index.3 SSL_get_ex_data.3 \
816 SSL_get_ex_new_index.3 SSL_set_ex_data.3 \
817 SSL_get_fd.3 SSL_get_rfd.3 \
818 SSL_get_fd.3 SSL_get_wfd.3 \
819 SSL_get_rbio.3 SSL_get_wbio.3 \
820 SSL_get_session.3 SSL_get0_session.3 \
821 SSL_get_session.3 SSL_get1_session.3 \
822 SSL_library_init.3 OpenSSL_add_ssl_algorithms.3 \
823 SSL_library_init.3 SSLeay_add_ssl_algorithms.3 \
824 SSL_rstate_string.3 SSL_rstate_string_long.3 \
825 SSL_set_connect_state.3 SSL_set_accept_state.3 \
826 SSL_set_fd.3 SSL_set_rfd.3 \
827 SSL_set_fd.3 SSL_set_wfd.3 \
828 SSL_set_shutdown.3 SSL_get_shutdown.3 \
829 SSL_state_string.3 SSL_state_string_long.3 \
830 SSL_want.3 SSL_want_nothing.3 \
831 SSL_want.3 SSL_want_read.3 \
832 SSL_want.3 SSL_want_write.3 \
833 SSL_want.3 SSL_want_x509_lookup.3 \
834 blowfish.3 BF_cbc.3 \
835 blowfish.3 BF_cbc_encrypt.3 \
836 blowfish.3 BF_cfb64_encrypt.3 \
837 blowfish.3 BF_decrypt.3 \
838 blowfish.3 BF_ecb.3 \
839 blowfish.3 BF_ecb_encrypt.3 \
840 blowfish.3 BF_encrypt.3 \
841 blowfish.3 BF_ofb64_encrypt.3 \
842 blowfish.3 BF_options.3 \
843 blowfish.3 BF_set_key.3 \
844 bn_internal.3 bn_add_words.3 \
845 bn_internal.3 bn_check_top.3 \
846 bn_internal.3 bn_cmp_words.3 \
847 bn_internal.3 bn_div_words.3 \
848 bn_internal.3 bn_dump.3 \
849 bn_internal.3 bn_expand.3 \
850 bn_internal.3 bn_expand2.3 \
851 bn_internal.3 bn_fix_top.3 \
852 bn_internal.3 bn_mul_add_words.3 \
853 bn_internal.3 bn_mul_comba4.3 \
854 bn_internal.3 bn_mul_comba8.3 \
855 bn_internal.3 bn_mul_high.3 \
856 bn_internal.3 bn_mul_low_normal.3 \
857 bn_internal.3 bn_mul_low_recursive.3 \
858 bn_internal.3 bn_mul_normal.3 \
859 bn_internal.3 bn_mul_part_recursive.3 \
860 bn_internal.3 bn_mul_recursive.3 \
861 bn_internal.3 bn_mul_words.3 \
862 bn_internal.3 bn_print.3 \
863 bn_internal.3 bn_set_high.3 \
864 bn_internal.3 bn_set_low.3 \
865 bn_internal.3 bn_set_max.3 \
866 bn_internal.3 bn_sqr_comba4.3 \
867 bn_internal.3 bn_sqr_comba8.3 \
868 bn_internal.3 bn_sqr_normal.3 \
869 bn_internal.3 bn_sqr_recursive.3 \
870 bn_internal.3 bn_sqr_words.3 \
871 bn_internal.3 bn_sub_words.3 \
872 bn_internal.3 bn_wexpand.3 \
873 bn_internal.3 mul.3 \
874 bn_internal.3 mul_add.3 \
875 bn_internal.3 sqr.3 \
876 d2i_DHparams.3 i2d_DHparams.3 \
877 d2i_RSAPublicKey.3 d2i_Netscape_RSA.3 \
878 d2i_RSAPublicKey.3 d2i_RSAPrivateKey.3 \
879 d2i_RSAPublicKey.3 i2d_Netscape_RSA.3 \
880 d2i_RSAPublicKey.3 i2d_RSAPrivateKey.3 \
881 d2i_RSAPublicKey.3 i2d_RSAPublicKey.3 \
882 d2i_SSL_SESSION.3 i2d_SSL_SESSION.3 \
883 des_crypt.3 des_string_to_2keys.3 \
884 des_random_key.3 des_cbc_cksum.3 \
885 des_random_key.3 des_cfb64_encrypt.3 \
886 des_random_key.3 des_cfb_encrypt.3 \
887 des_random_key.3 des_crypt.3 \
888 des_random_key.3 des_ecb2_encrypt.3 \
889 des_random_key.3 des_ecb3_encrypt.3 \
890 des_random_key.3 des_ecb_encrypt.3 \
891 des_random_key.3 des_ede2_cbc_encrypt.3 \
892 des_random_key.3 des_ede2_cfb64_encrypt.3 \
893 des_random_key.3 des_ede2_ofb64_encrypt.3 \
894 des_random_key.3 des_ede3_cbc_encrypt.3 \
895 des_random_key.3 des_ede3_cbcm_encrypt.3 \
896 des_random_key.3 des_ede3_cfb64_encrypt.3 \
897 des_random_key.3 des_ede3_ofb64_encrypt.3 \
898 des_random_key.3 des_enc_read.3 \
899 des_random_key.3 des_enc_write.3 \
900 des_random_key.3 des_fcrypt.3 \
901 des_random_key.3 des_is_weak_key.3 \
902 des_random_key.3 des_key_sched.3 \
903 des_random_key.3 des_ncbc_encrypt.3 \
904 des_random_key.3 des_ofb64_encrypt.3 \
905 des_random_key.3 des_ofb_encrypt.3 \
906 des_random_key.3 des_pcbc_encrypt.3 \
907 des_random_key.3 des_quad_cksum.3 \
908 des_random_key.3 des_read_2passwords.3 \
909 des_random_key.3 des_read_password.3 \
910 des_random_key.3 des_read_pw_string.3 \
911 des_random_key.3 des_set_key.3 \
912 des_random_key.3 des_set_key_checked.3 \
913 des_random_key.3 des_set_key_unchecked.3 \
914 des_random_key.3 des_set_odd_parity.3 \
915 des_random_key.3 des_string_to_2keys.3 \
916 des_random_key.3 des_string_to_key.3 \
917 des_random_key.3 des_xcbc_encrypt.3 \
918 dsa.3 DSA_OpenSSL.3 \
919 dsa.3 DSA_SIG_free.3 \
920 dsa.3 DSA_do_verify.3 \
921 dsa.3 DSA_free.3 \
922 dsa.3 DSA_get_default_method.3 \
923 dsa.3 DSA_get_ex_data.3 \
924 dsa.3 DSA_new_method.3 \
925 dsa.3 DSA_set_default_method.3 \
926 dsa.3 DSA_set_ex_data.3 \
927 dsa.3 DSA_sign_setup.3 \
928 dsa.3 DSA_verify.3 \
929 dsa.3 d2i_DSAPrivateKey.3 \
930 dsa.3 d2i_DSAPublicKey.3 \
931 dsa.3 d2i_DSA_SIG.3 \
932 dsa.3 d2i_DSAparams.3 \
933 dsa.3 i2d_DSAPrivateKey.3 \
934 dsa.3 i2d_DSAPublicKey.3 \
935 dsa.3 i2d_DSA_SIG.3 \
936 dsa.3 i2d_DSAparams.3 \
937 lh_stats.3 lh_node_stats.3 \
938 lh_stats.3 lh_node_stats_bio.3 \
939 lh_stats.3 lh_node_usage_stats.3 \
940 lh_stats.3 lh_node_usage_stats_bio.3 \
941 lh_stats.3 lh_stats_bio.3 \
942 lhash.3 lh_delete.3 \
943 lhash.3 lh_doall.3 \
944 lhash.3 lh_doall_arg.3 \
945 lhash.3 lh_error.3 \
946 lhash.3 lh_free.3 \
947 lhash.3 lh_insert.3 \
948 lhash.3 lh_new.3 \
949 lhash.3 lh_retrieve.3
950
951.include <bsd.man.mk>
952.else
953maninstall:
954
955.endif
956
957# XXX .PATH order is critical because of non-unique filenames
958.PATH: ${.CURDIR}/src/doc/crypto ${.CURDIR}/src/doc/ssl ${.CURDIR}/src/doc/apps
959.SUFFIXES: .pod
960.pod.cat3:
961 ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \
962 --center='OpenSSL' --release="OpenBSD `uname -r`" \
963 `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET}
964.pod.cat7:
965 ( cd `dirname ${.ALLSRC}` && pod2man --section=7 --official \
966 --center='OpenSSL' --release="OpenBSD `uname -r`" \
967 `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET}
968.pod.cat1:
969 ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \
970 --center='OpenSSL' --release="OpenBSD `uname -r`" \
971 `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET}
972
973.pod.ps3:
974 ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \
975 --center='OpenSSL' --release="OpenBSD `uname -r`" \
976 `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET}
977.pod.ps7:
978 ( cd `dirname ${.ALLSRC}` && pod2man --section=7 --official \
979 --center='OpenSSL' --release="OpenBSD `uname -r`" \
980 `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET}
981.pod.ps1:
982 ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \
983 --center='OpenSSL' --release="OpenBSD `uname -r`" \
984 `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET}
985
986all: prereq ${MANALL} ${PSALL}
987# egcs bombs optimising this file on vax
988.if (${MACHINE_ARCH} == "vax")
989 cd ${.OBJDIR}/crypto && CFLAGS=-O0 ${MAKE} a_strnid.o a_strnid.po
990 cd ${.OBJDIR}/crypto && CFLAGS=-O1 ${MAKE} des_enc.o des_enc.po
991.endif
992 @cd ${.OBJDIR}/crypto && ${MAKE}
993 @cd ${.OBJDIR}/ssl && ${MAKE}
994
995includes: prereq
996 @cd ${.OBJDIR}/crypto && ${MAKE} includes
997 @cd ${.OBJDIR}/ssl && ${MAKE} includes
998
999prereq: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h
1000
1001install: maninstall
1002 @cd ${.OBJDIR}/crypto && ${MAKE} install
1003 @cd ${.OBJDIR}/ssl && ${MAKE} install
1004
1005${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h: ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h
1006 /usr/bin/perl ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.pl ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_dat.h
1007
1008${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h: ${.OBJDIR}/${SSL_SRC}/crypto/objects/objects.h
1009 /usr/bin/perl ${.OBJDIR}/${SSL_SRC}/crypto/objects/objects.pl ${.OBJDIR}/${SSL_SRC}/crypto/objects/objects.txt ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.num ${.OBJDIR}/${SSL_SRC}/crypto/objects/obj_mac.h
1010
1011${.OBJDIR}/${SSL_SRC}/Makefile.ssl : ${.OBJDIR}/${SSL_SRC}/Makefile.org
1012 @cd ${.OBJDIR}/${SSL_SRC} && /usr/bin/perl Configure ${SSLCONF}
1013
1014.if !exists(${.OBJDIR}/${SSL_SRC}/Makefile.org)
1015${.OBJDIR}/${SSL_SRC}/Makefile.org: ${.CURDIR}/${SSL_SRC}/Makefile.org
1016 @${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} ${.CURDIR}
1017.endif
1018
1019
1020.if ${.OBJDIR} == ${.CURDIR}
1021clean:
1022 @cd ${.OBJDIR}/crypto && ${MAKE} clean
1023 @cd ${.OBJDIR}/ssl && ${MAKE} clean
1024 @rm -f ${MUNGEDFILES}
1025 @rm -rf ${.OBJDIR}/${SSL_SRC}/include
1026.else
1027clean:
1028 @cd ${.OBJDIR} && find . \! -type d -print | xargs rm
1029.endif
1030
1031cleandir: clean
1032
1033test:
1034 # Nothing here so far...
1035
1036depend: prereq
1037 # Nothing here so far...
1038
1039lint:
1040 # Nothing here so far...
1041
1042tags:
1043 # Nothing here so far...
1044 4
1045distribution: 5distribution:
1046 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ 6 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
@@ -1048,5 +8,4 @@ distribution:
1048 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ 8 ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \
1049 ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf 9 ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf
1050 10
1051.include <bsd.obj.mk>
1052.include <bsd.subdir.mk> 11.include <bsd.subdir.mk>
diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libssl/crypto/Makefile
index a98e51e477..15c310f2ee 100644
--- a/src/lib/libssl/crypto/Makefile
+++ b/src/lib/libssl/crypto/Makefile
@@ -1,10 +1,10 @@
1# $OpenBSD: Makefile,v 1.25 2002/09/03 18:59:55 markus Exp $
1 2
2LIB= crypto 3LIB= crypto
3 4
4SSLEAYDIST= src 5SSLEAYDIST= src
5 6SSL_SRC= ${.CURDIR}/../${SSLEAYDIST}
6LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto 7LCRYPTO_SRC= ${SSL_SRC}/crypto
7LCRYPTO_INC= ${.CURDIR}/../${SSLEAYDIST}/include
8 8
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CFLAGS+= -DL_ENDIAN 10CFLAGS+= -DL_ENDIAN
@@ -33,7 +33,6 @@ CFLAGS+= -DOPENSSL_NO_HW_SUREWARE
33CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} 33CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}
34CFLAGS+= -I${LCRYPTO_SRC} 34CFLAGS+= -I${LCRYPTO_SRC}
35SRCS+= o_time.c 35SRCS+= o_time.c
36CFLAGS+= -I${LCRYPTO_INC}
37SRCS+= cryptlib.c ex_data.c cpt_err.c mem.c mem_dbg.c tmdiff.c cversion.c uid.c 36SRCS+= cryptlib.c ex_data.c cpt_err.c mem.c mem_dbg.c tmdiff.c cversion.c uid.c
38CFLAGS+= -I${LCRYPTO_SRC}/md2 37CFLAGS+= -I${LCRYPTO_SRC}/md2
39SRCS+= md2_dgst.c md2_one.c 38SRCS+= md2_dgst.c md2_one.c
@@ -177,17 +176,6 @@ CFLAGS+= -I${LCRYPTO_SRC}/ec
177SRCS+= ec_cvt.c ec_lib.c ecp_mont.c ecp_recp.c 176SRCS+= ec_cvt.c ec_lib.c ecp_mont.c ecp_recp.c
178SRCS+= ec_err.c ec_mult.c ecp_nist.c ecp_smpl.c 177SRCS+= ec_err.c ec_mult.c ecp_nist.c ecp_smpl.c
179 178
180
181HDRS= asn1.h asn1_mac.h bio.h blowfish.h bn.h buffer.h cast.h \
182 comp.h conf.h conf_api.h crypto.h des.h dh.h dsa.h dso.h \
183 e_os2.h ebcdic.h engine.h err.h evp.h hmac.h idea.h lhash.h \
184 md2.h md4.h md5.h mdc2.h obj_mac.h objects.h opensslconf.h \
185 opensslv.h pem.h pem2.h pkcs12.h pkcs7.h rand.h rc2.h rc4.h \
186 rc5.h ripemd.h rsa.h safestack.h sha.h \
187 stack.h symhacks.h tmdiff.h txt_db.h x509.h \
188 x509_vfy.h x509v3.h asn1t.h des_old.h ossl_typ.h \
189 ui.h ui_compat.h aes.h ec.h ocsp.h
190
191.PATH: ${LCRYPTO_SRC}/md2 ${LCRYPTO_SRC}/md5 ${LCRYPTO_SRC}/sha \ 179.PATH: ${LCRYPTO_SRC}/md2 ${LCRYPTO_SRC}/md5 ${LCRYPTO_SRC}/sha \
192 ${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/hmac ${LCRYPTO_SRC}/ripemd \ 180 ${LCRYPTO_SRC}/mdc2 ${LCRYPTO_SRC}/hmac ${LCRYPTO_SRC}/ripemd \
193 ${LCRYPTO_SRC}/des ${LCRYPTO_SRC}/rc2 ${LCRYPTO_SRC}/rc4 \ 181 ${LCRYPTO_SRC}/des ${LCRYPTO_SRC}/rc2 ${LCRYPTO_SRC}/rc4 \
@@ -203,13 +191,85 @@ HDRS= asn1.h asn1_mac.h bio.h blowfish.h bn.h buffer.h cast.h \
203 ${LCRYPTO_SRC}/engine ${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/ui \ 191 ${LCRYPTO_SRC}/engine ${LCRYPTO_SRC}/dso ${LCRYPTO_SRC}/ui \
204 ${LCRYPTO_SRC}/ocsp ${LCRYPTO_SRC}/ec ${LCRYPTO_SRC}/aes ${LCRYPTO_SRC} 192 ${LCRYPTO_SRC}/ocsp ${LCRYPTO_SRC}/ec ${LCRYPTO_SRC}/aes ${LCRYPTO_SRC}
205 193
206includes: 194HDRS=\
195 crypto/aes/aes.h \
196 crypto/asn1/asn1.h \
197 crypto/asn1/asn1_mac.h \
198 crypto/asn1/asn1t.h \
199 crypto/bf/blowfish.h \
200 crypto/bio/bio.h \
201 crypto/bn/bn.h \
202 crypto/buffer/buffer.h \
203 crypto/cast/cast.h \
204 crypto/comp/comp.h \
205 crypto/conf/conf.h \
206 crypto/conf/conf_api.h \
207 crypto/crypto.h \
208 crypto/des/des.h \
209 crypto/des/des_old.h \
210 crypto/dh/dh.h \
211 crypto/dsa/dsa.h \
212 crypto/dso/dso.h \
213 crypto/ebcdic.h \
214 crypto/ec/ec.h \
215 crypto/engine/engine.h \
216 crypto/err/err.h \
217 crypto/evp/evp.h \
218 crypto/hmac/hmac.h \
219 crypto/idea/idea.h \
220 crypto/lhash/lhash.h \
221 crypto/md2/md2.h \
222 crypto/md4/md4.h \
223 crypto/md5/md5.h \
224 crypto/mdc2/mdc2.h \
225 crypto/objects/objects.h \
226 crypto/ocsp/ocsp.h \
227 crypto/opensslv.h \
228 crypto/ossl_typ.h \
229 crypto/pem/pem.h \
230 crypto/pem/pem2.h \
231 crypto/pkcs12/pkcs12.h \
232 crypto/pkcs7/pkcs7.h \
233 crypto/rand/rand.h \
234 crypto/rc2/rc2.h \
235 crypto/rc4/rc4.h \
236 crypto/rc5/rc5.h \
237 crypto/ripemd/ripemd.h \
238 crypto/rsa/rsa.h \
239 crypto/sha/sha.h \
240 crypto/stack/safestack.h \
241 crypto/stack/stack.h \
242 crypto/symhacks.h \
243 crypto/tmdiff.h \
244 crypto/txt_db/txt_db.h \
245 crypto/ui/ui.h \
246 crypto/ui/ui_compat.h \
247 crypto/x509/x509.h \
248 crypto/x509/x509_vfy.h \
249 crypto/x509v3/x509v3.h \
250 e_os2.h
251
252HDRS_GEN=\
253 ${.CURDIR}/arch/${MACHINE_ARCH}/opensslconf.h \
254 ${.OBJDIR}/obj_mac.h
255
256includes: obj_mac.h
207 @test -d ${DESTDIR}/usr/include/ssl || mkdir ${DESTDIR}/usr/include/ssl 257 @test -d ${DESTDIR}/usr/include/ssl || mkdir ${DESTDIR}/usr/include/ssl
208 @d=`mktemp -d /tmp/libsslXXXXXXXXXX`; \ 258 @d=`mktemp -d /tmp/libsslXXXXXXXXXX`; \
209 cd ${LCRYPTO_INC}/openssl; for i in $(HDRS); do \ 259 for i in $(HDRS); do \
260 f=`basename $$i`; \
261 j="sed 's/<openssl/<ssl/' \
262 ${SSL_SRC}/$$i >$$d/$$f && \
263 (cmp -s $$d/$$f ${DESTDIR}/usr/include/ssl/$$f || \
264 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
265 $$d/$$f ${DESTDIR}/usr/include/ssl)"; \
266 echo $$j; \
267 eval "$$j"; \
268 done; \
269 for i in $(HDRS_GEN); do \
210 f=`basename $$i`; \ 270 f=`basename $$i`; \
211 j="sed 's/<openssl/<ssl/' \ 271 j="sed 's/<openssl/<ssl/' \
212 ${LCRYPTO_INC}/openssl/$$i >$$d/$$f && \ 272 $$i >$$d/$$f && \
213 (cmp -s $$d/$$f ${DESTDIR}/usr/include/ssl/$$f || \ 273 (cmp -s $$d/$$f ${DESTDIR}/usr/include/ssl/$$f || \
214 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \ 274 ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
215 $$d/$$f ${DESTDIR}/usr/include/ssl)"; \ 275 $$d/$$f ${DESTDIR}/usr/include/ssl)"; \
@@ -218,4 +278,30 @@ includes:
218 done; \ 278 done; \
219 rm -rf $$d 279 rm -rf $$d
220 280
281# generated
282CFLAGS+= -I${.OBJDIR}
283
284GENERATED=obj_mac.h obj_dat.h
285CLEANFILES=${GENERATED}
286SSL_OBJECTS=${SSL_SRC}/crypto/objects
287
288obj_mac.h: ${SSL_OBJECTS}/objects.h
289 /usr/bin/perl ${SSL_OBJECTS}/objects.pl ${SSL_OBJECTS}/objects.txt ${SSL_OBJECTS}/obj_mac.num obj_mac.h
290obj_dat.h: obj_mac.h
291 /usr/bin/perl ${SSL_OBJECTS}/obj_dat.pl obj_mac.h obj_dat.h
292
293.if (${MACHINE_ARCH} == "vax")
294# egcs bombs optimising this file on vax
295a_strnid.o:
296 ${CC} ${CFLAGS} -O0 ${CPPFLAGS} -c ${.IMPSRC}
297a_strnid.po:
298 ${CC} ${CFLAGS} -O0 ${CPPFLAGS} -c ${.IMPSRC} -o $@
299des_enc.o:
300 ${CC} ${CFLAGS} -O1 ${CPPFLAGS} -c ${.IMPSRC}
301des_enc.po:
302 ${CC} ${CFLAGS} -O1 ${CPPFLAGS} -c ${.IMPSRC} -o $@
303.endif
304
305all beforedepend: ${GENERATED}
306
221.include <bsd.lib.mk> 307.include <bsd.lib.mk>
diff --git a/src/lib/libssl/crypto/arch/alpha/opensslconf.h b/src/lib/libssl/crypto/arch/alpha/opensslconf.h
new file mode 100644
index 0000000000..c33ccc8a0f
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/alpha/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#undef BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#define SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#undef THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#undef RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#define DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#define DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#undef DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/hppa/opensslconf.h b/src/lib/libssl/crypto/arch/hppa/opensslconf.h
new file mode 100644
index 0000000000..0334dbdfc6
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/hppa/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned long
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/i386/opensslconf.h b/src/lib/libssl/crypto/arch/i386/opensslconf.h
new file mode 100644
index 0000000000..7361ac56a1
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/i386/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned long
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#define DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#define DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/m68k/opensslconf.h b/src/lib/libssl/crypto/arch/m68k/opensslconf.h
new file mode 100644
index 0000000000..47a6dd8596
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/m68k/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/m88k/opensslconf.h b/src/lib/libssl/crypto/arch/m88k/opensslconf.h
new file mode 100644
index 0000000000..47a6dd8596
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/m88k/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/mips/opensslconf.h b/src/lib/libssl/crypto/arch/mips/opensslconf.h
new file mode 100644
index 0000000000..2b030ba088
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/mips/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#define DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/powerpc/opensslconf.h b/src/lib/libssl/crypto/arch/powerpc/opensslconf.h
new file mode 100644
index 0000000000..47a6dd8596
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/powerpc/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/sparc/opensslconf.h b/src/lib/libssl/crypto/arch/sparc/opensslconf.h
new file mode 100644
index 0000000000..47a6dd8596
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/sparc/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/sparc64/opensslconf.h b/src/lib/libssl/crypto/arch/sparc64/opensslconf.h
new file mode 100644
index 0000000000..053308653b
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/sparc64/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#undef BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#define SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#undef THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#undef RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#define BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#define DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#define DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#undef DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/crypto/arch/vax/opensslconf.h b/src/lib/libssl/crypto/arch/vax/opensslconf.h
new file mode 100644
index 0000000000..47a6dd8596
--- /dev/null
+++ b/src/lib/libssl/crypto/arch/vax/opensslconf.h
@@ -0,0 +1,180 @@
1/* opensslconf.h */
2/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
4/* OpenSSL was configured with the following options: */
5#ifndef OPENSSL_DOING_MAKEDEPEND
6
7#ifndef OPENSSL_NO_KRB5
8# define OPENSSL_NO_KRB5
9#endif
10
11#endif /* OPENSSL_DOING_MAKEDEPEND */
12
13/* The OPENSSL_NO_* macros are also defined as NO_* if the application
14 asks for it. This is a transient feature that is provided for those
15 who haven't had the time to do the appropriate changes in their
16 applications. */
17#ifdef OPENSSL_ALGORITHM_DEFINES
18# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
19# define NO_KRB5
20# endif
21#endif
22
23/* crypto/opensslconf.h.in */
24
25/* Generate 80386 code? */
26#undef I386_ONLY
27
28#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
29#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
30#define OPENSSLDIR "/etc/ssl"
31#endif
32#endif
33
34#undef OPENSSL_UNISTD
35#define OPENSSL_UNISTD <unistd.h>
36
37#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
38
39#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
40#define IDEA_INT unsigned int
41#endif
42
43#if defined(HEADER_MD2_H) && !defined(MD2_INT)
44#define MD2_INT unsigned int
45#endif
46
47#if defined(HEADER_RC2_H) && !defined(RC2_INT)
48/* I need to put in a mod for the alpha - eay */
49#define RC2_INT unsigned int
50#endif
51
52#if defined(HEADER_RC4_H)
53#if !defined(RC4_INT)
54/* using int types make the structure larger but make the code faster
55 * on most boxes I have tested - up to %20 faster. */
56/*
57 * I don't know what does "most" mean, but declaring "int" is a must on:
58 * - Intel P6 because partial register stalls are very expensive;
59 * - elder Alpha because it lacks byte load/store instructions;
60 */
61#define RC4_INT unsigned int
62#endif
63#if !defined(RC4_CHUNK)
64/*
65 * This enables code handling data aligned at natural CPU word
66 * boundary. See crypto/rc4/rc4_enc.c for further details.
67 */
68#undef RC4_CHUNK
69#endif
70#endif
71
72#if (defined(HEADER_DES_H) || defined(HEADER_DES_OLD_H)) && !defined(DES_LONG)
73/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
74 * %20 speed up (longs are 8 bytes, int's are 4). */
75#ifndef DES_LONG
76#define DES_LONG unsigned int
77#endif
78#endif
79
80#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
81#define CONFIG_HEADER_BN_H
82#define BN_LLONG
83
84/* Should we define BN_DIV2W here? */
85
86/* Only one for the following should be defined */
87/* The prime number generation stuff may not work when
88 * EIGHT_BIT but I don't care since I've only used this mode
89 * for debuging the bignum libraries */
90#undef SIXTY_FOUR_BIT_LONG
91#undef SIXTY_FOUR_BIT
92#define THIRTY_TWO_BIT
93#undef SIXTEEN_BIT
94#undef EIGHT_BIT
95#endif
96
97#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
98#define CONFIG_HEADER_RC4_LOCL_H
99/* if this is defined data[i] is used instead of *data, this is a %20
100 * speedup on x86 */
101#define RC4_INDEX
102#endif
103
104#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
105#define CONFIG_HEADER_BF_LOCL_H
106#undef BF_PTR
107#endif /* HEADER_BF_LOCL_H */
108
109#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
110#define CONFIG_HEADER_DES_LOCL_H
111#ifndef DES_DEFAULT_OPTIONS
112/* the following is tweaked from a config script, that is why it is a
113 * protected undef/define */
114#ifndef DES_PTR
115#undef DES_PTR
116#endif
117
118/* This helps C compiler generate the correct code for multiple functional
119 * units. It reduces register dependancies at the expense of 2 more
120 * registers */
121#ifndef DES_RISC1
122#undef DES_RISC1
123#endif
124
125#ifndef DES_RISC2
126#undef DES_RISC2
127#endif
128
129#if defined(DES_RISC1) && defined(DES_RISC2)
130YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
131#endif
132
133/* Unroll the inner loop, this sometimes helps, sometimes hinders.
134 * Very mucy CPU dependant */
135#ifndef DES_UNROLL
136#define DES_UNROLL
137#endif
138
139/* These default values were supplied by
140 * Peter Gutman <pgut001@cs.auckland.ac.nz>
141 * They are only used if nothing else has been defined */
142#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
143/* Special defines which change the way the code is built depending on the
144 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
145 even newer MIPS CPU's, but at the moment one size fits all for
146 optimization options. Older Sparc's work better with only UNROLL, but
147 there's no way to tell at compile time what it is you're running on */
148
149#if defined( sun ) /* Newer Sparc's */
150# define DES_PTR
151# define DES_RISC1
152# define DES_UNROLL
153#elif defined( __ultrix ) /* Older MIPS */
154# define DES_PTR
155# define DES_RISC2
156# define DES_UNROLL
157#elif defined( __osf1__ ) /* Alpha */
158# define DES_PTR
159# define DES_RISC2
160#elif defined ( _AIX ) /* RS6000 */
161 /* Unknown */
162#elif defined( __hpux ) /* HP-PA */
163 /* Unknown */
164#elif defined( __aux ) /* 68K */
165 /* Unknown */
166#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
167# define DES_UNROLL
168#elif defined( __sgi ) /* Newer MIPS */
169# define DES_PTR
170# define DES_RISC2
171# define DES_UNROLL
172#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
173# define DES_PTR
174# define DES_RISC1
175# define DES_UNROLL
176#endif /* Systems-specific speed defines */
177#endif
178
179#endif /* DES_DEFAULT_OPTIONS */
180#endif /* HEADER_DES_LOCL_H */
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile
new file mode 100644
index 0000000000..a9e097ef3e
--- /dev/null
+++ b/src/lib/libssl/man/Makefile
@@ -0,0 +1,898 @@
1# $OpenBSD: Makefile,v 1.1 2002/09/03 18:59:56 markus Exp $
2
3.include <bsd.own.mk> # for NOMAN
4
5.ifndef NOMAN
6MANALL= \
7 BN_CTX_new.cat3 \
8 BN_CTX_start.cat3 \
9 BN_add.cat3 \
10 BN_add_word.cat3 \
11 BN_bn2bin.cat3 \
12 BN_cmp.cat3 \
13 BN_copy.cat3 \
14 BN_generate_prime.cat3 \
15 BN_mod_inverse.cat3 \
16 BN_mod_mul_montgomery.cat3 \
17 BN_mod_mul_reciprocal.cat3 \
18 BN_new.cat3 \
19 BN_num_bytes.cat3 \
20 BN_rand.cat3 \
21 BN_set_bit.cat3 \
22 BN_swap.cat3 \
23 BN_zero.cat3 \
24 BUF_MEM_new.cat3 \
25 BUF_MEM_new.cat3 \
26 CRYPTO_set_ex_data.cat3 \
27 CRYPTO_set_locking_callback.cat3 \
28 DH_generate_key.cat3 \
29 DH_generate_parameters.cat3 \
30 DH_get_ex_new_index.cat3 \
31 DH_new.cat3 \
32 DH_set_method.cat3 \
33 DH_size.cat3 \
34 DSA_SIG_new.cat3 \
35 DSA_do_sign.cat3 \
36 DSA_dup_DH.cat3 \
37 DSA_generate_key.cat3 \
38 DSA_generate_parameters.cat3 \
39 DSA_get_ex_new_index.cat3 \
40 DSA_new.cat3 \
41 DSA_set_method.cat3 \
42 DSA_sign.cat3 \
43 DSA_size.cat3 \
44 ERR_GET_LIB.cat3 \
45 ERR_clear_error.cat3 \
46 ERR_error_string.cat3 \
47 ERR_get_error.cat3 \
48 ERR_load_crypto_strings.cat3 \
49 ERR_load_strings.cat3 \
50 ERR_print_errors.cat3 \
51 ERR_put_error.cat3 \
52 ERR_remove_state.cat3 \
53 EVP_BytesToKey.cat3 \
54 EVP_DigestInit.cat3 \
55 EVP_EncryptInit.cat3 \
56 EVP_OpenInit.cat3 \
57 EVP_SealInit.cat3 \
58 EVP_SignInit.cat3 \
59 EVP_VerifyInit.cat3 \
60 HMAC.cat3 \
61 MD5.cat3 \
62 MDC2.cat3 \
63 OPENSSL_VERSION_NUMBER.cat3 \
64 OpenSSL_add_all_algorithms.cat3 \
65 RAND_add.cat3 \
66 RAND_bytes.cat3 \
67 RAND_cleanup.cat3 \
68 RAND_egd.cat3 \
69 RAND_load_file.cat3 \
70 RAND_set_rand_method.cat3 \
71 RC4.cat3 \
72 RIPEMD160.cat3 \
73 RSA_blinding_on.cat3 \
74 RSA_check_key.cat3 \
75 RSA_generate_key.cat3 \
76 RSA_get_ex_new_index.cat3 \
77 RSA_new.cat3 \
78 RSA_padding_add_PKCS1_type_1.cat3 \
79 RSA_print.cat3 \
80 RSA_private_encrypt.cat3 \
81 RSA_public_encrypt.cat3 \
82 RSA_set_method.cat3 \
83 RSA_sign.cat3 \
84 RSA_sign_ASN1_OCTET_STRING.cat3 \
85 RSA_size.cat3 \
86 SHA1.cat3 \
87 SSL_CIPHER_get_name.cat3 \
88 SSL_COMP_add_compression_method.cat3 \
89 SSL_CTX_add_extra_chain_cert.cat3 \
90 SSL_CTX_add_session.cat3 \
91 SSL_CTX_ctrl.cat3 \
92 SSL_CTX_flush_sessions.cat3 \
93 SSL_CTX_free.cat3 \
94 SSL_CTX_get_ex_new_index.cat3 \
95 SSL_CTX_get_verify_mode.cat3 \
96 SSL_CTX_load_verify_locations.cat3 \
97 SSL_CTX_new.cat3 \
98 SSL_CTX_sess_number.cat3 \
99 SSL_CTX_sess_set_cache_size.cat3 \
100 SSL_CTX_sess_set_get_cb.cat3 \
101 SSL_CTX_sessions.cat3 \
102 SSL_CTX_set_cert_store.cat3 \
103 SSL_CTX_set_cert_verify_callback.cat3 \
104 SSL_CTX_set_cipher_list.cat3 \
105 SSL_CTX_set_client_CA_list.cat3 \
106 SSL_CTX_set_client_cert_cb.cat3 \
107 SSL_CTX_set_default_passwd_cb.cat3 \
108 SSL_CTX_set_generate_session_id.cat3 \
109 SSL_CTX_set_info_callback.cat3 \
110 SSL_CTX_set_max_cert_list.cat3 \
111 SSL_CTX_set_mode.cat3 \
112 SSL_CTX_set_msg_callback.cat3 \
113 SSL_CTX_set_options.cat3 \
114 SSL_CTX_set_quiet_shutdown.cat3 \
115 SSL_CTX_set_session_cache_mode.cat3 \
116 SSL_CTX_set_session_id_context.cat3 \
117 SSL_CTX_set_ssl_version.cat3 \
118 SSL_CTX_set_timeout.cat3 \
119 SSL_CTX_set_tmp_dh_callback.cat3 \
120 SSL_CTX_set_tmp_rsa_callback.cat3 \
121 SSL_CTX_set_verify.cat3 \
122 SSL_CTX_use_certificate.cat3 \
123 SSL_SESSION_free.cat3 \
124 SSL_SESSION_get_ex_new_index.cat3 \
125 SSL_SESSION_get_time.cat3 \
126 SSL_accept.cat3 \
127 SSL_alert_type_string.cat3 \
128 SSL_clear.cat3 \
129 SSL_connect.cat3 \
130 SSL_free.cat3 \
131 SSL_get_SSL_CTX.cat3 \
132 SSL_get_ciphers.cat3 \
133 SSL_get_client_CA_list.cat3 \
134 SSL_get_current_cipher.cat3 \
135 SSL_get_default_timeout.cat3 \
136 SSL_get_error.cat3 \
137 SSL_get_ex_data_X509_STORE_CTX_idx.cat3 \
138 SSL_get_ex_new_index.cat3 \
139 SSL_get_fd.cat3 \
140 SSL_get_peer_cert_chain.cat3 \
141 SSL_get_peer_certificate.cat3 \
142 SSL_get_rbio.cat3 \
143 SSL_get_session.cat3 \
144 SSL_get_verify_result.cat3 \
145 SSL_get_version.cat3 \
146 SSL_library_init.cat3 \
147 SSL_load_client_CA_file.cat3 \
148 SSL_new.cat3 \
149 SSL_pending.cat3 \
150 SSL_read.cat3 \
151 SSL_rstate_string.cat3 \
152 SSL_session_reused.cat3 \
153 SSL_set_bio.cat3 \
154 SSL_set_connect_state.cat3 \
155 SSL_set_fd.cat3 \
156 SSL_set_session.cat3 \
157 SSL_set_shutdown.cat3 \
158 SSL_set_verify_result.cat3 \
159 SSL_shutdown.cat3 \
160 SSL_state_string.cat3 \
161 SSL_want.cat3 \
162 SSL_write.cat3 \
163 blowfish.cat3 \
164 bn.cat3 \
165 bn_internal.cat3 \
166 crypto.cat3 \
167 d2i_DHparams.cat3 \
168 d2i_RSAPublicKey.cat3 \
169 d2i_SSL_SESSION.cat3 \
170 des_modes.cat7 \
171 des_random_key.cat3 \
172 dh.cat3 \
173 dsa.cat3 \
174 lh_stats.cat3 \
175 lhash.cat3 \
176 openssl.cat1 \
177 rsa.cat3 \
178 ssl.cat3
179
180.if MANPS
181PSALL= ${MANALL:S/.cat1/.ps1/g:S/.cat2/.ps2/g:S/.cat3/.ps3/g:S/.cat4/.ps4/g:S/.cat5/.ps5/g:S/.cat6/.ps6/g:S/.cat7/.ps7/g:S/.cat8/.ps8/g:S/.cat9/.ps9/g}
182.endif
183
184# these are is a real problem, since they re-document functions described in
185# other pages.
186#
187# err.pod -> ERR_get_error.pod
188# ERR_peek_error ERR_get_error_line
189# ERR_peek_error_line ERR_get_error_line_data ERR_peek_error_line_data
190# ERR_GET_LIB ERR_GET_FUNC ERR_GET_REASON ERR_clear_error ERR_error_string
191# ERR_lib_error_string ERR_func_error_string ERR_reason_error_string
192# ERR_print_errors ERR_print_errors_fp ERR_load_crypto_strings ERR_free_strings
193# ERR_remove_state ERR_put_error ERR_add_error_data ERR_load_strings ERR_PACK
194# ERR_get_next_error_library
195#
196# rand.pod -> RAND_bytes.pod
197# RAND_pseudo_bytes RAND_seed RAND_add RAND_status RAND_event
198# RAND_screen RAND_load_file RAND_write_file RAND_file_name RAND_egd
199# RAND_set_rand_method RAND_get_rand_method RAND_SSLeay RAND_cleanup
200
201# buffer.pod -> BUF_MEM_new.pod
202# BUF_MEM_free BUF_MEM_grow BUF_strdup
203BUF_MEM_new.cat3: buffer.pod
204 ( cp ${.ALLSRC} BUF_MEM_new.pm && pod2man --section=3 --official \
205 --center='OpenSSL' --release="OpenBSD `uname -r`" \
206 BUF_MEM_new.pm ) | nroff -Tascii -man > ${.TARGET}
207.if MANPS
208BUF_MEM_new.ps3: buffer.pod
209 ( cp ${.ALLSRC} BUF_MEM_new.pm && pod2man --section=3 --official \
210 --center='OpenSSL' --release="OpenBSD `uname -r`" \
211 BUF_MEM_new.pm ) | nroff -Tps -man > ${.TARGET}
212.endif
213
214# rc4.pod -> RC4.pod
215# RC4_set_key
216RC4.cat3: rc4.pod
217 ( cp ${.ALLSRC} RC4.pm && pod2man --section=3 --official \
218 --center='OpenSSL' --release="OpenBSD `uname -r`" \
219 RC4.pm ) | nroff -Tascii -man > ${.TARGET}
220.if MANPS
221RC4.ps3: rc4.pod
222 ( cp ${.ALLSRC} RC4.pm && pod2man --section=3 --official \
223 --center='OpenSSL' --release="OpenBSD `uname -r`" \
224 RC4.pm ) | nroff -Tps -man > ${.TARGET}
225.endif
226
227# threads.pod -> CRYPTO_set_locking_callback.pod
228# CRYPTO_set_id_callback CRYPTO_num_locks
229CRYPTO_set_locking_callback.cat3: threads.pod
230 ( cp ${.ALLSRC} CRYPTO_set_locking_callback.pm && \
231 pod2man --section=3 --official \
232 --center='OpenSSL' --release="OpenBSD `uname -r`" \
233 CRYPTO_set_locking_callback.pm ) | nroff -Tascii -man > ${.TARGET}
234.if MANPS
235CRYPTO_set_locking_callback.ps3: threads.pod
236 ( cp ${.ALLSRC} CRYPTO_set_locking_callback.pm && \
237 pod2man --section=3 --official \
238 --center='OpenSSL' --release="OpenBSD `uname -r`" \
239 CRYPTO_set_locking_callback.pm ) | nroff -Tps -man > ${.TARGET}
240.endif
241
242# ripemd.pod -> RIPEMD160.pod
243# RIPEMD160_Init RIPEMD160_Update RIPEMD160_Final
244RIPEMD160.cat3: ripemd.pod
245 ( cp ${.ALLSRC} RIPEMD160.pm && pod2man --section=3 --official \
246 --center='OpenSSL' --release="OpenBSD `uname -r`" \
247 RIPEMD160.pm ) | nroff -Tascii -man > ${.TARGET}
248.if MANPS
249RIPEMD160.ps3: ripemd.pod
250 ( cp ${.ALLSRC} RIPEMD160.pm && pod2man --section=3 --official \
251 --center='OpenSSL' --release="OpenBSD `uname -r`" \
252 RIPEMD160.pm ) | nroff -Tps -man > ${.TARGET}
253.endif
254
255# sha.pod -> SHA1.pod
256SHA1.cat3: sha.pod
257 ( cp ${.ALLSRC} SHA1.pm && pod2man --section=3 --official \
258 --center='OpenSSL' --release="OpenBSD `uname -r`" \
259 SHA1.pm ) | nroff -Tascii -man > ${.TARGET}
260.if MANPS
261SHA1.ps3: sha.pod
262 ( cp ${.ALLSRC} SHA1.pm && pod2man --section=3 --official \
263 --center='OpenSSL' --release="OpenBSD `uname -r`" \
264 SHA1.pm ) | nroff -Tps -man > ${.TARGET}
265.endif
266
267# md5.pod -> MD5.pod
268MD5.cat3: md5.pod
269 ( cp ${.ALLSRC} MD5.pm && pod2man --section=3 --official \
270 --center='OpenSSL' --release="OpenBSD `uname -r`" \
271 MD5.pm ) | nroff -Tascii -man > ${.TARGET}
272.if MANPS
273MD5.ps3: md5.pod
274 ( cp ${.ALLSRC} MD5.pm && pod2man --section=3 --official \
275 --center='OpenSSL' --release="OpenBSD `uname -r`" \
276 MD5.pm ) | nroff -Tps -man > ${.TARGET}
277.endif
278
279# mdc2.pod -> MDC2.pod
280MDC2.cat3: mdc2.pod
281 ( cp ${.ALLSRC} MDC2.pm && pod2man --section=3 --official \
282 --center='OpenSSL' --release="OpenBSD `uname -r`" \
283 MDC2.pm ) | nroff -Tascii -man > ${.TARGET}
284.if MANPS
285MDC2.ps3: mdc2.pod
286 ( cp ${.ALLSRC} MDC2.pm && pod2man --section=3 --official \
287 --center='OpenSSL' --release="OpenBSD `uname -r`" \
288 MDC2.pm ) | nroff -Tps -man > ${.TARGET}
289.endif
290
291# hmac.pod -> HMAC.pod
292HMAC.cat3: hmac.pod
293 ( cp ${.ALLSRC} HMAC.pm && pod2man --section=3 --official \
294 --center='OpenSSL' --release="OpenBSD `uname -r`" \
295 HMAC.pm ) | nroff -Tascii -man > ${.TARGET}
296.if MANPS
297HMAC.ps3: hmac.pod
298 ( cp ${.ALLSRC} HMAC.pm && pod2man --section=3 --official \
299 --center='OpenSSL' --release="OpenBSD `uname -r`" \
300 HMAC.pm ) | nroff -Tps -man > ${.TARGET}
301.endif
302
303# des.pod -> des_random_key, des_set_key, des_key_sched, des_set_key_checked,
304# des_set_key_unchecked, des_set_odd_parity, des_is_weak_key, des_ecb_encrypt,
305# des_ecb2_encrypt, des_ecb3_encrypt, des_ncbc_encrypt, des_cfb_encrypt,
306# des_ofb_encrypt, des_pcbc_encrypt, des_cfb64_encrypt, des_ofb64_encrypt,
307# des_xcbc_encrypt, des_ede2_cbc_encrypt, des_ede2_cfb64_encrypt,
308# des_ede2_ofb64_encrypt, des_ede3_cbc_encrypt, des_ede3_cbcm_encrypt,
309# des_ede3_cfb64_encrypt, des_ede3_ofb64_encrypt, des_read_password,
310# des_read_2passwords, des_read_pw_string, des_cbc_cksum, des_quad_cksum,
311# des_string_to_key, des_string_to_2keys, des_fcrypt, des_crypt,
312# des_enc_read, des_enc_write
313des_random_key.cat3: des.pod
314 ( cp ${.ALLSRC} des_random_key.pm && pod2man --section=3 --official \
315 --center='OpenSSL' --release="OpenBSD `uname -r`" \
316 des_random_key.pm ) | nroff -Tascii -man > ${.TARGET}
317.if MANPS
318des_random_key.ps3: des.pod
319 ( cp ${.ALLSRC} des_random_key.pm && pod2man --section=3 --official \
320 --center='OpenSSL' --release="OpenBSD `uname -r`" \
321 des_random_key.pm ) | nroff -Tps -man > ${.TARGET}
322.endif
323
324MLINKS+=\
325 BN_CTX_new.3 BN_CTX_free.3 \
326 BN_CTX_new.3 BN_CTX_init.3 \
327 BN_CTX_start.3 BN_CTX_end.3 \
328 BN_CTX_start.3 BN_CTX_get.3 \
329 BN_add.3 BN_div.3 \
330 BN_add.3 BN_exp.3 \
331 BN_add.3 BN_gcd.3 \
332 BN_add.3 BN_mod.3 \
333 BN_add.3 BN_mod_exp.3 \
334 BN_add.3 BN_mod_mul.3 \
335 BN_add.3 BN_mul.3 \
336 BN_add.3 BN_sqr.3 \
337 BN_add.3 BN_sub.3 \
338 BN_add_word.3 BN_div_word.3 \
339 BN_add_word.3 BN_mod_word.3 \
340 BN_add_word.3 BN_mul_word.3 \
341 BN_add_word.3 BN_sub_word.3 \
342 BN_bn2bin.3 BN_bin2bn.3 \
343 BN_bn2bin.3 BN_bn2dec.3 \
344 BN_bn2bin.3 BN_bn2hex.3 \
345 BN_bn2bin.3 BN_bn2mpi.3 \
346 BN_bn2bin.3 BN_dec2bn.3 \
347 BN_bn2bin.3 BN_hex2bn.3 \
348 BN_bn2bin.3 BN_mpi2bn.3 \
349 BN_bn2bin.3 BN_print.3 \
350 BN_bn2bin.3 BN_print_fp.3 \
351 BN_cmp.3 BN_is_odd.3 \
352 BN_cmp.3 BN_is_one.3 \
353 BN_cmp.3 BN_is_word.3 \
354 BN_cmp.3 BN_is_zero.3 \
355 BN_cmp.3 BN_ucmp.3 \
356 BN_copy.3 BN_dup.3 \
357 BN_generate_prime.3 BN_is_prime.3 \
358 BN_generate_prime.3 BN_is_prime_fasttest.3 \
359 BN_mod_mul_montgomery.3 BN_MONT_CTX_copy.3 \
360 BN_mod_mul_montgomery.3 BN_MONT_CTX_free.3 \
361 BN_mod_mul_montgomery.3 BN_MONT_CTX_init.3 \
362 BN_mod_mul_montgomery.3 BN_MONT_CTX_new.3 \
363 BN_mod_mul_montgomery.3 BN_MONT_CTX_set.3 \
364 BN_mod_mul_montgomery.3 BN_from_montgomery.3 \
365 BN_mod_mul_montgomery.3 BN_to_montgomery.3 \
366 BN_mod_mul_reciprocal.3 BN_RECP_CTX_free.3 \
367 BN_mod_mul_reciprocal.3 BN_RECP_CTX_init.3 \
368 BN_mod_mul_reciprocal.3 BN_RECP_CTX_new.3 \
369 BN_mod_mul_reciprocal.3 BN_RECP_CTX_set.3 \
370 BN_mod_mul_reciprocal.3 BN_div_recp.3 \
371 BN_new.3 BN_clear.3 \
372 BN_new.3 BN_clear_free.3 \
373 BN_new.3 BN_free.3 \
374 BN_new.3 BN_init.3 \
375 BN_num_bytes.3 BN_num_bits.3 \
376 BN_num_bytes.3 BN_num_bits_word.3 \
377 BN_rand.3 BN_pseudo_rand.3 \
378 BN_rand.3 BN_rand_range.3 \
379 BN_set_bit.3 BN_clear_bit.3 \
380 BN_set_bit.3 BN_is_bit_set.3 \
381 BN_set_bit.3 BN_lshift.3 \
382 BN_set_bit.3 BN_lshift1.3 \
383 BN_set_bit.3 BN_mask_bits.3 \
384 BN_set_bit.3 BN_rshift.3 \
385 BN_set_bit.3 BN_rshift1.3 \
386 BN_zero.3 BN_get_word.3 \
387 BN_zero.3 BN_one.3 \
388 BN_zero.3 BN_set_word.3 \
389 BN_zero.3 BN_value_one.3 \
390 BUF_MEM_new.3 BUF_MEM_free.3 \
391 BUF_MEM_new.3 BUF_MEM_grow.3 \
392 BUF_MEM_new.3 BUF_strdup.3 \
393 CRYPTO_set_ex_data.3 CRYPTO_get_ex_data.3 \
394 CRYPTO_set_locking_callback.3 CRYPTO_add.3 \
395 CRYPTO_set_locking_callback.3 CRYPTO_add_lock.3 \
396 CRYPTO_set_locking_callback.3 CRYPTO_destroy_dynlockid.3 \
397 CRYPTO_set_locking_callback.3 CRYPTO_get_new_dynlockid.3 \
398 CRYPTO_set_locking_callback.3 CRYPTO_lock.3 \
399 CRYPTO_set_locking_callback.3 CRYPTO_num_locks.3 \
400 CRYPTO_set_locking_callback.3 CRYPTO_r_lock.3 \
401 CRYPTO_set_locking_callback.3 CRYPTO_r_unlock.3 \
402 CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_create_callback.3 \
403 CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_destroy_callback.3 \
404 CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_lock_callback.3 \
405 CRYPTO_set_locking_callback.3 CRYPTO_set_id_callback.3 \
406 CRYPTO_set_locking_callback.3 CRYPTO_w_lock.3 \
407 CRYPTO_set_locking_callback.3 CRYPTO_w_unlock.3 \
408 DH_generate_key.3 DH_compute_key.3 \
409 DH_generate_parameters.3 DH_check.3 \
410 DH_get_ex_new_index.3 DH_get_ex_data.3 \
411 DH_get_ex_new_index.3 DH_set_ex_data.3 \
412 DH_new.3 DH_free.3 \
413 DH_set_method.3 DH_OpenSSL.3 \
414 DH_set_method.3 DH_get_default_method.3 \
415 DH_set_method.3 DH_get_default_openssl_method.3 \
416 DH_set_method.3 DH_new_method.3 \
417 DH_set_method.3 DH_set_default_method.3 \
418 DH_set_method.3 DH_set_default_openssl_method.3 \
419 DSA_new.3 DSA_free.3 \
420 DSA_set_method.3 DSA_OpenSSL.3 \
421 DSA_set_method.3 DSA_get_default_method.3 \
422 DSA_set_method.3 DSA_get_default_openssl_method.3 \
423 DSA_set_method.3 DSA_new_method.3 \
424 DSA_set_method.3 DSA_set_default_method.3 \
425 DSA_set_method.3 DSA_set_default_openssl_method.3 \
426 DSA_sign.3 DSA_sign_setup.3 \
427 DSA_sign.3 DSA_verify.3 \
428 ERR_GET_LIB.3 ERR_GET_FUNC.3 \
429 ERR_GET_LIB.3 ERR_GET_REASON.3 \
430 ERR_error_string.3 ERR_error_string_n.3 \
431 ERR_error_string.3 ERR_func_error_string.3 \
432 ERR_error_string.3 ERR_lib_error_string.3 \
433 ERR_error_string.3 ERR_reason_error_string.3 \
434 ERR_get_error.3 ERR_get_error_line.3 \
435 ERR_get_error.3 ERR_get_error_line_data.3 \
436 ERR_get_error.3 ERR_peek_error.3 \
437 ERR_get_error.3 ERR_peek_error_line.3 \
438 ERR_get_error.3 ERR_peek_error_line_data.3 \
439 ERR_load_crypto_strings.3 ERR_free_strings.3 \
440 ERR_load_crypto_strings.3 SSL_load_error_strings.3 \
441 ERR_load_strings.3 ERR_PACK.3 \
442 ERR_load_strings.3 ERR_get_next_error_library.3 \
443 ERR_print_errors.3 ERR_print_errors_fp.3 \
444 ERR_put_error.3 ERR_add_error_data.3 \
445 EVP_DigestInit.3 EVP_DigestFinal.3 \
446 EVP_DigestInit.3 EVP_DigestUpdate.3 \
447 EVP_DigestInit.3 EVP_MD_CTX_block_size.3 \
448 EVP_DigestInit.3 EVP_MD_CTX_copy.3 \
449 EVP_DigestInit.3 EVP_MD_CTX_md.3 \
450 EVP_DigestInit.3 EVP_MD_CTX_size.3 \
451 EVP_DigestInit.3 EVP_MD_CTX_type.3 \
452 EVP_DigestInit.3 EVP_MD_block_size.3 \
453 EVP_DigestInit.3 EVP_MD_block_size.3 \
454 EVP_DigestInit.3 EVP_MD_pkey_type.3 \
455 EVP_DigestInit.3 EVP_MD_size.3 \
456 EVP_DigestInit.3 EVP_MD_size.3 \
457 EVP_DigestInit.3 EVP_MD_type.3 \
458 EVP_DigestInit.3 EVP_MD_type.3 \
459 EVP_DigestInit.3 EVP_dss.3 \
460 EVP_DigestInit.3 EVP_dss1.3 \
461 EVP_DigestInit.3 EVP_get_digestbyname.3 \
462 EVP_DigestInit.3 EVP_get_digestbyname.3 \
463 EVP_DigestInit.3 EVP_get_digestbynid.3 \
464 EVP_DigestInit.3 EVP_get_digestbynid.3 \
465 EVP_DigestInit.3 EVP_get_digestbyobj.3 \
466 EVP_DigestInit.3 EVP_md2.3 \
467 EVP_DigestInit.3 EVP_md5.3 \
468 EVP_DigestInit.3 EVP_md_null.3 \
469 EVP_DigestInit.3 EVP_mdc2.3 \
470 EVP_DigestInit.3 EVP_ripemd160.3 \
471 EVP_DigestInit.3 EVP_sha.3 \
472 EVP_DigestInit.3 EVP_sha1.3 \
473 EVP_DigestInit.3 OBJ_nid2sn.3 \
474 EVP_DigestInit.3 OBJ_obj2nid.3 \
475 EVP_EncryptInit.3 EVP_CIPHER_CTX_block_size.3 \
476 EVP_EncryptInit.3 EVP_CIPHER_CTX_cipher.3 \
477 EVP_EncryptInit.3 EVP_CIPHER_CTX_cipher.3 \
478 EVP_EncryptInit.3 EVP_CIPHER_CTX_cleanup.3 \
479 EVP_EncryptInit.3 EVP_CIPHER_CTX_ctrl.3 \
480 EVP_EncryptInit.3 EVP_CIPHER_CTX_iv_length.3 \
481 EVP_EncryptInit.3 EVP_CIPHER_CTX_key_length.3 \
482 EVP_EncryptInit.3 EVP_CIPHER_CTX_nid.3 \
483 EVP_EncryptInit.3 EVP_CIPHER_CTX_set_key_length.3 \
484 EVP_EncryptInit.3 EVP_CIPHER_CTX_type.3 \
485 EVP_EncryptInit.3 EVP_CIPHER_asn1_to_param.3 \
486 EVP_EncryptInit.3 EVP_CIPHER_block_size.3 \
487 EVP_EncryptInit.3 EVP_CIPHER_iv_length.3 \
488 EVP_EncryptInit.3 EVP_CIPHER_key_length.3 \
489 EVP_EncryptInit.3 EVP_CIPHER_nid.3 \
490 EVP_EncryptInit.3 EVP_CIPHER_param_to_asn1.3 \
491 EVP_EncryptInit.3 EVP_CIPHER_type.3 \
492 EVP_EncryptInit.3 EVP_CIPHER_type.3 \
493 EVP_EncryptInit.3 EVP_CipherFinal.3 \
494 EVP_EncryptInit.3 EVP_CipherInit.3 \
495 EVP_EncryptInit.3 EVP_CipherUpdate.3 \
496 EVP_EncryptInit.3 EVP_DecryptFinal.3 \
497 EVP_EncryptInit.3 EVP_DecryptInit.3 \
498 EVP_EncryptInit.3 EVP_DecryptUpdate.3 \
499 EVP_EncryptInit.3 EVP_EncryptFinal.3 \
500 EVP_EncryptInit.3 EVP_EncryptUpdate.3 \
501 EVP_EncryptInit.3 EVP_get_cipherbyname.3 \
502 EVP_EncryptInit.3 EVP_get_cipherbyname.3 \
503 EVP_EncryptInit.3 EVP_get_cipherbynid.3 \
504 EVP_EncryptInit.3 EVP_get_cipherbynid.3 \
505 EVP_EncryptInit.3 EVP_get_cipherbyobj.3 \
506 EVP_EncryptInit.3 OBJ_nid2sn.3 \
507 EVP_EncryptInit.3 OBJ_obj2nid.3 \
508 EVP_OpenInit.3 EVP_OpenFinal.3 \
509 EVP_OpenInit.3 EVP_OpenUpdate.3 \
510 EVP_SealInit.3 EVP_SealFinal.3 \
511 EVP_SealInit.3 EVP_SealUpdate.3 \
512 EVP_SignInit.3 EVP_PKEY_size.3 \
513 EVP_SignInit.3 EVP_SignFinal.3 \
514 EVP_SignInit.3 EVP_SignUpdate.3 \
515 EVP_VerifyInit.3 EVP_VerifyFinal.3 \
516 EVP_VerifyInit.3 EVP_VerifyUpdate.3 \
517 HMAC.3 HMAC_Final.3 \
518 HMAC.3 HMAC_Init.3 \
519 HMAC.3 HMAC_Update.3 \
520 HMAC.3 HMAC_cleanup.3 \
521 MD5.3 MD2.3 \
522 MD5.3 MD2_Final.3 \
523 MD5.3 MD2_Init.3 \
524 MD5.3 MD2_Update.3 \
525 MD5.3 MD4.3 \
526 MD5.3 MD4_Final.3 \
527 MD5.3 MD4_Init.3 \
528 MD5.3 MD4_Update.3 \
529 MD5.3 MD5_Final.3 \
530 MD5.3 MD5_Init.3 \
531 MD5.3 MD5_Update.3 \
532 MDC2.3 MDC2_Final.3 \
533 MDC2.3 MDC2_Init.3 \
534 MDC2.3 MDC2_Update.3 \
535 OPENSSL_VERSION_NUMBER.3 SSLeay.3 \
536 OPENSSL_VERSION_NUMBER.3 SSLeay_version.3 \
537 OpenSSL_add_all_algorithms.3 EVP_cleanup.3 \
538 OpenSSL_add_all_algorithms.3 OpenSSL_add_all_ciphers.3 \
539 OpenSSL_add_all_algorithms.3 OpenSSL_add_all_digests.3 \
540 RAND_add.3 RAND_event.3 \
541 RAND_add.3 RAND_screen.3 \
542 RAND_add.3 RAND_seed.3 \
543 RAND_add.3 RAND_status.3 \
544 RAND_bytes.3 RAND_pseudo_bytes.3 \
545 RAND_bytes.3 RAND_pseudo_bytes.3 \
546 RAND_egd.3 RAND_egd_bytes.3 \
547 RAND_load_file.3 RAND_file_name.3 \
548 RAND_load_file.3 RAND_file_name.3 \
549 RAND_load_file.3 RAND_write_file.3 \
550 RAND_load_file.3 RAND_write_file.3 \
551 RAND_set_rand_method.3 RAND_SSLeay.3 \
552 RAND_set_rand_method.3 RAND_SSLeay.3 \
553 RAND_set_rand_method.3 RAND_get_rand_method.3 \
554 RAND_set_rand_method.3 RAND_get_rand_method.3 \
555 RC4.3 RC4_set_key.3 \
556 RIPEMD160.3 RIPEMD160_Final.3 \
557 RIPEMD160.3 RIPEMD160_Init.3 \
558 RIPEMD160.3 RIPEMD160_Update.3 \
559 RSA_blinding_on.3 RSA_blinding_off.3 \
560 RSA_get_ex_new_index.3 RSA_get_ex_data.3 \
561 RSA_get_ex_new_index.3 RSA_set_ex_data.3 \
562 RSA_new.3 RSA_free.3 \
563 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_OAEP.3 \
564 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_type_2.3 \
565 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_SSLv23.3 \
566 RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_none.3 \
567 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_OAEP.3 \
568 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_1.3 \
569 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_2.3 \
570 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_SSLv23.3 \
571 RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_none.3 \
572 RSA_print.3 DHparams_print.3 \
573 RSA_print.3 DHparams_print.3 \
574 RSA_print.3 DHparams_print_fp.3 \
575 RSA_print.3 DHparams_print_fp.3 \
576 RSA_print.3 DSA_print.3 \
577 RSA_print.3 DSA_print_fp.3 \
578 RSA_print.3 DSA_print_fp.3 \
579 RSA_print.3 DSAparams_print.3 \
580 RSA_print.3 DSAparams_print.3 \
581 RSA_print.3 DSAparams_print_fp.3 \
582 RSA_print.3 DSAparams_print_fp.3 \
583 RSA_print.3 RSA_print_fp.3 \
584 RSA_print.3 RSA_print_fp.3 \
585 RSA_private_encrypt.3 RSA_public_decrypt.3 \
586 RSA_public_encrypt.3 RSA_private_decrypt.3 \
587 RSA_set_method.3 RSA_PKCS1_RSAref.3 \
588 RSA_set_method.3 RSA_PKCS1_SSLeay.3 \
589 RSA_set_method.3 RSA_flags.3 \
590 RSA_set_method.3 RSA_get_default_method.3 \
591 RSA_set_method.3 RSA_get_default_openssl_method.3 \
592 RSA_set_method.3 RSA_get_method.3 \
593 RSA_set_method.3 RSA_new_method.3 \
594 RSA_set_method.3 RSA_null_method.3 \
595 RSA_set_method.3 RSA_set_default_method.3 \
596 RSA_set_method.3 RSA_set_default_openssl_method.3 \
597 RSA_sign.3 RSA_verify.3 \
598 RSA_sign_ASN1_OCTET_STRING.3 RSA_verify_ASN1_OCTET_STRING.3 \
599 SHA1.3 SHA1_Final.3 \
600 SHA1.3 SHA1_Init.3 \
601 SHA1.3 SHA1_Update.3 \
602 SSL_CIPHER_get_name.3 SSL_CIPHER_description.3 \
603 SSL_CIPHER_get_name.3 SSL_CIPHER_get_bits.3 \
604 SSL_CIPHER_get_name.3 SSL_CIPHER_get_version.3 \
605 SSL_CTX_add_session.3 SSL_CTX_remove_session.3 \
606 SSL_CTX_add_session.3 SSL_add_session.3 \
607 SSL_CTX_add_session.3 SSL_remove_session.3 \
608 SSL_CTX_ctrl.3 SSL_CTX_callback_ctrl.3 \
609 SSL_CTX_ctrl.3 SSL_callback_ctrl.3 \
610 SSL_CTX_ctrl.3 SSL_ctrl.3 \
611 SSL_CTX_flush_sessions.3 SSL_flush_sessions.3 \
612 SSL_CTX_get_ex_new_index.3 SSL_CTX_get_ex_data.3 \
613 SSL_CTX_get_ex_new_index.3 SSL_CTX_set_ex_data.3 \
614 SSL_CTX_get_verify_mode.3 SSL_CTX_get_verify_callback.3 \
615 SSL_CTX_get_verify_mode.3 SSL_CTX_get_verify_depth.3 \
616 SSL_CTX_get_verify_mode.3 SSL_get_verify_callback.3 \
617 SSL_CTX_get_verify_mode.3 SSL_get_verify_depth.3 \
618 SSL_CTX_get_verify_mode.3 SSL_get_verify_mode.3 \
619 SSL_CTX_sess_number.3 SSL_CTX_sess_accept.3 \
620 SSL_CTX_sess_number.3 SSL_CTX_sess_accept_good.3 \
621 SSL_CTX_sess_number.3 SSL_CTX_sess_accept_renegotiate.3 \
622 SSL_CTX_sess_number.3 SSL_CTX_sess_cache_full.3 \
623 SSL_CTX_sess_number.3 SSL_CTX_sess_cb_hits.3 \
624 SSL_CTX_sess_number.3 SSL_CTX_sess_connect.3 \
625 SSL_CTX_sess_number.3 SSL_CTX_sess_connect_good.3 \
626 SSL_CTX_sess_number.3 SSL_CTX_sess_connect_renegotiate.3 \
627 SSL_CTX_sess_number.3 SSL_CTX_sess_hits.3 \
628 SSL_CTX_sess_number.3 SSL_CTX_sess_misses.3 \
629 SSL_CTX_sess_number.3 SSL_CTX_sess_timeouts.3 \
630 SSL_CTX_sess_set_cache_size.3 SSL_CTX_sess_get_cache_size.3 \
631 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_get_get_cb.3 \
632 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_get_new_cb.3 \
633 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_get_remove_cb.3 \
634 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_set_new_cb.3 \
635 SSL_CTX_sess_set_get_cb.3 SSL_CTX_sess_set_remove.3 \
636 SSL_CTX_set_cert_store.3 SSL_CTX_get_cert_store.3 \
637 SSL_CTX_set_cipher_list.3 SSL_set_cipher_list.3 \
638 SSL_CTX_set_client_CA_list.3 SSL_CTX_add_client_CA.3 \
639 SSL_CTX_set_client_CA_list.3 SSL_add_client_CA.3 \
640 SSL_CTX_set_client_CA_list.3 SSL_set_client_CA_list.3 \
641 SSL_CTX_set_default_passwd_cb.3 \
642 SSL_CTX_set_default_passwd_cb_userdata.3 \
643 SSL_CTX_set_max_cert_list.3 SSL_CTX_get_max_cert_list.3 \
644 SSL_CTX_set_max_cert_list.3 SSL_get_max_cert_list.3 \
645 SSL_CTX_set_max_cert_list.3 SSL_set_max_cert_list.3 \
646 SSL_CTX_set_mode.3 SSL_CTX_get_mode.3 \
647 SSL_CTX_set_mode.3 SSL_get_mode.3 \
648 SSL_CTX_set_mode.3 SSL_set_mode.3 \
649 SSL_CTX_set_msg_callback.3 SSL_CTX_set_msg_callback_arg.3 \
650 SSL_CTX_set_msg_callback.3 SSL_set_msg_callback.3 \
651 SSL_CTX_set_msg_callback.3 SSL_set_msg_callback_arg.3 \
652 SSL_CTX_set_options.3 SSL_CTX_get_options.3 \
653 SSL_CTX_set_options.3 SSL_get_options.3 \
654 SSL_CTX_set_options.3 SSL_set_options.3 \
655 SSL_CTX_set_quiet_shutdown.3 SSL_CTX_get_quiet_shutdown.3 \
656 SSL_CTX_set_quiet_shutdown.3 SSL_get_quiet_shutdown.3 \
657 SSL_CTX_set_quiet_shutdown.3 SSL_set_quiet_shutdown.3 \
658 SSL_CTX_set_session_cache_mode.3 SSL_CTX_get_session_cache_mode.3 \
659 SSL_CTX_set_session_id_context.3 SSL_set_session_id_context.3 \
660 SSL_CTX_set_ssl_version.3 SSL_get_ssl_method.3 \
661 SSL_CTX_set_ssl_version.3 SSL_set_ssl_method.3 \
662 SSL_CTX_set_timeout.3 SSL_CTX_get_timeout.3 \
663 SSL_CTX_set_tmp_dh_callback.3 SSL_CTX_set_tmp_dh.3 \
664 SSL_CTX_set_tmp_dh_callback.3 SSL_set_tmp_dh.3 \
665 SSL_CTX_set_tmp_dh_callback.3 SSL_set_tmp_dh_callback.3 \
666 SSL_CTX_set_tmp_rsa_callback.3 SSL_CTX_need_tmp_rsa.3 \
667 SSL_CTX_set_tmp_rsa_callback.3 SSL_CTX_set_tmp_rsa.3 \
668 SSL_CTX_set_tmp_rsa_callback.3 SSL_need_tmp_rsa.3 \
669 SSL_CTX_set_tmp_rsa_callback.3 SSL_set_tmp_rsa.3 \
670 SSL_CTX_set_tmp_rsa_callback.3 SSL_set_tmp_rsa_callback.3 \
671 SSL_CTX_set_verify.3 SSL_CTX_set_verify_depth.3 \
672 SSL_CTX_set_verify.3 SSL_set_verify.3 \
673 SSL_CTX_set_verify.3 SSL_set_verify_depth.3 \
674 SSL_CTX_use_certificate.3 SSL_CTX_check_private_key.3 \
675 SSL_CTX_use_certificate.3 SSL_CTX_use_PrivateKey.3 \
676 SSL_CTX_use_certificate.3 SSL_CTX_use_PrivateKey_ASN1.3 \
677 SSL_CTX_use_certificate.3 SSL_CTX_use_PrivateKey_file.3 \
678 SSL_CTX_use_certificate.3 SSL_CTX_use_RSAPrivateKey.3 \
679 SSL_CTX_use_certificate.3 SSL_CTX_use_RSAPrivateKey_ASN1.3 \
680 SSL_CTX_use_certificate.3 SSL_CTX_use_RSAPrivateKey_file.3 \
681 SSL_CTX_use_certificate.3 SSL_CTX_use_certificate_ASN1.3 \
682 SSL_CTX_use_certificate.3 SSL_CTX_use_certificate_chain_file.3 \
683 SSL_CTX_use_certificate.3 SSL_CTX_use_certificate_file.3 \
684 SSL_CTX_use_certificate.3 SSL_check_private_key.3 \
685 SSL_CTX_use_certificate.3 SSL_use_PrivateKey.3 \
686 SSL_CTX_use_certificate.3 SSL_use_PrivateKey_ASN1.3 \
687 SSL_CTX_use_certificate.3 SSL_use_PrivateKey_file.3 \
688 SSL_CTX_use_certificate.3 SSL_use_RSAPrivateKey.3 \
689 SSL_CTX_use_certificate.3 SSL_use_RSAPrivateKey_ASN1.3 \
690 SSL_CTX_use_certificate.3 SSL_use_RSAPrivateKey_file.3 \
691 SSL_CTX_use_certificate.3 SSL_use_certificate.3 \
692 SSL_CTX_use_certificate.3 SSL_use_certificate_ASN1.3 \
693 SSL_CTX_use_certificate.3 SSL_use_certificate_file.3 \
694 SSL_SESSION_get_ex_new_index.3 SSL_SESSION_get_ex_data.3 \
695 SSL_SESSION_get_ex_new_index.3 SSL_SESSION_set_ex_data.3 \
696 SSL_SESSION_get_time.3 SSL_SESSION_get_timeout.3 \
697 SSL_SESSION_get_time.3 SSL_SESSION_set_time.3 \
698 SSL_SESSION_get_time.3 SSL_SESSION_set_timeout.3 \
699 SSL_SESSION_get_time.3 SSL_get_time.3 \
700 SSL_SESSION_get_time.3 SSL_get_timeout.3 \
701 SSL_SESSION_get_time.3 SSL_set_time.3 \
702 SSL_SESSION_get_time.3 SSL_set_timeout.3 \
703 SSL_alert_type_string.3 SSL_alert_desc_string.3 \
704 SSL_alert_type_string.3 SSL_alert_desc_string_long.3 \
705 SSL_alert_type_string.3 SSL_alert_type_string_long.3 \
706 SSL_get_ciphers.3 SSL_get_cipher_list.3 \
707 SSL_get_client_CA_list.3 SSL_CTX_get_client_CA_list.3 \
708 SSL_get_current_cipher.3 SSL_get_cipher.3 \
709 SSL_get_current_cipher.3 SSL_get_cipher_bits.3 \
710 SSL_get_current_cipher.3 SSL_get_cipher_name.3 \
711 SSL_get_current_cipher.3 SSL_get_cipher_version.3 \
712 SSL_get_ex_new_index.3 SSL_get_ex_data.3 \
713 SSL_get_ex_new_index.3 SSL_set_ex_data.3 \
714 SSL_get_fd.3 SSL_get_rfd.3 \
715 SSL_get_fd.3 SSL_get_wfd.3 \
716 SSL_get_rbio.3 SSL_get_wbio.3 \
717 SSL_get_session.3 SSL_get0_session.3 \
718 SSL_get_session.3 SSL_get1_session.3 \
719 SSL_library_init.3 OpenSSL_add_ssl_algorithms.3 \
720 SSL_library_init.3 SSLeay_add_ssl_algorithms.3 \
721 SSL_rstate_string.3 SSL_rstate_string_long.3 \
722 SSL_set_connect_state.3 SSL_set_accept_state.3 \
723 SSL_set_fd.3 SSL_set_rfd.3 \
724 SSL_set_fd.3 SSL_set_wfd.3 \
725 SSL_set_shutdown.3 SSL_get_shutdown.3 \
726 SSL_state_string.3 SSL_state_string_long.3 \
727 SSL_want.3 SSL_want_nothing.3 \
728 SSL_want.3 SSL_want_read.3 \
729 SSL_want.3 SSL_want_write.3 \
730 SSL_want.3 SSL_want_x509_lookup.3 \
731 blowfish.3 BF_cbc.3 \
732 blowfish.3 BF_cbc_encrypt.3 \
733 blowfish.3 BF_cfb64_encrypt.3 \
734 blowfish.3 BF_decrypt.3 \
735 blowfish.3 BF_ecb.3 \
736 blowfish.3 BF_ecb_encrypt.3 \
737 blowfish.3 BF_encrypt.3 \
738 blowfish.3 BF_ofb64_encrypt.3 \
739 blowfish.3 BF_options.3 \
740 blowfish.3 BF_set_key.3 \
741 bn_internal.3 bn_add_words.3 \
742 bn_internal.3 bn_check_top.3 \
743 bn_internal.3 bn_cmp_words.3 \
744 bn_internal.3 bn_div_words.3 \
745 bn_internal.3 bn_dump.3 \
746 bn_internal.3 bn_expand.3 \
747 bn_internal.3 bn_expand2.3 \
748 bn_internal.3 bn_fix_top.3 \
749 bn_internal.3 bn_mul_add_words.3 \
750 bn_internal.3 bn_mul_comba4.3 \
751 bn_internal.3 bn_mul_comba8.3 \
752 bn_internal.3 bn_mul_high.3 \
753 bn_internal.3 bn_mul_low_normal.3 \
754 bn_internal.3 bn_mul_low_recursive.3 \
755 bn_internal.3 bn_mul_normal.3 \
756 bn_internal.3 bn_mul_part_recursive.3 \
757 bn_internal.3 bn_mul_recursive.3 \
758 bn_internal.3 bn_mul_words.3 \
759 bn_internal.3 bn_print.3 \
760 bn_internal.3 bn_set_high.3 \
761 bn_internal.3 bn_set_low.3 \
762 bn_internal.3 bn_set_max.3 \
763 bn_internal.3 bn_sqr_comba4.3 \
764 bn_internal.3 bn_sqr_comba8.3 \
765 bn_internal.3 bn_sqr_normal.3 \
766 bn_internal.3 bn_sqr_recursive.3 \
767 bn_internal.3 bn_sqr_words.3 \
768 bn_internal.3 bn_sub_words.3 \
769 bn_internal.3 bn_wexpand.3 \
770 bn_internal.3 mul.3 \
771 bn_internal.3 mul_add.3 \
772 bn_internal.3 sqr.3 \
773 d2i_DHparams.3 i2d_DHparams.3 \
774 d2i_RSAPublicKey.3 d2i_Netscape_RSA.3 \
775 d2i_RSAPublicKey.3 d2i_RSAPrivateKey.3 \
776 d2i_RSAPublicKey.3 i2d_Netscape_RSA.3 \
777 d2i_RSAPublicKey.3 i2d_RSAPrivateKey.3 \
778 d2i_RSAPublicKey.3 i2d_RSAPublicKey.3 \
779 d2i_SSL_SESSION.3 i2d_SSL_SESSION.3 \
780 des_crypt.3 des_string_to_2keys.3 \
781 des_random_key.3 des_cbc_cksum.3 \
782 des_random_key.3 des_cfb64_encrypt.3 \
783 des_random_key.3 des_cfb_encrypt.3 \
784 des_random_key.3 des_crypt.3 \
785 des_random_key.3 des_ecb2_encrypt.3 \
786 des_random_key.3 des_ecb3_encrypt.3 \
787 des_random_key.3 des_ecb_encrypt.3 \
788 des_random_key.3 des_ede2_cbc_encrypt.3 \
789 des_random_key.3 des_ede2_cfb64_encrypt.3 \
790 des_random_key.3 des_ede2_ofb64_encrypt.3 \
791 des_random_key.3 des_ede3_cbc_encrypt.3 \
792 des_random_key.3 des_ede3_cbcm_encrypt.3 \
793 des_random_key.3 des_ede3_cfb64_encrypt.3 \
794 des_random_key.3 des_ede3_ofb64_encrypt.3 \
795 des_random_key.3 des_enc_read.3 \
796 des_random_key.3 des_enc_write.3 \
797 des_random_key.3 des_fcrypt.3 \
798 des_random_key.3 des_is_weak_key.3 \
799 des_random_key.3 des_key_sched.3 \
800 des_random_key.3 des_ncbc_encrypt.3 \
801 des_random_key.3 des_ofb64_encrypt.3 \
802 des_random_key.3 des_ofb_encrypt.3 \
803 des_random_key.3 des_pcbc_encrypt.3 \
804 des_random_key.3 des_quad_cksum.3 \
805 des_random_key.3 des_read_2passwords.3 \
806 des_random_key.3 des_read_password.3 \
807 des_random_key.3 des_read_pw_string.3 \
808 des_random_key.3 des_set_key.3 \
809 des_random_key.3 des_set_key_checked.3 \
810 des_random_key.3 des_set_key_unchecked.3 \
811 des_random_key.3 des_set_odd_parity.3 \
812 des_random_key.3 des_string_to_2keys.3 \
813 des_random_key.3 des_string_to_key.3 \
814 des_random_key.3 des_xcbc_encrypt.3 \
815 dsa.3 DSA_OpenSSL.3 \
816 dsa.3 DSA_SIG_free.3 \
817 dsa.3 DSA_do_verify.3 \
818 dsa.3 DSA_free.3 \
819 dsa.3 DSA_get_default_method.3 \
820 dsa.3 DSA_get_ex_data.3 \
821 dsa.3 DSA_new_method.3 \
822 dsa.3 DSA_set_default_method.3 \
823 dsa.3 DSA_set_ex_data.3 \
824 dsa.3 DSA_sign_setup.3 \
825 dsa.3 DSA_verify.3 \
826 dsa.3 d2i_DSAPrivateKey.3 \
827 dsa.3 d2i_DSAPublicKey.3 \
828 dsa.3 d2i_DSA_SIG.3 \
829 dsa.3 d2i_DSAparams.3 \
830 dsa.3 i2d_DSAPrivateKey.3 \
831 dsa.3 i2d_DSAPublicKey.3 \
832 dsa.3 i2d_DSA_SIG.3 \
833 dsa.3 i2d_DSAparams.3 \
834 lh_stats.3 lh_node_stats.3 \
835 lh_stats.3 lh_node_stats_bio.3 \
836 lh_stats.3 lh_node_usage_stats.3 \
837 lh_stats.3 lh_node_usage_stats_bio.3 \
838 lh_stats.3 lh_stats_bio.3 \
839 lhash.3 lh_delete.3 \
840 lhash.3 lh_doall.3 \
841 lhash.3 lh_doall_arg.3 \
842 lhash.3 lh_error.3 \
843 lhash.3 lh_free.3 \
844 lhash.3 lh_insert.3 \
845 lhash.3 lh_new.3 \
846 lhash.3 lh_retrieve.3
847
848.include <bsd.man.mk>
849.else
850maninstall:
851
852.endif
853
854# XXX .PATH order is critical because of non-unique filenames
855.PATH: ${.CURDIR}/../src/doc/crypto ${.CURDIR}/../src/doc/ssl ${.CURDIR}/../src/doc/apps
856.SUFFIXES: .pod
857.pod.cat3:
858 ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \
859 --center='OpenSSL' --release="OpenBSD `uname -r`" \
860 `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET}
861.pod.cat7:
862 ( cd `dirname ${.ALLSRC}` && pod2man --section=7 --official \
863 --center='OpenSSL' --release="OpenBSD `uname -r`" \
864 `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET}
865.pod.cat1:
866 ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \
867 --center='OpenSSL' --release="OpenBSD `uname -r`" \
868 `basename ${.ALLSRC}` ) | nroff -Tascii -man > ${.TARGET}
869
870.pod.ps3:
871 ( cd `dirname ${.ALLSRC}` && pod2man --section=3 --official \
872 --center='OpenSSL' --release="OpenBSD `uname -r`" \
873 `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET}
874.pod.ps7:
875 ( cd `dirname ${.ALLSRC}` && pod2man --section=7 --official \
876 --center='OpenSSL' --release="OpenBSD `uname -r`" \
877 `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET}
878.pod.ps1:
879 ( cd `dirname ${.ALLSRC}` && pod2man --section=1 --official \
880 --center='OpenSSL' --release="OpenBSD `uname -r`" \
881 `basename ${.ALLSRC}` ) | nroff -Tps -man > ${.TARGET}
882
883.include <bsd.obj.mk>
884.include <bsd.subdir.mk>
885
886CLEANFILES+=\
887 BUF_MEM_new.pm \
888 CRYPTO_set_locking_callback.pm \
889 HMAC.pm \
890 MDC2.pm \
891 RC4.pm \
892 RIPEMD160.pm \
893 SHA1.pm \
894 des_random_key.pm \
895 MD5.pm \
896
897clean:
898 rm -f ${CLEANFILES}
diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile
index 8f687b5cef..7282f43793 100644
--- a/src/lib/libssl/ssl/Makefile
+++ b/src/lib/libssl/ssl/Makefile
@@ -1,10 +1,10 @@
1# $OpenBSD: Makefile,v 1.15 2002/09/03 18:59:56 markus Exp $
1 2
2LIB= ssl 3LIB= ssl
3 4
4SSLEAYDIST= src 5SSLEAYDIST= src
5 6
6LSSL_SRC= ${.CURDIR}/../${SSLEAYDIST}/ssl 7LSSL_SRC= ${.CURDIR}/../${SSLEAYDIST}/ssl
7LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto
8 8
9.if ${MACHINE_ARCH} == "i386" 9.if ${MACHINE_ARCH} == "i386"
10CFLAGS+= -DL_ENDIAN -DBN_ASM 10CFLAGS+= -DL_ENDIAN -DBN_ASM
@@ -26,8 +26,6 @@ CFLAGS+= -DB_ENDIAN
26 26
27CFLAGS+= -DOPENSSL_NO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR 27CFLAGS+= -DOPENSSL_NO_IDEA -DTERMIOS -DANSI_SOURCE -DNO_ERR
28CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 -DSO_DLFCN -DHAVE_DLFCN_H 28CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 -DSO_DLFCN -DHAVE_DLFCN_H
29CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}/include
30CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}/crypto
31CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} 29CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST}
32 30
33SRCS= bio_ssl.c s2_clnt.c s3_both.c s3_srvr.c ssl_err2.c ssl_txt.c \ 31SRCS= bio_ssl.c s2_clnt.c s3_both.c s3_srvr.c ssl_err2.c ssl_txt.c \