diff options
42 files changed, 4998 insertions, 977 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile new file mode 100644 index 0000000000..c0496ca2d1 --- /dev/null +++ b/src/lib/libcrypto/Makefile | |||
@@ -0,0 +1,24 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1 2014/04/11 22:51:53 miod Exp $ | ||
2 | |||
3 | SUBDIR=crypto man | ||
4 | PC_FILES=libcrypto.pc | ||
5 | |||
6 | CLEANFILES=${PC_FILES} | ||
7 | |||
8 | distribution: | ||
9 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
10 | ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \ | ||
11 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
12 | ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \ | ||
13 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
14 | ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf | ||
15 | |||
16 | beforeinstall: | ||
17 | /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} | ||
18 | .for p in ${PC_FILES} | ||
19 | ${INSTALL} ${INSTALL_COPY} -o root -g ${SHAREGRP} \ | ||
20 | -m ${SHAREMODE} ${.OBJDIR}/$p ${DESTDIR}/usr/lib/pkgconfig/ | ||
21 | .endfor | ||
22 | |||
23 | .include <bsd.prog.mk> | ||
24 | .include <bsd.subdir.mk> | ||
diff --git a/src/lib/libssl/crypto/arch/alpha/opensslconf.h b/src/lib/libcrypto/arch/alpha/opensslconf.h index 30f6acfbb1..30f6acfbb1 100644 --- a/src/lib/libssl/crypto/arch/alpha/opensslconf.h +++ b/src/lib/libcrypto/arch/alpha/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/amd64/opensslconf.h b/src/lib/libcrypto/arch/amd64/opensslconf.h index f969fd75e4..f969fd75e4 100644 --- a/src/lib/libssl/crypto/arch/amd64/opensslconf.h +++ b/src/lib/libcrypto/arch/amd64/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/arm/opensslconf.h b/src/lib/libcrypto/arch/arm/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/arm/opensslconf.h +++ b/src/lib/libcrypto/arch/arm/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/hppa/opensslconf.h b/src/lib/libcrypto/arch/hppa/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/hppa/opensslconf.h +++ b/src/lib/libcrypto/arch/hppa/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/hppa64/opensslconf.h b/src/lib/libcrypto/arch/hppa64/opensslconf.h index f8f478ff52..f8f478ff52 100644 --- a/src/lib/libssl/crypto/arch/hppa64/opensslconf.h +++ b/src/lib/libcrypto/arch/hppa64/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/i386/opensslconf.h b/src/lib/libcrypto/arch/i386/opensslconf.h index f7b5a6dc38..f7b5a6dc38 100644 --- a/src/lib/libssl/crypto/arch/i386/opensslconf.h +++ b/src/lib/libcrypto/arch/i386/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/m88k/opensslconf.h b/src/lib/libcrypto/arch/m88k/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/m88k/opensslconf.h +++ b/src/lib/libcrypto/arch/m88k/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/mips64/opensslconf.h b/src/lib/libcrypto/arch/mips64/opensslconf.h index e55282fd63..e55282fd63 100644 --- a/src/lib/libssl/crypto/arch/mips64/opensslconf.h +++ b/src/lib/libcrypto/arch/mips64/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/powerpc/opensslconf.h b/src/lib/libcrypto/arch/powerpc/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/powerpc/opensslconf.h +++ b/src/lib/libcrypto/arch/powerpc/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/sh/opensslconf.h b/src/lib/libcrypto/arch/sh/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/sh/opensslconf.h +++ b/src/lib/libcrypto/arch/sh/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/sparc/opensslconf.h b/src/lib/libcrypto/arch/sparc/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/sparc/opensslconf.h +++ b/src/lib/libcrypto/arch/sparc/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/sparc64/opensslconf.h b/src/lib/libcrypto/arch/sparc64/opensslconf.h index e55282fd63..e55282fd63 100644 --- a/src/lib/libssl/crypto/arch/sparc64/opensslconf.h +++ b/src/lib/libcrypto/arch/sparc64/opensslconf.h | |||
diff --git a/src/lib/libssl/crypto/arch/vax/bn_asm_vax.S b/src/lib/libcrypto/arch/vax/bn_asm_vax.S index efa9b6ebd6..2969ae9dac 100644 --- a/src/lib/libssl/crypto/arch/vax/bn_asm_vax.S +++ b/src/lib/libcrypto/arch/vax/bn_asm_vax.S | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: bn_asm_vax.S,v 1.3 2013/07/05 21:10:50 miod Exp $ | 1 | # $OpenBSD: bn_asm_vax.S,v 1.1 2014/04/11 22:51:53 miod Exp $ |
2 | # $NetBSD: bn_asm_vax.S,v 1.1 2003/11/03 10:22:28 ragge Exp $ | 2 | # $NetBSD: bn_asm_vax.S,v 1.1 2003/11/03 10:22:28 ragge Exp $ |
3 | 3 | ||
4 | #include <machine/asm.h> | 4 | #include <machine/asm.h> |
diff --git a/src/lib/libssl/crypto/arch/vax/opensslconf.h b/src/lib/libcrypto/arch/vax/opensslconf.h index fc5ea38470..fc5ea38470 100644 --- a/src/lib/libssl/crypto/arch/vax/opensslconf.h +++ b/src/lib/libcrypto/arch/vax/opensslconf.h | |||
diff --git a/src/lib/libssl/cert.pem b/src/lib/libcrypto/cert.pem index 7305e2d0ef..7305e2d0ef 100644 --- a/src/lib/libssl/cert.pem +++ b/src/lib/libcrypto/cert.pem | |||
diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libcrypto/crypto/Makefile index 7e59def4b8..d95ac156ec 100644 --- a/src/lib/libssl/crypto/Makefile +++ b/src/lib/libcrypto/crypto/Makefile | |||
@@ -1,9 +1,8 @@ | |||
1 | # $OpenBSD: Makefile,v 1.64 2013/07/13 16:34:43 miod Exp $ | 1 | # $OpenBSD: Makefile,v 1.1 2014/04/11 22:51:53 miod Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | 4 | ||
5 | SSLEAYDIST= src | 5 | SSL_SRC= ${.CURDIR}/../../libssl/src |
6 | SSL_SRC= ${.CURDIR}/../${SSLEAYDIST} | ||
7 | LCRYPTO_SRC= ${SSL_SRC}/crypto | 6 | LCRYPTO_SRC= ${SSL_SRC}/crypto |
8 | 7 | ||
9 | # arm and sh default to little endian, mips defaults to big endian | 8 | # arm and sh default to little endian, mips defaults to big endian |
@@ -38,7 +37,7 @@ CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? | |||
38 | CFLAGS+= -DOPENSSL_NO_HW_SUREWARE | 37 | CFLAGS+= -DOPENSSL_NO_HW_SUREWARE |
39 | CFLAGS+= -DOPENSSL_NO_HW_UBSEC | 38 | CFLAGS+= -DOPENSSL_NO_HW_UBSEC |
40 | 39 | ||
41 | CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} | 40 | CFLAGS+= -I${SSL_SRC} |
42 | CFLAGS+= -I${LCRYPTO_SRC} | 41 | CFLAGS+= -I${LCRYPTO_SRC} |
43 | CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp | 42 | CFLAGS+= -I${LCRYPTO_SRC}/modes -I${LCRYPTO_SRC}/asn1 -I${LCRYPTO_SRC}/evp |
44 | 43 | ||
diff --git a/src/lib/libcrypto/crypto/arch/alpha/opensslconf.h b/src/lib/libcrypto/crypto/arch/alpha/opensslconf.h new file mode 100644 index 0000000000..30f6acfbb1 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/alpha/opensslconf.h | |||
@@ -0,0 +1,271 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #define RC4_CHUNK unsigned long | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #undef BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #define SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #undef THIRTY_TWO_BIT | ||
186 | #endif | ||
187 | |||
188 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
189 | #define CONFIG_HEADER_RC4_LOCL_H | ||
190 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
191 | * speedup on x86 */ | ||
192 | #undef RC4_INDEX | ||
193 | #endif | ||
194 | |||
195 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
196 | #define CONFIG_HEADER_BF_LOCL_H | ||
197 | #define BF_PTR | ||
198 | #endif /* HEADER_BF_LOCL_H */ | ||
199 | |||
200 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
201 | #define CONFIG_HEADER_DES_LOCL_H | ||
202 | #ifndef DES_DEFAULT_OPTIONS | ||
203 | /* the following is tweaked from a config script, that is why it is a | ||
204 | * protected undef/define */ | ||
205 | #ifndef DES_PTR | ||
206 | #define DES_PTR | ||
207 | #endif | ||
208 | |||
209 | /* This helps C compiler generate the correct code for multiple functional | ||
210 | * units. It reduces register dependancies at the expense of 2 more | ||
211 | * registers */ | ||
212 | #ifndef DES_RISC1 | ||
213 | #undef DES_RISC1 | ||
214 | #endif | ||
215 | |||
216 | #ifndef DES_RISC2 | ||
217 | #define DES_RISC2 | ||
218 | #endif | ||
219 | |||
220 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
221 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
222 | #endif | ||
223 | |||
224 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
225 | * Very mucy CPU dependant */ | ||
226 | #ifndef DES_UNROLL | ||
227 | #undef DES_UNROLL | ||
228 | #endif | ||
229 | |||
230 | /* These default values were supplied by | ||
231 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
232 | * They are only used if nothing else has been defined */ | ||
233 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
234 | /* Special defines which change the way the code is built depending on the | ||
235 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
236 | even newer MIPS CPU's, but at the moment one size fits all for | ||
237 | optimization options. Older Sparc's work better with only UNROLL, but | ||
238 | there's no way to tell at compile time what it is you're running on */ | ||
239 | |||
240 | #if defined( sun ) /* Newer Sparc's */ | ||
241 | # define DES_PTR | ||
242 | # define DES_RISC1 | ||
243 | # define DES_UNROLL | ||
244 | #elif defined( __ultrix ) /* Older MIPS */ | ||
245 | # define DES_PTR | ||
246 | # define DES_RISC2 | ||
247 | # define DES_UNROLL | ||
248 | #elif defined( __osf1__ ) /* Alpha */ | ||
249 | # define DES_PTR | ||
250 | # define DES_RISC2 | ||
251 | #elif defined ( _AIX ) /* RS6000 */ | ||
252 | /* Unknown */ | ||
253 | #elif defined( __hpux ) /* HP-PA */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __aux ) /* 68K */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
258 | # define DES_UNROLL | ||
259 | #elif defined( __sgi ) /* Newer MIPS */ | ||
260 | # define DES_PTR | ||
261 | # define DES_RISC2 | ||
262 | # define DES_UNROLL | ||
263 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
264 | # define DES_PTR | ||
265 | # define DES_RISC1 | ||
266 | # define DES_UNROLL | ||
267 | #endif /* Systems-specific speed defines */ | ||
268 | #endif | ||
269 | |||
270 | #endif /* DES_DEFAULT_OPTIONS */ | ||
271 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/amd64/opensslconf.h b/src/lib/libcrypto/crypto/arch/amd64/opensslconf.h new file mode 100644 index 0000000000..f969fd75e4 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/amd64/opensslconf.h | |||
@@ -0,0 +1,268 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #define RC4_CHUNK unsigned long | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #undef BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | #define SIXTY_FOUR_BIT_LONG | ||
181 | #undef SIXTY_FOUR_BIT | ||
182 | #undef THIRTY_TWO_BIT | ||
183 | #endif | ||
184 | |||
185 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
186 | #define CONFIG_HEADER_RC4_LOCL_H | ||
187 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
188 | * speedup on x86 */ | ||
189 | #undef RC4_INDEX | ||
190 | #endif | ||
191 | |||
192 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
193 | #define CONFIG_HEADER_BF_LOCL_H | ||
194 | #undef BF_PTR | ||
195 | #endif /* HEADER_BF_LOCL_H */ | ||
196 | |||
197 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
198 | #define CONFIG_HEADER_DES_LOCL_H | ||
199 | #ifndef DES_DEFAULT_OPTIONS | ||
200 | /* the following is tweaked from a config script, that is why it is a | ||
201 | * protected undef/define */ | ||
202 | #ifndef DES_PTR | ||
203 | #undef DES_PTR | ||
204 | #endif | ||
205 | |||
206 | /* This helps C compiler generate the correct code for multiple functional | ||
207 | * units. It reduces register dependancies at the expense of 2 more | ||
208 | * registers */ | ||
209 | #ifndef DES_RISC1 | ||
210 | #undef DES_RISC1 | ||
211 | #endif | ||
212 | |||
213 | #ifndef DES_RISC2 | ||
214 | #undef DES_RISC2 | ||
215 | #endif | ||
216 | |||
217 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
218 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
219 | #endif | ||
220 | |||
221 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
222 | * Very mucy CPU dependant */ | ||
223 | #ifndef DES_UNROLL | ||
224 | #define DES_UNROLL | ||
225 | #endif | ||
226 | |||
227 | /* These default values were supplied by | ||
228 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
229 | * They are only used if nothing else has been defined */ | ||
230 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
231 | /* Special defines which change the way the code is built depending on the | ||
232 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
233 | even newer MIPS CPU's, but at the moment one size fits all for | ||
234 | optimization options. Older Sparc's work better with only UNROLL, but | ||
235 | there's no way to tell at compile time what it is you're running on */ | ||
236 | |||
237 | #if defined( sun ) /* Newer Sparc's */ | ||
238 | # define DES_PTR | ||
239 | # define DES_RISC1 | ||
240 | # define DES_UNROLL | ||
241 | #elif defined( __ultrix ) /* Older MIPS */ | ||
242 | # define DES_PTR | ||
243 | # define DES_RISC2 | ||
244 | # define DES_UNROLL | ||
245 | #elif defined( __osf1__ ) /* Alpha */ | ||
246 | # define DES_PTR | ||
247 | # define DES_RISC2 | ||
248 | #elif defined ( _AIX ) /* RS6000 */ | ||
249 | /* Unknown */ | ||
250 | #elif defined( __hpux ) /* HP-PA */ | ||
251 | /* Unknown */ | ||
252 | #elif defined( __aux ) /* 68K */ | ||
253 | /* Unknown */ | ||
254 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
255 | # define DES_UNROLL | ||
256 | #elif defined( __sgi ) /* Newer MIPS */ | ||
257 | # define DES_PTR | ||
258 | # define DES_RISC2 | ||
259 | # define DES_UNROLL | ||
260 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
261 | # define DES_PTR | ||
262 | # define DES_RISC1 | ||
263 | # define DES_UNROLL | ||
264 | #endif /* Systems-specific speed defines */ | ||
265 | #endif | ||
266 | |||
267 | #endif /* DES_DEFAULT_OPTIONS */ | ||
268 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/arm/opensslconf.h b/src/lib/libcrypto/crypto/arch/arm/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/arm/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/hppa/opensslconf.h b/src/lib/libcrypto/crypto/arch/hppa/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/hppa/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/hppa64/opensslconf.h b/src/lib/libcrypto/crypto/arch/hppa64/opensslconf.h new file mode 100644 index 0000000000..f8f478ff52 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/hppa64/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #undef BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #define SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #undef THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #define DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/i386/opensslconf.h b/src/lib/libcrypto/crypto/arch/i386/opensslconf.h new file mode 100644 index 0000000000..f7b5a6dc38 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/i386/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned long | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #define DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #define DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/m88k/opensslconf.h b/src/lib/libcrypto/crypto/arch/m88k/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/m88k/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/mips64/opensslconf.h b/src/lib/libcrypto/crypto/arch/mips64/opensslconf.h new file mode 100644 index 0000000000..e55282fd63 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/mips64/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #define RC4_CHUNK unsigned long | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #undef BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #define SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #undef THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #undef RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #define BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #define DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #define DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #undef DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/powerpc/opensslconf.h b/src/lib/libcrypto/crypto/arch/powerpc/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/powerpc/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/sh/opensslconf.h b/src/lib/libcrypto/crypto/arch/sh/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/sh/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/sparc/opensslconf.h b/src/lib/libcrypto/crypto/arch/sparc/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/sparc/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/sparc64/opensslconf.h b/src/lib/libcrypto/crypto/arch/sparc64/opensslconf.h new file mode 100644 index 0000000000..e55282fd63 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/sparc64/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #define RC4_CHUNK unsigned long | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #undef BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #define SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #undef THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #undef RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #define BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #define DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #define DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #undef DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libcrypto/crypto/arch/vax/bn_asm_vax.S b/src/lib/libcrypto/crypto/arch/vax/bn_asm_vax.S new file mode 100644 index 0000000000..2969ae9dac --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/vax/bn_asm_vax.S | |||
@@ -0,0 +1,436 @@ | |||
1 | # $OpenBSD: bn_asm_vax.S,v 1.1 2014/04/11 22:51:53 miod Exp $ | ||
2 | # $NetBSD: bn_asm_vax.S,v 1.1 2003/11/03 10:22:28 ragge Exp $ | ||
3 | |||
4 | #include <machine/asm.h> | ||
5 | |||
6 | # w.j.m. 15-jan-1999 | ||
7 | # | ||
8 | # it's magic ... | ||
9 | # | ||
10 | # ULONG bn_mul_add_words(ULONG r[],ULONG a[],int n,ULONG w) { | ||
11 | # ULONG c = 0; | ||
12 | # int i; | ||
13 | # for(i = 0; i < n; i++) <c,r[i]> := r[i] + c + a[i] * w ; | ||
14 | # return c; | ||
15 | # } | ||
16 | |||
17 | ENTRY(bn_mul_add_words,R6) | ||
18 | movl 4(%ap),%r2 # *r | ||
19 | movl 8(%ap),%r3 # *a | ||
20 | movl 12(%ap),%r4 # n | ||
21 | movl 16(%ap),%r5 # w | ||
22 | clrl %r6 # return value ("carry") | ||
23 | |||
24 | 0: emul %r5,(%r3),(%r2),%r0 # w * a[0] + r[0] -> r0 | ||
25 | |||
26 | # fixup for "negative" r[] | ||
27 | tstl (%r2) | ||
28 | bgeq 1f | ||
29 | incl %r1 # add 1 to highword | ||
30 | |||
31 | 1: # add saved carry to result | ||
32 | addl2 %r6,%r0 | ||
33 | adwc $0,%r1 | ||
34 | |||
35 | # combined fixup for "negative" w, a[] | ||
36 | tstl %r5 # if w is negative... | ||
37 | bgeq 1f | ||
38 | addl2 (%r3),%r1 # ...add a[0] again to highword | ||
39 | 1: tstl (%r3) # if a[0] is negative... | ||
40 | bgeq 1f | ||
41 | addl2 %r5,%r1 # ...add w again to highword | ||
42 | 1: | ||
43 | movl %r0,(%r2)+ # save low word in dest & advance *r | ||
44 | addl2 $4,%r3 # advance *a | ||
45 | movl %r1,%r6 # high word in r6 for return value | ||
46 | |||
47 | sobgtr %r4,0b # loop? | ||
48 | |||
49 | movl %r6,%r0 | ||
50 | ret | ||
51 | |||
52 | # .title vax_bn_mul_words unsigned multiply & add, 32*32+32=>64 | ||
53 | #; | ||
54 | #; w.j.m. 15-jan-1999 | ||
55 | #; | ||
56 | #; it's magic ... | ||
57 | #; | ||
58 | #; ULONG bn_mul_words(ULONG r[],ULONG a[],int n,ULONG w) { | ||
59 | #; ULONG c = 0; | ||
60 | #; int i; | ||
61 | #; for(i = 0; i < num; i++) <c,r[i]> := a[i] * w + c ; | ||
62 | #; return(c); | ||
63 | #; } | ||
64 | # | ||
65 | |||
66 | ENTRY(bn_mul_words,R6) | ||
67 | movl 4(%ap),%r2 # *r | ||
68 | movl 8(%ap),%r3 # *a | ||
69 | movl 12(%ap),%r4 # n | ||
70 | movl 16(%ap),%r5 # w | ||
71 | clrl %r6 # carry | ||
72 | |||
73 | 0: emul %r5,(%r3),%r6,%r0 # w * a[0] + carry -> r0 | ||
74 | |||
75 | # fixup for "negative" carry | ||
76 | tstl %r6 | ||
77 | bgeq 1f | ||
78 | incl %r1 | ||
79 | |||
80 | 1: # combined fixup for "negative" w, a[] | ||
81 | tstl %r5 | ||
82 | bgeq 1f | ||
83 | addl2 (%r3),%r1 | ||
84 | 1: tstl (%r3) | ||
85 | bgeq 1f | ||
86 | addl2 %r5,%r1 | ||
87 | |||
88 | 1: movl %r0,(%r2)+ | ||
89 | addl2 $4,%r3 | ||
90 | movl %r1,%r6 | ||
91 | |||
92 | sobgtr %r4,0b | ||
93 | |||
94 | movl %r6,%r0 | ||
95 | ret | ||
96 | |||
97 | |||
98 | |||
99 | # .title vax_bn_sqr_words unsigned square, 32*32=>64 | ||
100 | #; | ||
101 | #; w.j.m. 15-jan-1999 | ||
102 | #; | ||
103 | #; it's magic ... | ||
104 | #; | ||
105 | #; void bn_sqr_words(ULONG r[],ULONG a[],int n) { | ||
106 | #; int i; | ||
107 | #; for(i = 0; i < n; i++) <r[2*i+1],r[2*i]> := a[i] * a[i] ; | ||
108 | #; } | ||
109 | # | ||
110 | |||
111 | ENTRY(bn_sqr_words,0) | ||
112 | movl 4(%ap),%r2 # r | ||
113 | movl 8(%ap),%r3 # a | ||
114 | movl 12(%ap),%r4 # n | ||
115 | |||
116 | 0: movl (%r3)+,%r5 # r5 = a[] & advance | ||
117 | |||
118 | emul %r5,%r5,$0,%r0 # a[0] * a[0] + 0 -> r0 | ||
119 | |||
120 | # fixup for "negative" a[] | ||
121 | tstl %r5 | ||
122 | bgeq 1f | ||
123 | addl2 %r5,%r1 | ||
124 | addl2 %r5,%r1 | ||
125 | |||
126 | 1: movq %r0,(%r2)+ # store 64-bit result | ||
127 | |||
128 | sobgtr %r4,0b # loop | ||
129 | |||
130 | ret | ||
131 | |||
132 | |||
133 | # .title vax_bn_div_words unsigned divide | ||
134 | #; | ||
135 | #; Richard Levitte 20-Nov-2000 | ||
136 | #; | ||
137 | #; ULONG bn_div_words(ULONG h, ULONG l, ULONG d) | ||
138 | #; { | ||
139 | #; return ((ULONG)((((ULLONG)h)<<32)|l) / (ULLONG)d); | ||
140 | #; } | ||
141 | #; | ||
142 | #; Using EDIV would be very easy, if it didn't do signed calculations. | ||
143 | #; Any time any of the input numbers are signed, there are problems, | ||
144 | #; usually with integer overflow, at which point it returns useless | ||
145 | #; data (the quotient gets the value of l, and the remainder becomes 0). | ||
146 | #; | ||
147 | #; If it was just for the dividend, it would be very easy, just divide | ||
148 | #; it by 2 (unsigned), do the division, multiply the resulting quotient | ||
149 | #; and remainder by 2, add the bit that was dropped when dividing by 2 | ||
150 | #; to the remainder, and do some adjustment so the remainder doesn't | ||
151 | #; end up larger than the divisor. For some cases when the divisor is | ||
152 | #; negative (from EDIV's point of view, i.e. when the highest bit is set), | ||
153 | #; dividing the dividend by 2 isn't enough, and since some operations | ||
154 | #; might generate integer overflows even when the dividend is divided by | ||
155 | #; 4 (when the high part of the shifted down dividend ends up being exactly | ||
156 | #; half of the divisor, the result is the quotient 0x80000000, which is | ||
157 | #; negative...) it needs to be divided by 8. Furthermore, the divisor needs | ||
158 | #; to be divided by 2 (unsigned) as well, to avoid more problems with the sign. | ||
159 | #; In this case, a little extra fiddling with the remainder is required. | ||
160 | #; | ||
161 | #; So, the simplest way to handle this is always to divide the dividend | ||
162 | #; by 8, and to divide the divisor by 2 if it's highest bit is set. | ||
163 | #; After EDIV has been used, the quotient gets multiplied by 8 if the | ||
164 | #; original divisor was positive, otherwise 4. The remainder, oddly | ||
165 | #; enough, is *always* multiplied by 8. | ||
166 | #; NOTE: in the case mentioned above, where the high part of the shifted | ||
167 | #; down dividend ends up being exactly half the shifted down divisor, we | ||
168 | #; end up with a 33 bit quotient. That's no problem however, it usually | ||
169 | #; means we have ended up with a too large remainder as well, and the | ||
170 | #; problem is fixed by the last part of the algorithm (next paragraph). | ||
171 | #; | ||
172 | #; The routine ends with comparing the resulting remainder with the | ||
173 | #; original divisor and if the remainder is larger, subtract the | ||
174 | #; original divisor from it, and increase the quotient by 1. This is | ||
175 | #; done until the remainder is smaller than the divisor. | ||
176 | #; | ||
177 | #; The complete algorithm looks like this: | ||
178 | #; | ||
179 | #; d' = d | ||
180 | #; l' = l & 7 | ||
181 | #; [h,l] = [h,l] >> 3 | ||
182 | #; [q,r] = floor([h,l] / d) # This is the EDIV operation | ||
183 | #; if (q < 0) q = -q # I doubt this is necessary any more | ||
184 | #; | ||
185 | #; r' = r >> 29 | ||
186 | #; if (d' >= 0) | ||
187 | #; q' = q >> 29 | ||
188 | #; q = q << 3 | ||
189 | #; else | ||
190 | #; q' = q >> 30 | ||
191 | #; q = q << 2 | ||
192 | #; r = (r << 3) + l' | ||
193 | #; | ||
194 | #; if (d' < 0) | ||
195 | #; { | ||
196 | #; [r',r] = [r',r] - q | ||
197 | #; while ([r',r] < 0) | ||
198 | #; { | ||
199 | #; [r',r] = [r',r] + d | ||
200 | #; [q',q] = [q',q] - 1 | ||
201 | #; } | ||
202 | #; } | ||
203 | #; | ||
204 | #; while ([r',r] >= d') | ||
205 | #; { | ||
206 | #; [r',r] = [r',r] - d' | ||
207 | #; [q',q] = [q',q] + 1 | ||
208 | #; } | ||
209 | #; | ||
210 | #; return q | ||
211 | # | ||
212 | #;r2 = l, q | ||
213 | #;r3 = h, r | ||
214 | #;r4 = d | ||
215 | #;r5 = l' | ||
216 | #;r6 = r' | ||
217 | #;r7 = d' | ||
218 | #;r8 = q' | ||
219 | # | ||
220 | |||
221 | ENTRY(bn_div_words,R6|R7|R8) | ||
222 | movl 4(%ap),%r3 # h | ||
223 | movl 8(%ap),%r2 # l | ||
224 | movl 12(%ap),%r4 # d | ||
225 | |||
226 | bicl3 $-8,%r2,%r5 # l' = l & 7 | ||
227 | bicl3 $7,%r2,%r2 | ||
228 | |||
229 | bicl3 $-8,%r3,%r6 | ||
230 | bicl3 $7,%r3,%r3 | ||
231 | |||
232 | addl2 %r6,%r2 | ||
233 | |||
234 | rotl $-3,%r2,%r2 # l = l >> 3 | ||
235 | rotl $-3,%r3,%r3 # h = h >> 3 | ||
236 | |||
237 | movl %r4,%r7 # d' = d | ||
238 | |||
239 | clrl %r6 # r' = 0 | ||
240 | clrl %r8 # q' = 0 | ||
241 | |||
242 | tstl %r4 | ||
243 | beql 0f # Uh-oh, the divisor is 0... | ||
244 | bgtr 1f | ||
245 | rotl $-1,%r4,%r4 # If d is negative, shift it right. | ||
246 | bicl2 $0x80000000,%r4 # Since d is then a large number, the | ||
247 | # lowest bit is insignificant | ||
248 | # (contradict that, and I'll fix the problem!) | ||
249 | 1: | ||
250 | ediv %r4,%r2,%r2,%r3 # Do the actual division | ||
251 | |||
252 | tstl %r2 | ||
253 | bgeq 1f | ||
254 | mnegl %r2,%r2 # if q < 0, negate it | ||
255 | 1: | ||
256 | tstl %r7 | ||
257 | blss 1f | ||
258 | rotl $3,%r2,%r2 # q = q << 3 | ||
259 | bicl3 $-8,%r2,%r8 # q' gets the high bits from q | ||
260 | bicl3 $7,%r2,%r2 | ||
261 | brb 2f | ||
262 | |||
263 | 1: # else | ||
264 | rotl $2,%r2,%r2 # q = q << 2 | ||
265 | bicl3 $-4,%r2,%r8 # q' gets the high bits from q | ||
266 | bicl3 $3,%r2,%r2 | ||
267 | 2: | ||
268 | rotl $3,%r3,%r3 # r = r << 3 | ||
269 | bicl3 $-8,%r3,%r6 # r' gets the high bits from r | ||
270 | bicl3 $7,%r3,%r3 | ||
271 | addl2 %r5,%r3 # r = r + l' | ||
272 | |||
273 | tstl %r7 | ||
274 | bgeq 5f | ||
275 | bitl $1,%r7 | ||
276 | beql 5f # if d' < 0 && d' & 1 | ||
277 | subl2 %r2,%r3 # [r',r] = [r',r] - [q',q] | ||
278 | sbwc %r8,%r6 | ||
279 | 3: | ||
280 | bgeq 5f # while r < 0 | ||
281 | decl %r2 # [q',q] = [q',q] - 1 | ||
282 | sbwc $0,%r8 | ||
283 | addl2 %r7,%r3 # [r',r] = [r',r] + d' | ||
284 | adwc $0,%r6 | ||
285 | brb 3b | ||
286 | |||
287 | # The return points are placed in the middle to keep a short distance from | ||
288 | # all the branch points | ||
289 | 1: | ||
290 | # movl %r3,%r1 | ||
291 | movl %r2,%r0 | ||
292 | ret | ||
293 | 0: | ||
294 | movl $-1,%r0 | ||
295 | ret | ||
296 | 5: | ||
297 | tstl %r6 | ||
298 | bneq 6f | ||
299 | cmpl %r3,%r7 | ||
300 | blssu 1b # while [r',r] >= d' | ||
301 | 6: | ||
302 | subl2 %r7,%r3 # [r',r] = [r',r] - d' | ||
303 | sbwc $0,%r6 | ||
304 | incl %r2 # [q',q] = [q',q] + 1 | ||
305 | adwc $0,%r8 | ||
306 | brb 5b | ||
307 | |||
308 | |||
309 | |||
310 | # .title vax_bn_add_words unsigned add of two arrays | ||
311 | #; | ||
312 | #; Richard Levitte 20-Nov-2000 | ||
313 | #; | ||
314 | #; ULONG bn_add_words(ULONG r[], ULONG a[], ULONG b[], int n) { | ||
315 | #; ULONG c = 0; | ||
316 | #; int i; | ||
317 | #; for (i = 0; i < n; i++) <c,r[i]> = a[i] + b[i] + c; | ||
318 | #; return(c); | ||
319 | #; } | ||
320 | # | ||
321 | |||
322 | ENTRY(bn_add_words,0) | ||
323 | movl 4(%ap),%r2 # r | ||
324 | movl 8(%ap),%r3 # a | ||
325 | movl 12(%ap),%r4 # b | ||
326 | movl 16(%ap),%r5 # n | ||
327 | clrl %r0 | ||
328 | |||
329 | tstl %r5 | ||
330 | bleq 1f | ||
331 | |||
332 | 0: movl (%r3)+,%r1 # carry untouched | ||
333 | adwc (%r4)+,%r1 # carry used and touched | ||
334 | movl %r1,(%r2)+ # carry untouched | ||
335 | sobgtr %r5,0b # carry untouched | ||
336 | |||
337 | adwc $0,%r0 | ||
338 | 1: ret | ||
339 | |||
340 | #; | ||
341 | #; Richard Levitte 20-Nov-2000 | ||
342 | #; | ||
343 | #; ULONG bn_sub_words(ULONG r[], ULONG a[], ULONG b[], int n) { | ||
344 | #; ULONG c = 0; | ||
345 | #; int i; | ||
346 | #; for (i = 0; i < n; i++) <c,r[i]> = a[i] - b[i] - c; | ||
347 | #; return(c); | ||
348 | #; } | ||
349 | # | ||
350 | |||
351 | ENTRY(bn_sub_words,R6) | ||
352 | movl 4(%ap),%r2 # r | ||
353 | movl 8(%ap),%r3 # a | ||
354 | movl 12(%ap),%r4 # b | ||
355 | movl 16(%ap),%r5 # n | ||
356 | clrl %r0 | ||
357 | |||
358 | tstl %r5 | ||
359 | bleq 1f | ||
360 | |||
361 | 0: movl (%r3)+,%r6 # carry untouched | ||
362 | sbwc (%r4)+,%r6 # carry used and touched | ||
363 | movl %r6,(%r2)+ # carry untouched | ||
364 | sobgtr %r5,0b # carry untouched | ||
365 | |||
366 | 1: adwc $0,%r0 | ||
367 | ret | ||
368 | |||
369 | # | ||
370 | # Ragge 20-Sep-2003 | ||
371 | # | ||
372 | # Multiply a vector of 4/8 longword by another. | ||
373 | # Uses two loops and 16/64 emuls. | ||
374 | # | ||
375 | |||
376 | ENTRY(bn_mul_comba4,R6|R7|R8|R9) | ||
377 | movl $4,%r9 # 4*4 | ||
378 | brb 6f | ||
379 | |||
380 | ENTRY(bn_mul_comba8,R6|R7|R8|R9) | ||
381 | movl $8,%r9 # 8*8 | ||
382 | |||
383 | 6: movl 8(%ap),%r3 # a[] | ||
384 | movl 12(%ap),%r7 # b[] | ||
385 | brb 5f | ||
386 | |||
387 | ENTRY(bn_sqr_comba4,R6|R7|R8|R9) | ||
388 | movl $4,%r9 # 4*4 | ||
389 | brb 0f | ||
390 | |||
391 | ENTRY(bn_sqr_comba8,R6|R7|R8|R9) | ||
392 | movl $8,%r9 # 8*8 | ||
393 | |||
394 | 0: | ||
395 | movl 8(%ap),%r3 # a[] | ||
396 | movl %r3,%r7 # a[] | ||
397 | |||
398 | 5: movl 4(%ap),%r5 # r[] | ||
399 | movl %r9,%r8 | ||
400 | |||
401 | clrq (%r5) # clear destinatino, for add. | ||
402 | clrq 8(%r5) | ||
403 | clrq 16(%r5) # these only needed for comba8 | ||
404 | clrq 24(%r5) | ||
405 | |||
406 | 2: clrl %r4 # carry | ||
407 | movl %r9,%r6 # inner loop count | ||
408 | movl (%r7)+,%r2 # value to multiply with | ||
409 | |||
410 | 1: emul %r2,(%r3),%r4,%r0 | ||
411 | tstl %r4 | ||
412 | bgeq 3f | ||
413 | incl %r1 | ||
414 | 3: tstl %r2 | ||
415 | bgeq 3f | ||
416 | addl2 (%r3),%r1 | ||
417 | 3: tstl (%r3) | ||
418 | bgeq 3f | ||
419 | addl2 %r2,%r1 | ||
420 | |||
421 | 3: addl2 %r0,(%r5)+ # add to destination | ||
422 | adwc $0,%r1 # remember carry | ||
423 | movl %r1,%r4 # add carry in next emul | ||
424 | addl2 $4,%r3 | ||
425 | sobgtr %r6,1b | ||
426 | |||
427 | movl %r4,(%r5) # save highest add result | ||
428 | |||
429 | ashl $2,%r9,%r4 | ||
430 | subl2 %r4,%r3 | ||
431 | subl2 $4,%r4 | ||
432 | subl2 %r4,%r5 | ||
433 | |||
434 | sobgtr %r8,2b | ||
435 | |||
436 | ret | ||
diff --git a/src/lib/libcrypto/crypto/arch/vax/opensslconf.h b/src/lib/libcrypto/crypto/arch/vax/opensslconf.h new file mode 100644 index 0000000000..fc5ea38470 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/vax/opensslconf.h | |||
@@ -0,0 +1,273 @@ | |||
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 | |||
8 | #ifndef OPENSSL_NO_CAMELLIA | ||
9 | # define OPENSSL_NO_CAMELLIA | ||
10 | #endif | ||
11 | #ifndef OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
12 | # define OPENSSL_NO_EC_NISTP_64_GCC_128 | ||
13 | #endif | ||
14 | #ifndef OPENSSL_NO_CMS | ||
15 | # define OPENSSL_NO_CMS | ||
16 | #endif | ||
17 | #ifndef OPENSSL_NO_GMP | ||
18 | # define OPENSSL_NO_GMP | ||
19 | #endif | ||
20 | #ifndef OPENSSL_NO_GOST | ||
21 | # define OPENSSL_NO_GOST | ||
22 | #endif | ||
23 | #ifndef OPENSSL_NO_JPAKE | ||
24 | # define OPENSSL_NO_JPAKE | ||
25 | #endif | ||
26 | #ifndef OPENSSL_NO_KRB5 | ||
27 | # define OPENSSL_NO_KRB5 | ||
28 | #endif | ||
29 | #ifndef OPENSSL_NO_MD2 | ||
30 | # define OPENSSL_NO_MD2 | ||
31 | #endif | ||
32 | #ifndef OPENSSL_NO_RC5 | ||
33 | # define OPENSSL_NO_RC5 | ||
34 | #endif | ||
35 | #ifndef OPENSSL_NO_RFC3779 | ||
36 | # define OPENSSL_NO_RFC3779 | ||
37 | #endif | ||
38 | #ifndef OPENSSL_NO_SCTP | ||
39 | # define OPENSSL_NO_SCTP | ||
40 | #endif | ||
41 | #ifndef OPENSSL_NO_SEED | ||
42 | # define OPENSSL_NO_SEED | ||
43 | #endif | ||
44 | #ifndef OPENSSL_NO_SRP | ||
45 | # define OPENSSL_NO_SRP | ||
46 | #endif | ||
47 | #ifndef OPENSSL_NO_SSL2 | ||
48 | # define OPENSSL_NO_SSL2 | ||
49 | #endif | ||
50 | #ifndef OPENSSL_NO_STORE | ||
51 | # define OPENSSL_NO_STORE | ||
52 | #endif | ||
53 | |||
54 | #endif /* OPENSSL_DOING_MAKEDEPEND */ | ||
55 | |||
56 | #ifndef OPENSSL_THREADS | ||
57 | # define OPENSSL_THREADS | ||
58 | #endif | ||
59 | #ifndef OPENSSL_NO_DYNAMIC_ENGINE | ||
60 | # define OPENSSL_NO_DYNAMIC_ENGINE | ||
61 | #endif | ||
62 | |||
63 | /* The OPENSSL_NO_* macros are also defined as NO_* if the application | ||
64 | asks for it. This is a transient feature that is provided for those | ||
65 | who haven't had the time to do the appropriate changes in their | ||
66 | applications. */ | ||
67 | #ifdef OPENSSL_ALGORITHM_DEFINES | ||
68 | # if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) | ||
69 | # define NO_CAMELLIA | ||
70 | # endif | ||
71 | # if defined(OPENSSL_NO_EC_NISTP_64_GCC_128) && !defined(NO_EC_NISTP_64_GCC_128) | ||
72 | # define NO_EC_NISTP_64_GCC_128 | ||
73 | # endif | ||
74 | # if defined(OPENSSL_NO_CMS) && !defined(NO_CMS) | ||
75 | # define NO_CMS | ||
76 | # endif | ||
77 | # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) | ||
78 | # define NO_GMP | ||
79 | # endif | ||
80 | # if defined(OPENSSL_NO_GOST) && !defined(NO_GOST) | ||
81 | # define NO_GOST | ||
82 | # endif | ||
83 | # if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) | ||
84 | # define NO_JPAKE | ||
85 | # endif | ||
86 | # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) | ||
87 | # define NO_KRB5 | ||
88 | # endif | ||
89 | # if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) | ||
90 | # define NO_MD2 | ||
91 | # endif | ||
92 | # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) | ||
93 | # define NO_RC5 | ||
94 | # endif | ||
95 | # if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) | ||
96 | # define NO_RFC3779 | ||
97 | # endif | ||
98 | # if defined(OPENSSL_NO_SCTP) && !defined(NO_SCTP) | ||
99 | # define NO_SCTP | ||
100 | # endif | ||
101 | # if defined(OPENSSL_NO_SEED) && !defined(NO_SEED) | ||
102 | # define NO_SEED | ||
103 | # endif | ||
104 | # if defined(OPENSSL_NO_SRP) && !defined(NO_SRP) | ||
105 | # define NO_SRP | ||
106 | # endif | ||
107 | # if defined(OPENSSL_NO_SSL2) && !defined(NO_SSL2) | ||
108 | # define NO_SSL2 | ||
109 | # endif | ||
110 | # if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) | ||
111 | # define NO_STORE | ||
112 | # endif | ||
113 | #endif | ||
114 | |||
115 | /* crypto/opensslconf.h.in */ | ||
116 | |||
117 | /* Generate 80386 code? */ | ||
118 | #undef I386_ONLY | ||
119 | |||
120 | #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ | ||
121 | #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) | ||
122 | #define ENGINESDIR "/usr/lib/engines" | ||
123 | #define OPENSSLDIR "/etc/ssl" | ||
124 | #endif | ||
125 | #endif | ||
126 | |||
127 | #undef OPENSSL_UNISTD | ||
128 | #define OPENSSL_UNISTD <unistd.h> | ||
129 | |||
130 | #undef OPENSSL_EXPORT_VAR_AS_FUNCTION | ||
131 | |||
132 | #if defined(HEADER_IDEA_H) && !defined(IDEA_INT) | ||
133 | #define IDEA_INT unsigned int | ||
134 | #endif | ||
135 | |||
136 | #if defined(HEADER_MD2_H) && !defined(MD2_INT) | ||
137 | #define MD2_INT unsigned int | ||
138 | #endif | ||
139 | |||
140 | #if defined(HEADER_RC2_H) && !defined(RC2_INT) | ||
141 | /* I need to put in a mod for the alpha - eay */ | ||
142 | #define RC2_INT unsigned int | ||
143 | #endif | ||
144 | |||
145 | #if defined(HEADER_RC4_H) | ||
146 | #if !defined(RC4_INT) | ||
147 | /* using int types make the structure larger but make the code faster | ||
148 | * on most boxes I have tested - up to %20 faster. */ | ||
149 | /* | ||
150 | * I don't know what does "most" mean, but declaring "int" is a must on: | ||
151 | * - Intel P6 because partial register stalls are very expensive; | ||
152 | * - elder Alpha because it lacks byte load/store instructions; | ||
153 | */ | ||
154 | #define RC4_INT unsigned int | ||
155 | #endif | ||
156 | #if !defined(RC4_CHUNK) | ||
157 | /* | ||
158 | * This enables code handling data aligned at natural CPU word | ||
159 | * boundary. See crypto/rc4/rc4_enc.c for further details. | ||
160 | */ | ||
161 | #undef RC4_CHUNK | ||
162 | #endif | ||
163 | #endif | ||
164 | |||
165 | #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) | ||
166 | /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a | ||
167 | * %20 speed up (longs are 8 bytes, int's are 4). */ | ||
168 | #ifndef DES_LONG | ||
169 | #define DES_LONG unsigned int | ||
170 | #endif | ||
171 | #endif | ||
172 | |||
173 | #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) | ||
174 | #define CONFIG_HEADER_BN_H | ||
175 | #define BN_LLONG | ||
176 | |||
177 | /* Should we define BN_DIV2W here? */ | ||
178 | |||
179 | /* Only one for the following should be defined */ | ||
180 | /* The prime number generation stuff may not work when | ||
181 | * EIGHT_BIT but I don't care since I've only used this mode | ||
182 | * for debuging the bignum libraries */ | ||
183 | #undef SIXTY_FOUR_BIT_LONG | ||
184 | #undef SIXTY_FOUR_BIT | ||
185 | #define THIRTY_TWO_BIT | ||
186 | #undef SIXTEEN_BIT | ||
187 | #undef EIGHT_BIT | ||
188 | #endif | ||
189 | |||
190 | #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) | ||
191 | #define CONFIG_HEADER_RC4_LOCL_H | ||
192 | /* if this is defined data[i] is used instead of *data, this is a %20 | ||
193 | * speedup on x86 */ | ||
194 | #define RC4_INDEX | ||
195 | #endif | ||
196 | |||
197 | #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) | ||
198 | #define CONFIG_HEADER_BF_LOCL_H | ||
199 | #undef BF_PTR | ||
200 | #endif /* HEADER_BF_LOCL_H */ | ||
201 | |||
202 | #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) | ||
203 | #define CONFIG_HEADER_DES_LOCL_H | ||
204 | #ifndef DES_DEFAULT_OPTIONS | ||
205 | /* the following is tweaked from a config script, that is why it is a | ||
206 | * protected undef/define */ | ||
207 | #ifndef DES_PTR | ||
208 | #undef DES_PTR | ||
209 | #endif | ||
210 | |||
211 | /* This helps C compiler generate the correct code for multiple functional | ||
212 | * units. It reduces register dependancies at the expense of 2 more | ||
213 | * registers */ | ||
214 | #ifndef DES_RISC1 | ||
215 | #undef DES_RISC1 | ||
216 | #endif | ||
217 | |||
218 | #ifndef DES_RISC2 | ||
219 | #undef DES_RISC2 | ||
220 | #endif | ||
221 | |||
222 | #if defined(DES_RISC1) && defined(DES_RISC2) | ||
223 | YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! | ||
224 | #endif | ||
225 | |||
226 | /* Unroll the inner loop, this sometimes helps, sometimes hinders. | ||
227 | * Very mucy CPU dependant */ | ||
228 | #ifndef DES_UNROLL | ||
229 | #define DES_UNROLL | ||
230 | #endif | ||
231 | |||
232 | /* These default values were supplied by | ||
233 | * Peter Gutman <pgut001@cs.auckland.ac.nz> | ||
234 | * They are only used if nothing else has been defined */ | ||
235 | #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) | ||
236 | /* Special defines which change the way the code is built depending on the | ||
237 | CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find | ||
238 | even newer MIPS CPU's, but at the moment one size fits all for | ||
239 | optimization options. Older Sparc's work better with only UNROLL, but | ||
240 | there's no way to tell at compile time what it is you're running on */ | ||
241 | |||
242 | #if defined( sun ) /* Newer Sparc's */ | ||
243 | # define DES_PTR | ||
244 | # define DES_RISC1 | ||
245 | # define DES_UNROLL | ||
246 | #elif defined( __ultrix ) /* Older MIPS */ | ||
247 | # define DES_PTR | ||
248 | # define DES_RISC2 | ||
249 | # define DES_UNROLL | ||
250 | #elif defined( __osf1__ ) /* Alpha */ | ||
251 | # define DES_PTR | ||
252 | # define DES_RISC2 | ||
253 | #elif defined ( _AIX ) /* RS6000 */ | ||
254 | /* Unknown */ | ||
255 | #elif defined( __hpux ) /* HP-PA */ | ||
256 | /* Unknown */ | ||
257 | #elif defined( __aux ) /* 68K */ | ||
258 | /* Unknown */ | ||
259 | #elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ | ||
260 | # define DES_UNROLL | ||
261 | #elif defined( __sgi ) /* Newer MIPS */ | ||
262 | # define DES_PTR | ||
263 | # define DES_RISC2 | ||
264 | # define DES_UNROLL | ||
265 | #elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ | ||
266 | # define DES_PTR | ||
267 | # define DES_RISC1 | ||
268 | # define DES_UNROLL | ||
269 | #endif /* Systems-specific speed defines */ | ||
270 | #endif | ||
271 | |||
272 | #endif /* DES_DEFAULT_OPTIONS */ | ||
273 | #endif /* HEADER_DES_LOCL_H */ | ||
diff --git a/src/lib/libssl/crypto/shlib_version b/src/lib/libcrypto/crypto/shlib_version index df4de0fc4d..df4de0fc4d 100644 --- a/src/lib/libssl/crypto/shlib_version +++ b/src/lib/libcrypto/crypto/shlib_version | |||
diff --git a/src/lib/libcrypto/generate_pkgconfig.sh b/src/lib/libcrypto/generate_pkgconfig.sh new file mode 100644 index 0000000000..d0660d3c57 --- /dev/null +++ b/src/lib/libcrypto/generate_pkgconfig.sh | |||
@@ -0,0 +1,75 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # $OpenBSD: generate_pkgconfig.sh,v 1.1 2014/04/11 22:51:53 miod Exp $ | ||
4 | # | ||
5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> | ||
6 | # | ||
7 | # Permission to use, copy, modify, and distribute this software for any | ||
8 | # purpose with or without fee is hereby granted, provided that the above | ||
9 | # copyright notice and this permission notice appear in all copies. | ||
10 | # | ||
11 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
12 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
13 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
14 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
15 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
16 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
17 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
18 | # | ||
19 | # Generate pkg-config files for OpenSSL. | ||
20 | |||
21 | usage() { | ||
22 | echo "usage: ${0##*/} -c current_directory -o obj_directory" | ||
23 | exit 1 | ||
24 | } | ||
25 | |||
26 | curdir= | ||
27 | objdir= | ||
28 | while getopts "c:o:" flag; do | ||
29 | case "$flag" in | ||
30 | c) | ||
31 | curdir=$OPTARG | ||
32 | ;; | ||
33 | o) | ||
34 | objdir=$OPTARG | ||
35 | ;; | ||
36 | *) | ||
37 | usage | ||
38 | ;; | ||
39 | esac | ||
40 | done | ||
41 | |||
42 | [ -n "${curdir}" ] || usage | ||
43 | if [ ! -d "${curdir}" ]; then | ||
44 | echo "${0##*/}: ${curdir}: not found" | ||
45 | exit 1 | ||
46 | fi | ||
47 | [ -n "${objdir}" ] || usage | ||
48 | if [ ! -w "${objdir}" ]; then | ||
49 | echo "${0##*/}: ${objdir}: not found or not writable" | ||
50 | exit 1 | ||
51 | fi | ||
52 | |||
53 | version_re="s/^#define[[:blank:]]+SHLIB_VERSION_NUMBER[[:blank:]]+\"(.*)\".*/\1/p" | ||
54 | #version_file=${curdir}/src/crypto/opensslv.h | ||
55 | version_file=${curdir}/../libssl/src/crypto/opensslv.h | ||
56 | lib_version=$(sed -nE ${version_re} ${version_file}) | ||
57 | |||
58 | # Put -I${includedir} into Cflags so configure script tests like | ||
59 | # test -n "`pkg-config --cflags openssl`" | ||
60 | # don't assume that OpenSSL isn't available. | ||
61 | |||
62 | pc_file="${objdir}/libcrypto.pc" | ||
63 | cat > ${pc_file} << __EOF__ | ||
64 | prefix=/usr | ||
65 | exec_prefix=\${prefix} | ||
66 | libdir=\${exec_prefix}/lib | ||
67 | includedir=\${prefix}/include | ||
68 | |||
69 | Name: OpenSSL-libcrypto | ||
70 | Description: OpenSSL cryptography library | ||
71 | Version: ${lib_version} | ||
72 | Requires: | ||
73 | Libs: -L\${libdir} -lcrypto | ||
74 | Cflags: -I\${includedir} | ||
75 | __EOF__ | ||
diff --git a/src/lib/libcrypto/man/Makefile b/src/lib/libcrypto/man/Makefile new file mode 100644 index 0000000000..503829ae8d --- /dev/null +++ b/src/lib/libcrypto/man/Makefile | |||
@@ -0,0 +1,903 @@ | |||
1 | # $OpenBSD: Makefile,v 1.1 2014/04/11 22:51:53 miod Exp $ | ||
2 | |||
3 | .include <bsd.own.mk> # for NOMAN | ||
4 | |||
5 | POD2MAN=pod2man --official --release="OpenBSD ${OSREV}" --center=OpenSSL | ||
6 | |||
7 | .ifndef NOMAN | ||
8 | MAN= \ | ||
9 | ASN1_OBJECT_new.3 \ | ||
10 | ASN1_STRING_length.3 \ | ||
11 | ASN1_STRING_new.3 \ | ||
12 | ASN1_STRING_print_ex.3 \ | ||
13 | ASN1_generate_nconf.3 \ | ||
14 | BIO_ctrl.3 \ | ||
15 | BIO_f_base64.3 \ | ||
16 | BIO_f_buffer.3 \ | ||
17 | BIO_f_cipher.3 \ | ||
18 | BIO_f_md.3 \ | ||
19 | BIO_f_null.3 \ | ||
20 | BIO_find_type.3 \ | ||
21 | BIO_new.3 \ | ||
22 | BIO_push.3 \ | ||
23 | BIO_read.3 \ | ||
24 | BIO_s_accept.3 \ | ||
25 | BIO_s_bio.3 \ | ||
26 | BIO_s_connect.3 \ | ||
27 | BIO_s_fd.3 \ | ||
28 | BIO_s_file.3 \ | ||
29 | BIO_s_mem.3 \ | ||
30 | BIO_s_null.3 \ | ||
31 | BIO_s_socket.3 \ | ||
32 | BIO_set_callback.3 \ | ||
33 | BIO_should_retry.3 \ | ||
34 | BN_BLINDING_new.3 \ | ||
35 | BN_CTX_new.3 \ | ||
36 | BN_CTX_start.3 \ | ||
37 | BN_add.3 \ | ||
38 | BN_add_word.3 \ | ||
39 | BN_bn2bin.3 \ | ||
40 | BN_cmp.3 \ | ||
41 | BN_copy.3 \ | ||
42 | BN_generate_prime.3 \ | ||
43 | BN_mod_inverse.3 \ | ||
44 | BN_mod_mul_montgomery.3 \ | ||
45 | BN_mod_mul_reciprocal.3 \ | ||
46 | BN_new.3 \ | ||
47 | BN_num_bytes.3 \ | ||
48 | BN_rand.3 \ | ||
49 | BN_set_bit.3 \ | ||
50 | BN_swap.3 \ | ||
51 | BN_zero.3 \ | ||
52 | CONF_modules_free.3 \ | ||
53 | CONF_modules_load_file.3 \ | ||
54 | CRYPTO_set_ex_data.3 \ | ||
55 | DH_generate_key.3 \ | ||
56 | DH_generate_parameters.3 \ | ||
57 | DH_get_ex_new_index.3 \ | ||
58 | DH_new.3 \ | ||
59 | DH_set_method.3 \ | ||
60 | DH_size.3 \ | ||
61 | DSA_SIG_new.3 \ | ||
62 | DSA_do_sign.3 \ | ||
63 | DSA_dup_DH.3 \ | ||
64 | DSA_generate_key.3 \ | ||
65 | DSA_generate_parameters.3 \ | ||
66 | DSA_get_ex_new_index.3 \ | ||
67 | DSA_new.3 \ | ||
68 | DSA_set_method.3 \ | ||
69 | DSA_sign.3 \ | ||
70 | DSA_size.3 \ | ||
71 | ERR_GET_LIB.3 \ | ||
72 | ERR_clear_error.3 \ | ||
73 | ERR_error_string.3 \ | ||
74 | ERR_get_error.3 \ | ||
75 | ERR_load_crypto_strings.3 \ | ||
76 | ERR_load_strings.3 \ | ||
77 | ERR_print_errors.3 \ | ||
78 | ERR_put_error.3 \ | ||
79 | ERR_remove_state.3 \ | ||
80 | ERR_set_mark.3 \ | ||
81 | EVP_BytesToKey.3 \ | ||
82 | EVP_DigestInit.3 \ | ||
83 | EVP_DigestSignInit.3 \ | ||
84 | EVP_DigestVerifyInit.3 \ | ||
85 | EVP_EncryptInit.3 \ | ||
86 | EVP_OpenInit.3 \ | ||
87 | EVP_PKEY_new.3 \ | ||
88 | EVP_PKEY_set1_RSA.3 \ | ||
89 | EVP_SealInit.3 \ | ||
90 | EVP_SignInit.3 \ | ||
91 | EVP_VerifyInit.3 \ | ||
92 | OBJ_nid2obj.3 \ | ||
93 | OPENSSL_VERSION_NUMBER.3 \ | ||
94 | OPENSSL_config.3 \ | ||
95 | OPENSSL_load_builtin_modules.3 \ | ||
96 | OpenSSL_add_all_algorithms.3 \ | ||
97 | PKCS12_create.3 \ | ||
98 | PKCS12_parse.3 \ | ||
99 | PKCS7_decrypt.3 \ | ||
100 | PKCS7_encrypt.3 \ | ||
101 | PKCS7_sign.3 \ | ||
102 | PKCS7_verify.3 \ | ||
103 | RAND_add.3 \ | ||
104 | RAND_bytes.3 \ | ||
105 | RAND_cleanup.3 \ | ||
106 | RAND_egd.3 \ | ||
107 | RAND_load_file.3 \ | ||
108 | RAND_set_rand_method.3 \ | ||
109 | RSA_blinding_on.3 \ | ||
110 | RSA_check_key.3 \ | ||
111 | RSA_generate_key.3 \ | ||
112 | RSA_get_ex_new_index.3 \ | ||
113 | RSA_new.3 \ | ||
114 | RSA_padding_add_PKCS1_type_1.3 \ | ||
115 | RSA_print.3 \ | ||
116 | RSA_private_encrypt.3 \ | ||
117 | RSA_public_encrypt.3 \ | ||
118 | RSA_set_method.3 \ | ||
119 | RSA_sign.3 \ | ||
120 | RSA_sign_ASN1_OCTET_STRING.3 \ | ||
121 | RSA_size.3 \ | ||
122 | SMIME_read_PKCS7.3 \ | ||
123 | SMIME_write_PKCS7.3 \ | ||
124 | X509_NAME_ENTRY_get_object.3 \ | ||
125 | X509_NAME_add_entry_by_txt.3 \ | ||
126 | X509_NAME_get_index_by_NID.3 \ | ||
127 | X509_NAME_print_ex.3 \ | ||
128 | X509_new.3 \ | ||
129 | X509_STORE_CTX_get_error.3 \ | ||
130 | X509_STORE_CTX_get_ex_new_index.3 \ | ||
131 | X509_STORE_CTX_new.3 \ | ||
132 | X509_STORE_CTX_set_verify_cb.3 \ | ||
133 | X509_STORE_set_verify_cb_func.3 \ | ||
134 | X509_VERIFY_PARAM_set_flags.3 \ | ||
135 | X509_verify_cert.3 \ | ||
136 | bn.3 \ | ||
137 | bn_internal.3 \ | ||
138 | crypto.3 \ | ||
139 | d2i_ASN1_OBJECT.3 \ | ||
140 | d2i_DHparams.3 \ | ||
141 | d2i_DSAPublicKey.3 \ | ||
142 | d2i_PKCS8PrivateKey.3 \ | ||
143 | d2i_RSAPublicKey.3 \ | ||
144 | d2i_X509.3 \ | ||
145 | d2i_X509_ALGOR.3 \ | ||
146 | d2i_X509_CRL.3 \ | ||
147 | d2i_X509_NAME.3 \ | ||
148 | d2i_X509_REQ.3 \ | ||
149 | d2i_X509_SIG.3 \ | ||
150 | dh.3 \ | ||
151 | dsa.3 \ | ||
152 | ecdsa.3 \ | ||
153 | engine.3 \ | ||
154 | evp.3 \ | ||
155 | lh_stats.3 \ | ||
156 | lhash.3 \ | ||
157 | pem.3 \ | ||
158 | rsa.3 \ | ||
159 | ui.3 \ | ||
160 | ui_compat.3 \ | ||
161 | x509.3 \ | ||
162 | BF_set_key.3 \ | ||
163 | BIO.3 \ | ||
164 | BUF_MEM_new.3 \ | ||
165 | CRYPTO_set_locking_callback.3 \ | ||
166 | DES_set_key.3 \ | ||
167 | ERR.3 \ | ||
168 | HMAC.3 \ | ||
169 | MD5.3 \ | ||
170 | PEM_read_bio_PrivateKey.3 \ | ||
171 | RAND.3 \ | ||
172 | RC4.3 \ | ||
173 | RIPEMD160.3 \ | ||
174 | SHA1.3 | ||
175 | |||
176 | # These pages removed/renamed | ||
177 | # OPENSSL_ia32cap.cat3 \ # i386-only, internal API | ||
178 | # OPENSSL_Applink.cat3 \ # Win32 only | ||
179 | # bio.cat3 \ # conflict; see below | ||
180 | # blowfish.cat3 \ # conflict; see below | ||
181 | # buffer.cat3 \ # conflict; see below | ||
182 | # des.cat3 \ # conflict; see below | ||
183 | # des_modes.cat3 \ # fairly pointless | ||
184 | # hmac.cat3 \ # conflict; see below | ||
185 | # md5.cat3 \ # conflict; see below | ||
186 | # mdc2.cat3 \ # patents; removed | ||
187 | # rand.cat3 \ # conflict; see below | ||
188 | # rc4.cat3 \ # conflict; see below | ||
189 | # ripemd.cat3 \ # conflict; see below | ||
190 | # sha.cat3 \ # conflict; see below | ||
191 | |||
192 | |||
193 | # these are a real problem, since they re-document functions described in | ||
194 | # other pages. | ||
195 | |||
196 | .for page src in \ | ||
197 | BF_set_key blowfish \ | ||
198 | BIO bio \ | ||
199 | BUF_MEM_new buffer \ | ||
200 | CRYPTO_set_locking_callback threads \ | ||
201 | DES_set_key des \ | ||
202 | ERR err \ | ||
203 | HMAC hmac \ | ||
204 | MD5 md5 \ | ||
205 | PEM_read_bio_PrivateKey pem \ | ||
206 | RAND rand \ | ||
207 | RC4 rc4 \ | ||
208 | RIPEMD160 ripemd \ | ||
209 | SHA1 sha | ||
210 | |||
211 | ${page}.3: ${src}.pod | ||
212 | @echo '${POD2MAN} --section=3 --name=${page:U} $? > $@' | ||
213 | @${POD2MAN} --section=3 --name=${page:U} $? > $@.tmp && mv $@.tmp $@ | ||
214 | .endfor | ||
215 | |||
216 | MLINKS+=\ | ||
217 | ASN1_OBJECT_new.3 ASN1_OBJECT_free.3 \ | ||
218 | ASN1_STRING_length.3 ASN1_STRING_cmp.3 \ | ||
219 | ASN1_STRING_length.3 ASN1_STRING_data.3 \ | ||
220 | ASN1_STRING_length.3 ASN1_STRING_dup.3 \ | ||
221 | ASN1_STRING_length.3 ASN1_STRING_set.3 \ | ||
222 | ASN1_STRING_length.3 ASN1_STRING_to_UTF8.3 \ | ||
223 | ASN1_STRING_length.3 ASN1_STRING_type.3 \ | ||
224 | ASN1_STRING_new.3 ASN1_STRING_free.3 \ | ||
225 | ASN1_STRING_new.3 ASN1_STRING_type_new.3 \ | ||
226 | ASN1_STRING_print_ex.3 ASN1_STRING_print.3 \ | ||
227 | ASN1_STRING_print_ex.3 ASN1_STRING_print_ex_fp.3 \ | ||
228 | ASN1_generate_nconf.3 ASN1_generate_v3.3 \ | ||
229 | BF_set_key.3 BF_cbc_encrypt.3 \ | ||
230 | BF_set_key.3 BF_cfb64_encrypt.3 \ | ||
231 | BF_set_key.3 BF_decrypt.3 \ | ||
232 | BF_set_key.3 BF_ecb_encrypt.3 \ | ||
233 | BF_set_key.3 BF_encrypt.3 \ | ||
234 | BF_set_key.3 BF_ofb64_encrypt.3 \ | ||
235 | BF_set_key.3 BF_options.3 \ | ||
236 | BIO_ctrl.3 BIO_callback_ctrl.3 \ | ||
237 | BIO_ctrl.3 BIO_ctrl_pending.3 \ | ||
238 | BIO_ctrl.3 BIO_ctrl_wpending.3 \ | ||
239 | BIO_ctrl.3 BIO_eof.3 \ | ||
240 | BIO_ctrl.3 BIO_flush.3 \ | ||
241 | BIO_ctrl.3 BIO_get_close.3 \ | ||
242 | BIO_ctrl.3 BIO_get_info_callback.3 \ | ||
243 | BIO_ctrl.3 BIO_int_ctrl.3 \ | ||
244 | BIO_ctrl.3 BIO_pending.3 \ | ||
245 | BIO_ctrl.3 BIO_ptr_ctrl.3 \ | ||
246 | BIO_ctrl.3 BIO_reset.3 \ | ||
247 | BIO_ctrl.3 BIO_seek.3 \ | ||
248 | BIO_ctrl.3 BIO_set_close.3 \ | ||
249 | BIO_ctrl.3 BIO_set_info_callback.3 \ | ||
250 | BIO_ctrl.3 BIO_tell.3 \ | ||
251 | BIO_f_buffer.3 BIO_get_buffer_num_lines.3 \ | ||
252 | BIO_f_buffer.3 BIO_set_buffer_read_data.3 \ | ||
253 | BIO_f_buffer.3 BIO_set_buffer_size.3 \ | ||
254 | BIO_f_buffer.3 BIO_set_read_buffer_size.3 \ | ||
255 | BIO_f_buffer.3 BIO_set_write_buffer_size.3 \ | ||
256 | BIO_f_cipher.3 BIO_get_cipher_ctx.3 \ | ||
257 | BIO_f_cipher.3 BIO_get_cipher_status.3 \ | ||
258 | BIO_f_cipher.3 BIO_set_cipher.3 \ | ||
259 | BIO_f_md.3 BIO_get_md.3 \ | ||
260 | BIO_f_md.3 BIO_get_md_ctx.3 \ | ||
261 | BIO_f_md.3 BIO_set_md.3 \ | ||
262 | BIO_find_type.3 BIO_method_type.3 \ | ||
263 | BIO_find_type.3 BIO_next.3 \ | ||
264 | BIO_new.3 BIO_free.3 \ | ||
265 | BIO_new.3 BIO_free_all.3 \ | ||
266 | BIO_new.3 BIO_set.3 \ | ||
267 | BIO_new.3 BIO_vfree.3 \ | ||
268 | BIO_push.3 BIO_pop.3 \ | ||
269 | BIO_read.3 BIO_gets.3 \ | ||
270 | BIO_read.3 BIO_puts.3 \ | ||
271 | BIO_read.3 BIO_write.3 \ | ||
272 | BIO_s_accept.3 BIO_do_accept.3 \ | ||
273 | BIO_s_accept.3 BIO_get_accept_port.3 \ | ||
274 | BIO_s_accept.3 BIO_get_bind_mode.3 \ | ||
275 | BIO_s_accept.3 BIO_set_accept_bios.3 \ | ||
276 | BIO_s_accept.3 BIO_set_accept_port.3 \ | ||
277 | BIO_s_accept.3 BIO_set_bind_mode.3 \ | ||
278 | BIO_s_accept.3 BIO_set_nbio_accept.3 \ | ||
279 | BIO_s_bio.3 BIO_ctrl_get_read_request.3 \ | ||
280 | BIO_s_bio.3 BIO_ctrl_get_write_guarantee.3 \ | ||
281 | BIO_s_bio.3 BIO_ctrl_reset_read_request.3 \ | ||
282 | BIO_s_bio.3 BIO_destroy_bio_pair.3 \ | ||
283 | BIO_s_bio.3 BIO_get_read_request.3 \ | ||
284 | BIO_s_bio.3 BIO_get_write_buf_size.3 \ | ||
285 | BIO_s_bio.3 BIO_get_write_guarantee.3 \ | ||
286 | BIO_s_bio.3 BIO_make_bio_pair.3 \ | ||
287 | BIO_s_bio.3 BIO_new_bio_pair.3 \ | ||
288 | BIO_s_bio.3 BIO_set_write_buf_size.3 \ | ||
289 | BIO_s_bio.3 BIO_shutdown_wr.3 \ | ||
290 | BIO_s_connect.3 BIO_do_connect.3 \ | ||
291 | BIO_s_connect.3 BIO_get_conn_hostname.3 \ | ||
292 | BIO_s_connect.3 BIO_get_conn_int_port.3 \ | ||
293 | BIO_s_connect.3 BIO_get_conn_ip.3 \ | ||
294 | BIO_s_connect.3 BIO_get_conn_port.3 \ | ||
295 | BIO_s_connect.3 BIO_set_conn_hostname.3 \ | ||
296 | BIO_s_connect.3 BIO_set_conn_int_port.3 \ | ||
297 | BIO_s_connect.3 BIO_set_conn_ip.3 \ | ||
298 | BIO_s_connect.3 BIO_set_conn_port.3 \ | ||
299 | BIO_s_connect.3 BIO_set_nbio.3 \ | ||
300 | BIO_s_fd.3 BIO_get_fd.3 \ | ||
301 | BIO_s_fd.3 BIO_new_fd.3 \ | ||
302 | BIO_s_fd.3 BIO_set_fd.3 \ | ||
303 | BIO_s_file.3 BIO_append_filename.3 \ | ||
304 | BIO_s_file.3 BIO_get_fp.3 \ | ||
305 | BIO_s_file.3 BIO_new_file.3 \ | ||
306 | BIO_s_file.3 BIO_new_fp.3 \ | ||
307 | BIO_s_file.3 BIO_read_filename.3 \ | ||
308 | BIO_s_file.3 BIO_rw_filename.3 \ | ||
309 | BIO_s_file.3 BIO_set_fp.3 \ | ||
310 | BIO_s_file.3 BIO_write_filename.3 \ | ||
311 | BIO_s_mem.3 BIO_get_mem_data.3 \ | ||
312 | BIO_s_mem.3 BIO_get_mem_ptr.3 \ | ||
313 | BIO_s_mem.3 BIO_new_mem_buf.3 \ | ||
314 | BIO_s_mem.3 BIO_set_mem_buf.3 \ | ||
315 | BIO_s_mem.3 BIO_set_mem_eof_return.3 \ | ||
316 | BIO_s_socket.3 BIO_get_fd.3 \ | ||
317 | BIO_s_socket.3 BIO_new_socket.3 \ | ||
318 | BIO_s_socket.3 BIO_set_fd.3 \ | ||
319 | BIO_set_callback.3 BIO_debug_callback.3 \ | ||
320 | BIO_set_callback.3 BIO_get_callback.3 \ | ||
321 | BIO_set_callback.3 BIO_get_callback_arg.3 \ | ||
322 | BIO_set_callback.3 BIO_set_callback_arg.3 \ | ||
323 | BIO_should_retry.3 BIO_get_retry_BIO.3 \ | ||
324 | BIO_should_retry.3 BIO_get_retry_reason.3 \ | ||
325 | BIO_should_retry.3 BIO_retry_type.3 \ | ||
326 | BIO_should_retry.3 BIO_should_io_special.3 \ | ||
327 | BIO_should_retry.3 BIO_should_read.3 \ | ||
328 | BIO_should_retry.3 BIO_should_write.3 \ | ||
329 | BN_BLINDING_new.3 BN_BLINDING_convert.3 \ | ||
330 | BN_BLINDING_new.3 BN_BLINDING_convert_ex.3 \ | ||
331 | BN_BLINDING_new.3 BN_BLINDING_create_param.3 \ | ||
332 | BN_BLINDING_new.3 BN_BLINDING_free.3 \ | ||
333 | BN_BLINDING_new.3 BN_BLINDING_get_thread_id.3 \ | ||
334 | BN_BLINDING_new.3 BN_BLINDING_invert.3 \ | ||
335 | BN_BLINDING_new.3 BN_BLINDING_invert_ex.3 \ | ||
336 | BN_BLINDING_new.3 BN_BLINDING_get_flags.3 \ | ||
337 | BN_BLINDING_new.3 BN_BLINDING_set_flags.3 \ | ||
338 | BN_BLINDING_new.3 BN_BLINDING_set_thread_id.3 \ | ||
339 | BN_BLINDING_new.3 BN_BLINDING_update.3 \ | ||
340 | BN_CTX_new.3 BN_CTX_free.3 \ | ||
341 | BN_CTX_new.3 BN_CTX_init.3 \ | ||
342 | BN_CTX_start.3 BN_CTX_end.3 \ | ||
343 | BN_CTX_start.3 BN_CTX_get.3 \ | ||
344 | BN_add.3 BN_div.3 \ | ||
345 | BN_add.3 BN_exp.3 \ | ||
346 | BN_add.3 BN_gcd.3 \ | ||
347 | BN_add.3 BN_mod.3 \ | ||
348 | BN_add.3 BN_mod_exp.3 \ | ||
349 | BN_add.3 BN_mod_mul.3 \ | ||
350 | BN_add.3 BN_mul.3 \ | ||
351 | BN_add.3 BN_sqr.3 \ | ||
352 | BN_add.3 BN_sub.3 \ | ||
353 | BN_add_word.3 BN_div_word.3 \ | ||
354 | BN_add_word.3 BN_mod_word.3 \ | ||
355 | BN_add_word.3 BN_mul_word.3 \ | ||
356 | BN_add_word.3 BN_sub_word.3 \ | ||
357 | BN_bn2bin.3 BN_bin2bn.3 \ | ||
358 | BN_bn2bin.3 BN_bn2dec.3 \ | ||
359 | BN_bn2bin.3 BN_bn2hex.3 \ | ||
360 | BN_bn2bin.3 BN_bn2mpi.3 \ | ||
361 | BN_bn2bin.3 BN_dec2bn.3 \ | ||
362 | BN_bn2bin.3 BN_hex2bn.3 \ | ||
363 | BN_bn2bin.3 BN_mpi2bn.3 \ | ||
364 | BN_bn2bin.3 BN_print.3 \ | ||
365 | BN_bn2bin.3 BN_print_fp.3 \ | ||
366 | BN_cmp.3 BN_is_odd.3 \ | ||
367 | BN_cmp.3 BN_is_one.3 \ | ||
368 | BN_cmp.3 BN_is_word.3 \ | ||
369 | BN_cmp.3 BN_is_zero.3 \ | ||
370 | BN_cmp.3 BN_ucmp.3 \ | ||
371 | BN_copy.3 BN_dup.3 \ | ||
372 | BN_generate_prime.3 BN_is_prime.3 \ | ||
373 | BN_generate_prime.3 BN_is_prime_fasttest.3 \ | ||
374 | BN_mod_mul_montgomery.3 BN_MONT_CTX_copy.3 \ | ||
375 | BN_mod_mul_montgomery.3 BN_MONT_CTX_free.3 \ | ||
376 | BN_mod_mul_montgomery.3 BN_MONT_CTX_init.3 \ | ||
377 | BN_mod_mul_montgomery.3 BN_MONT_CTX_new.3 \ | ||
378 | BN_mod_mul_montgomery.3 BN_MONT_CTX_set.3 \ | ||
379 | BN_mod_mul_montgomery.3 BN_from_montgomery.3 \ | ||
380 | BN_mod_mul_montgomery.3 BN_to_montgomery.3 \ | ||
381 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_free.3 \ | ||
382 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_init.3 \ | ||
383 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_new.3 \ | ||
384 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_set.3 \ | ||
385 | BN_mod_mul_reciprocal.3 BN_div_recp.3 \ | ||
386 | BN_new.3 BN_clear.3 \ | ||
387 | BN_new.3 BN_clear_free.3 \ | ||
388 | BN_new.3 BN_free.3 \ | ||
389 | BN_new.3 BN_init.3 \ | ||
390 | BN_num_bytes.3 BN_num_bits.3 \ | ||
391 | BN_num_bytes.3 BN_num_bits_word.3 \ | ||
392 | BN_rand.3 BN_pseudo_rand.3 \ | ||
393 | BN_rand.3 BN_rand_range.3 \ | ||
394 | BN_set_bit.3 BN_clear_bit.3 \ | ||
395 | BN_set_bit.3 BN_is_bit_set.3 \ | ||
396 | BN_set_bit.3 BN_lshift.3 \ | ||
397 | BN_set_bit.3 BN_lshift1.3 \ | ||
398 | BN_set_bit.3 BN_mask_bits.3 \ | ||
399 | BN_set_bit.3 BN_rshift.3 \ | ||
400 | BN_set_bit.3 BN_rshift1.3 \ | ||
401 | BN_zero.3 BN_get_word.3 \ | ||
402 | BN_zero.3 BN_one.3 \ | ||
403 | BN_zero.3 BN_set_word.3 \ | ||
404 | BN_zero.3 BN_value_one.3 \ | ||
405 | BUF_MEM_new.3 BUF_MEM_free.3 \ | ||
406 | BUF_MEM_new.3 BUF_MEM_grow.3 \ | ||
407 | BUF_MEM_new.3 BUF_strdup.3 \ | ||
408 | CONF_modules_free.3 CONF_modules_finish.3 \ | ||
409 | CONF_modules_free.3 CONF_modules_unload.3 \ | ||
410 | CONF_modules_load_file.3 CONF_modules_load.3 \ | ||
411 | CRYPTO_set_ex_data.3 CRYPTO_get_ex_data.3 \ | ||
412 | CRYPTO_set_locking_callback.3 CRYPTO_add.3 \ | ||
413 | CRYPTO_set_locking_callback.3 CRYPTO_add_lock.3 \ | ||
414 | CRYPTO_set_locking_callback.3 CRYPTO_destroy_dynlockid.3 \ | ||
415 | CRYPTO_set_locking_callback.3 CRYPTO_get_new_dynlockid.3 \ | ||
416 | CRYPTO_set_locking_callback.3 CRYPTO_lock.3 \ | ||
417 | CRYPTO_set_locking_callback.3 CRYPTO_num_locks.3 \ | ||
418 | CRYPTO_set_locking_callback.3 CRYPTO_r_lock.3 \ | ||
419 | CRYPTO_set_locking_callback.3 CRYPTO_r_unlock.3 \ | ||
420 | CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_create_callback.3 \ | ||
421 | CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_destroy_callback.3 \ | ||
422 | CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_lock_callback.3 \ | ||
423 | CRYPTO_set_locking_callback.3 CRYPTO_set_id_callback.3 \ | ||
424 | CRYPTO_set_locking_callback.3 CRYPTO_w_lock.3 \ | ||
425 | CRYPTO_set_locking_callback.3 CRYPTO_w_unlock.3 \ | ||
426 | DH_generate_key.3 DH_compute_key.3 \ | ||
427 | DH_generate_parameters.3 DH_check.3 \ | ||
428 | DH_get_ex_new_index.3 DH_get_ex_data.3 \ | ||
429 | DH_get_ex_new_index.3 DH_set_ex_data.3 \ | ||
430 | DH_new.3 DH_free.3 \ | ||
431 | DH_set_method.3 DH_OpenSSL.3 \ | ||
432 | DH_set_method.3 DH_get_default_method.3 \ | ||
433 | DH_set_method.3 DH_get_default_openssl_method.3 \ | ||
434 | DH_set_method.3 DH_new_method.3 \ | ||
435 | DH_set_method.3 DH_set_default_method.3 \ | ||
436 | DH_set_method.3 DH_set_default_openssl_method.3 \ | ||
437 | DSA_new.3 DSA_free.3 \ | ||
438 | DSA_set_method.3 DSA_OpenSSL.3 \ | ||
439 | DSA_set_method.3 DSA_get_default_method.3 \ | ||
440 | DSA_set_method.3 DSA_get_default_openssl_method.3 \ | ||
441 | DSA_set_method.3 DSA_new_method.3 \ | ||
442 | DSA_set_method.3 DSA_set_default_method.3 \ | ||
443 | DSA_set_method.3 DSA_set_default_openssl_method.3 \ | ||
444 | DSA_sign.3 DSA_sign_setup.3 \ | ||
445 | DSA_sign.3 DSA_verify.3 \ | ||
446 | ERR_GET_LIB.3 ERR_GET_FUNC.3 \ | ||
447 | ERR_GET_LIB.3 ERR_GET_REASON.3 \ | ||
448 | ERR_error_string.3 ERR_error_string_n.3 \ | ||
449 | ERR_error_string.3 ERR_func_error_string.3 \ | ||
450 | ERR_error_string.3 ERR_lib_error_string.3 \ | ||
451 | ERR_error_string.3 ERR_reason_error_string.3 \ | ||
452 | ERR_get_error.3 ERR_get_error_line.3 \ | ||
453 | ERR_get_error.3 ERR_get_error_line_data.3 \ | ||
454 | ERR_get_error.3 ERR_peek_error.3 \ | ||
455 | ERR_get_error.3 ERR_peek_error_line.3 \ | ||
456 | ERR_get_error.3 ERR_peek_error_line_data.3 \ | ||
457 | ERR_load_crypto_strings.3 ERR_free_strings.3 \ | ||
458 | ERR_load_strings.3 ERR_PACK.3 \ | ||
459 | ERR_load_strings.3 ERR_get_next_error_library.3 \ | ||
460 | ERR_print_errors.3 ERR_print_errors_fp.3 \ | ||
461 | ERR_put_error.3 ERR_add_error_data.3 \ | ||
462 | ERR_set_mark.3 ERR_pop_to_mark.3 \ | ||
463 | EVP_DigestInit.3 EVP_DigestFinal.3 \ | ||
464 | EVP_DigestInit.3 EVP_DigestUpdate.3 \ | ||
465 | EVP_DigestInit.3 EVP_MD_CTX_block_size.3 \ | ||
466 | EVP_DigestInit.3 EVP_MD_CTX_copy.3 \ | ||
467 | EVP_DigestInit.3 EVP_MD_CTX_md.3 \ | ||
468 | EVP_DigestInit.3 EVP_MD_CTX_size.3 \ | ||
469 | EVP_DigestInit.3 EVP_MD_CTX_type.3 \ | ||
470 | EVP_DigestInit.3 EVP_MD_block_size.3 \ | ||
471 | EVP_DigestInit.3 EVP_MD_pkey_type.3 \ | ||
472 | EVP_DigestInit.3 EVP_MD_size.3 \ | ||
473 | EVP_DigestInit.3 EVP_MD_type.3 \ | ||
474 | EVP_DigestInit.3 EVP_dss.3 \ | ||
475 | EVP_DigestInit.3 EVP_dss1.3 \ | ||
476 | EVP_DigestInit.3 EVP_get_digestbyname.3 \ | ||
477 | EVP_DigestInit.3 EVP_get_digestbynid.3 \ | ||
478 | EVP_DigestInit.3 EVP_get_digestbyobj.3 \ | ||
479 | EVP_DigestInit.3 EVP_md2.3 \ | ||
480 | EVP_DigestInit.3 EVP_md5.3 \ | ||
481 | EVP_DigestInit.3 EVP_md_null.3 \ | ||
482 | EVP_DigestInit.3 EVP_mdc2.3 \ | ||
483 | EVP_DigestInit.3 EVP_ripemd160.3 \ | ||
484 | EVP_DigestInit.3 EVP_sha.3 \ | ||
485 | EVP_DigestInit.3 EVP_sha1.3 \ | ||
486 | EVP_DigestInit.3 OBJ_nid2sn.3 \ | ||
487 | EVP_DigestInit.3 OBJ_obj2nid.3 \ | ||
488 | EVP_DigestSignInit.3 EVP_DigestSignUpdate.3 \ | ||
489 | EVP_DigestSignInit.3 EVP_DigestSignFinal.3 \ | ||
490 | EVP_DigestVerifyInit.3 EVP_DigestVerifyUpdate.3 \ | ||
491 | EVP_DigestVerifyInit.3 EVP_DigestVerifyFinal.3 \ | ||
492 | EVP_EncryptInit.3 EVP_CIPHER_CTX_block_size.3 \ | ||
493 | EVP_EncryptInit.3 EVP_CIPHER_CTX_cipher.3 \ | ||
494 | EVP_EncryptInit.3 EVP_CIPHER_CTX_cleanup.3 \ | ||
495 | EVP_EncryptInit.3 EVP_CIPHER_CTX_ctrl.3 \ | ||
496 | EVP_EncryptInit.3 EVP_CIPHER_CTX_iv_length.3 \ | ||
497 | EVP_EncryptInit.3 EVP_CIPHER_CTX_key_length.3 \ | ||
498 | EVP_EncryptInit.3 EVP_CIPHER_CTX_nid.3 \ | ||
499 | EVP_EncryptInit.3 EVP_CIPHER_CTX_set_key_length.3 \ | ||
500 | EVP_EncryptInit.3 EVP_CIPHER_CTX_type.3 \ | ||
501 | EVP_EncryptInit.3 EVP_CIPHER_asn1_to_param.3 \ | ||
502 | EVP_EncryptInit.3 EVP_CIPHER_block_size.3 \ | ||
503 | EVP_EncryptInit.3 EVP_CIPHER_iv_length.3 \ | ||
504 | EVP_EncryptInit.3 EVP_CIPHER_key_length.3 \ | ||
505 | EVP_EncryptInit.3 EVP_CIPHER_nid.3 \ | ||
506 | EVP_EncryptInit.3 EVP_CIPHER_param_to_asn1.3 \ | ||
507 | EVP_EncryptInit.3 EVP_CIPHER_type.3 \ | ||
508 | EVP_EncryptInit.3 EVP_CipherFinal.3 \ | ||
509 | EVP_EncryptInit.3 EVP_CipherInit.3 \ | ||
510 | EVP_EncryptInit.3 EVP_CipherUpdate.3 \ | ||
511 | EVP_EncryptInit.3 EVP_DecryptFinal.3 \ | ||
512 | EVP_EncryptInit.3 EVP_DecryptInit.3 \ | ||
513 | EVP_EncryptInit.3 EVP_DecryptUpdate.3 \ | ||
514 | EVP_EncryptInit.3 EVP_EncryptFinal.3 \ | ||
515 | EVP_EncryptInit.3 EVP_EncryptUpdate.3 \ | ||
516 | EVP_EncryptInit.3 EVP_get_cipherbyname.3 \ | ||
517 | EVP_EncryptInit.3 EVP_get_cipherbynid.3 \ | ||
518 | EVP_EncryptInit.3 EVP_get_cipherbyobj.3 \ | ||
519 | EVP_EncryptInit.3 OBJ_nid2sn.3 \ | ||
520 | EVP_EncryptInit.3 OBJ_obj2nid.3 \ | ||
521 | EVP_OpenInit.3 EVP_OpenFinal.3 \ | ||
522 | EVP_OpenInit.3 EVP_OpenUpdate.3 \ | ||
523 | EVP_PKEY_new.3 EVP_PKEY_free.3 \ | ||
524 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_DH.3 \ | ||
525 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_DSA.3 \ | ||
526 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_EC_KEY.3 \ | ||
527 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_RSA.3 \ | ||
528 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_DH.3 \ | ||
529 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_DSA.3 \ | ||
530 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_EC_KEY.3 \ | ||
531 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_RSA.3 \ | ||
532 | EVP_PKEY_set1_RSA.3 EVP_PKEY_set1_DH.3 \ | ||
533 | EVP_PKEY_set1_RSA.3 EVP_PKEY_set1_DSA.3 \ | ||
534 | EVP_PKEY_set1_RSA.3 EVP_PKEY_set1_EC_KEY.3 \ | ||
535 | EVP_PKEY_set1_RSA.3 EVP_PKEY_type.3 \ | ||
536 | EVP_SealInit.3 EVP_SealFinal.3 \ | ||
537 | EVP_SealInit.3 EVP_SealUpdate.3 \ | ||
538 | EVP_SignInit.3 EVP_PKEY_size.3 \ | ||
539 | EVP_SignInit.3 EVP_SignFinal.3 \ | ||
540 | EVP_SignInit.3 EVP_SignUpdate.3 \ | ||
541 | EVP_VerifyInit.3 EVP_VerifyFinal.3 \ | ||
542 | EVP_VerifyInit.3 EVP_VerifyUpdate.3 \ | ||
543 | HMAC.3 HMAC_Final.3 \ | ||
544 | HMAC.3 HMAC_Init.3 \ | ||
545 | HMAC.3 HMAC_Update.3 \ | ||
546 | HMAC.3 HMAC_cleanup.3 \ | ||
547 | MD5.3 MD2.3 \ | ||
548 | MD5.3 MD2_Final.3 \ | ||
549 | MD5.3 MD2_Init.3 \ | ||
550 | MD5.3 MD2_Update.3 \ | ||
551 | MD5.3 MD4.3 \ | ||
552 | MD5.3 MD4_Final.3 \ | ||
553 | MD5.3 MD4_Init.3 \ | ||
554 | MD5.3 MD4_Update.3 \ | ||
555 | MD5.3 MD5_Final.3 \ | ||
556 | MD5.3 MD5_Init.3 \ | ||
557 | MD5.3 MD5_Update.3 \ | ||
558 | OBJ_nid2obj.3 OBJ_cleanup.3 \ | ||
559 | OBJ_nid2obj.3 OBJ_cmp.3 \ | ||
560 | OBJ_nid2obj.3 OBJ_create.3 \ | ||
561 | OBJ_nid2obj.3 OBJ_dup.3 \ | ||
562 | OBJ_nid2obj.3 OBJ_ln2nid.3 \ | ||
563 | OBJ_nid2obj.3 OBJ_nid2ln.3 \ | ||
564 | OBJ_nid2obj.3 OBJ_nid2sn.3 \ | ||
565 | OBJ_nid2obj.3 OBJ_obj2nid.3 \ | ||
566 | OBJ_nid2obj.3 OBJ_obj2txt.3 \ | ||
567 | OBJ_nid2obj.3 OBJ_sn2nid.3 \ | ||
568 | OBJ_nid2obj.3 OBJ_txt2nid.3 \ | ||
569 | OBJ_nid2obj.3 OBJ_txt2obj.3 \ | ||
570 | OPENSSL_VERSION_NUMBER.3 SSLeay.3 \ | ||
571 | OPENSSL_VERSION_NUMBER.3 SSLeay_version.3 \ | ||
572 | OPENSSL_config.3 OPENSSL_no_config.3 \ | ||
573 | OPENSSL_load_builtin_modules.3 ASN1_add_oid_module.3 \ | ||
574 | OPENSSL_load_builtin_modules.3 ENGINE_add_conf_module.3 \ | ||
575 | OpenSSL_add_all_algorithms.3 EVP_cleanup.3 \ | ||
576 | OpenSSL_add_all_algorithms.3 OpenSSL_add_all_ciphers.3 \ | ||
577 | OpenSSL_add_all_algorithms.3 OpenSSL_add_all_digests.3 \ | ||
578 | PEM_read_bio_PrivateKey.3 PEM_read_DHparams.3 \ | ||
579 | PEM_read_bio_PrivateKey.3 PEM_read_DSAPrivateKey.3 \ | ||
580 | PEM_read_bio_PrivateKey.3 PEM_read_DSA_PUBKEY.3 \ | ||
581 | PEM_read_bio_PrivateKey.3 PEM_read_DSAparams.3 \ | ||
582 | PEM_read_bio_PrivateKey.3 PEM_read_NETSCAPE_CERT_SEQUENCE.3 \ | ||
583 | PEM_read_bio_PrivateKey.3 PEM_read_PKCS7.3 \ | ||
584 | PEM_read_bio_PrivateKey.3 PEM_read_PUBKEY.3 \ | ||
585 | PEM_read_bio_PrivateKey.3 PEM_read_PrivateKey.3 \ | ||
586 | PEM_read_bio_PrivateKey.3 PEM_read_RSAPrivateKey.3 \ | ||
587 | PEM_read_bio_PrivateKey.3 PEM_read_RSAPublicKey.3 \ | ||
588 | PEM_read_bio_PrivateKey.3 PEM_read_RSA_PUBKEY.3 \ | ||
589 | PEM_read_bio_PrivateKey.3 PEM_read_X509.3 \ | ||
590 | PEM_read_bio_PrivateKey.3 PEM_read_X509_AUX.3 \ | ||
591 | PEM_read_bio_PrivateKey.3 PEM_read_X509_CRL.3 \ | ||
592 | PEM_read_bio_PrivateKey.3 PEM_read_X509_REQ.3 \ | ||
593 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DHparams.3 \ | ||
594 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DSAPrivateKey.3 \ | ||
595 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DSA_PUBKEY.3 \ | ||
596 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DSAparams.3 \ | ||
597 | PEM_read_bio_PrivateKey.3 PEM_read_bio_NETSCAPE_CERT_SEQUENCE.3 \ | ||
598 | PEM_read_bio_PrivateKey.3 PEM_read_bio_PKCS7.3 \ | ||
599 | PEM_read_bio_PrivateKey.3 PEM_read_bio_PUBKEY.3 \ | ||
600 | PEM_read_bio_PrivateKey.3 PEM_read_bio_RSAPrivateKey.3 \ | ||
601 | PEM_read_bio_PrivateKey.3 PEM_read_bio_RSAPublicKey.3 \ | ||
602 | PEM_read_bio_PrivateKey.3 PEM_read_bio_RSA_PUBKEY.3 \ | ||
603 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509.3 \ | ||
604 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509_AUX.3 \ | ||
605 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509_CRL.3 \ | ||
606 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509_REQ.3 \ | ||
607 | PEM_read_bio_PrivateKey.3 PEM_write_DHparams.3 \ | ||
608 | PEM_read_bio_PrivateKey.3 PEM_write_DSAPrivateKey.3 \ | ||
609 | PEM_read_bio_PrivateKey.3 PEM_write_DSA_PUBKEY.3 \ | ||
610 | PEM_read_bio_PrivateKey.3 PEM_write_DSAparams.3 \ | ||
611 | PEM_read_bio_PrivateKey.3 PEM_write_NETSCAPE_CERT_SEQUENCE.3 \ | ||
612 | PEM_read_bio_PrivateKey.3 PEM_write_PKCS7.3 \ | ||
613 | PEM_read_bio_PrivateKey.3 PEM_write_PKCS8PrivateKey.3 \ | ||
614 | PEM_read_bio_PrivateKey.3 PEM_write_PKCS8PrivateKey_nid.3 \ | ||
615 | PEM_read_bio_PrivateKey.3 PEM_write_PUBKEY.3 \ | ||
616 | PEM_read_bio_PrivateKey.3 PEM_write_PrivateKey.3 \ | ||
617 | PEM_read_bio_PrivateKey.3 PEM_write_RSAPrivateKey.3 \ | ||
618 | PEM_read_bio_PrivateKey.3 PEM_write_RSAPublicKey.3 \ | ||
619 | PEM_read_bio_PrivateKey.3 PEM_write_RSA_PUBKEY.3 \ | ||
620 | PEM_read_bio_PrivateKey.3 PEM_write_X509.3 \ | ||
621 | PEM_read_bio_PrivateKey.3 PEM_write_X509_AUX.3 \ | ||
622 | PEM_read_bio_PrivateKey.3 PEM_write_X509_CRL.3 \ | ||
623 | PEM_read_bio_PrivateKey.3 PEM_write_X509_REQ.3 \ | ||
624 | PEM_read_bio_PrivateKey.3 PEM_write_X509_REQ_NEW.3 \ | ||
625 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DHparams.3 \ | ||
626 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DSAPrivateKey.3 \ | ||
627 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DSA_PUBKEY.3 \ | ||
628 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DSAparams.3 \ | ||
629 | PEM_read_bio_PrivateKey.3 PEM_write_bio_NETSCAPE_CERT_SEQUENCE.3 \ | ||
630 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PKCS7.3 \ | ||
631 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PKCS8PrivateKey.3 \ | ||
632 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PKCS8PrivateKey_nid.3 \ | ||
633 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PUBKEY.3 \ | ||
634 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PrivateKey.3 \ | ||
635 | PEM_read_bio_PrivateKey.3 PEM_write_bio_RSAPrivateKey.3 \ | ||
636 | PEM_read_bio_PrivateKey.3 PEM_write_bio_RSAPublicKey.3 \ | ||
637 | PEM_read_bio_PrivateKey.3 PEM_write_bio_RSA_PUBKEY.3 \ | ||
638 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509.3 \ | ||
639 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_AUX.3 \ | ||
640 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_CRL.3 \ | ||
641 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_REQ.3 \ | ||
642 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_REQ_NEW.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_egd.3 RAND_egd_bytes.3 \ | ||
649 | RAND_load_file.3 RAND_file_name.3 \ | ||
650 | RAND_load_file.3 RAND_write_file.3 \ | ||
651 | RAND_set_rand_method.3 RAND_SSLeay.3 \ | ||
652 | RAND_set_rand_method.3 RAND_get_rand_method.3 \ | ||
653 | RC4.3 RC4_set_key.3 \ | ||
654 | RIPEMD160.3 RIPEMD160_Final.3 \ | ||
655 | RIPEMD160.3 RIPEMD160_Init.3 \ | ||
656 | RIPEMD160.3 RIPEMD160_Update.3 \ | ||
657 | RSA_blinding_on.3 RSA_blinding_off.3 \ | ||
658 | RSA_get_ex_new_index.3 RSA_get_ex_data.3 \ | ||
659 | RSA_get_ex_new_index.3 RSA_set_ex_data.3 \ | ||
660 | RSA_new.3 RSA_free.3 \ | ||
661 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_OAEP.3 \ | ||
662 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_type_2.3 \ | ||
663 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_SSLv23.3 \ | ||
664 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_none.3 \ | ||
665 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_OAEP.3 \ | ||
666 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_1.3 \ | ||
667 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_2.3 \ | ||
668 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_SSLv23.3 \ | ||
669 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_none.3 \ | ||
670 | RSA_print.3 DHparams_print.3 \ | ||
671 | RSA_print.3 DHparams_print_fp.3 \ | ||
672 | RSA_print.3 DSA_print.3 \ | ||
673 | RSA_print.3 DSA_print_fp.3 \ | ||
674 | RSA_print.3 DSAparams_print.3 \ | ||
675 | RSA_print.3 DSAparams_print_fp.3 \ | ||
676 | RSA_print.3 RSA_print_fp.3 \ | ||
677 | RSA_private_encrypt.3 RSA_public_decrypt.3 \ | ||
678 | RSA_public_encrypt.3 RSA_private_decrypt.3 \ | ||
679 | RSA_set_method.3 RSA_PKCS1_RSAref.3 \ | ||
680 | RSA_set_method.3 RSA_PKCS1_SSLeay.3 \ | ||
681 | RSA_set_method.3 RSA_flags.3 \ | ||
682 | RSA_set_method.3 RSA_get_default_method.3 \ | ||
683 | RSA_set_method.3 RSA_get_default_openssl_method.3 \ | ||
684 | RSA_set_method.3 RSA_get_method.3 \ | ||
685 | RSA_set_method.3 RSA_new_method.3 \ | ||
686 | RSA_set_method.3 RSA_null_method.3 \ | ||
687 | RSA_set_method.3 RSA_set_default_method.3 \ | ||
688 | RSA_set_method.3 RSA_set_default_openssl_method.3 \ | ||
689 | RSA_sign.3 RSA_verify.3 \ | ||
690 | RSA_sign_ASN1_OCTET_STRING.3 RSA_verify_ASN1_OCTET_STRING.3 \ | ||
691 | SHA1.3 SHA1_Final.3 \ | ||
692 | SHA1.3 SHA1_Init.3 \ | ||
693 | SHA1.3 SHA1_Update.3 \ | ||
694 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_create_by_NID.3 \ | ||
695 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_create_by_OBJ.3 \ | ||
696 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_create_by_txt.3 \ | ||
697 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_get_data.3 \ | ||
698 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_set_data.3 \ | ||
699 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_set_object.3 \ | ||
700 | X509_NAME_add_entry_by_txt.3 X509_NAME_add_entry.3 \ | ||
701 | X509_NAME_add_entry_by_txt.3 X509_NAME_add_entry_by_NID.3 \ | ||
702 | X509_NAME_add_entry_by_txt.3 X509_NAME_add_entry_by_OBJ.3 \ | ||
703 | X509_NAME_add_entry_by_txt.3 X509_NAME_delete_entry.3 \ | ||
704 | X509_new.3 X509_free.3 \ | ||
705 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_get1_chain.3 \ | ||
706 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_get_current_cert.3 \ | ||
707 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_get_error_depth.3 \ | ||
708 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_set_error.3 \ | ||
709 | X509_STORE_CTX_get_error.3 X509_verify_cert_error_string.3 \ | ||
710 | X509_STORE_CTX_get_ex_new_index.3 X509_STORE_CTX_get_ex_data.3 \ | ||
711 | X509_STORE_CTX_get_ex_new_index.3 X509_STORE_CTX_set_ex_data.3 \ | ||
712 | X509_STORE_CTX_new.3 X509_STORE_CTX_cleanup.3 \ | ||
713 | X509_STORE_CTX_new.3 X509_STORE_CTX_free.3 \ | ||
714 | X509_STORE_CTX_new.3 X509_STORE_CTX_get0_param.3 \ | ||
715 | X509_STORE_CTX_new.3 X509_STORE_CTX_init.3 \ | ||
716 | X509_STORE_CTX_new.3 X509_STORE_CTX_set0_crls.3 \ | ||
717 | X509_STORE_CTX_new.3 X509_STORE_CTX_set0_param.3 \ | ||
718 | X509_STORE_CTX_new.3 X509_STORE_CTX_set_cert.3 \ | ||
719 | X509_STORE_CTX_new.3 X509_STORE_CTX_set_chain.3 \ | ||
720 | X509_STORE_CTX_new.3 X509_STORE_CTX_set_default.3 \ | ||
721 | X509_STORE_CTX_new.3 X509_STORE_CTX_trusted_stack.3 \ | ||
722 | X509_STORE_set_verify_cb_func.3 X509_STORE_set_verify_cb.3 \ | ||
723 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_add0_policy.3 \ | ||
724 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_clear_flags.3 \ | ||
725 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_get_depth.3 \ | ||
726 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_get_flags.3 \ | ||
727 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set1_policies.3 \ | ||
728 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_depth.3 \ | ||
729 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_purpose.3 \ | ||
730 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_time.3 \ | ||
731 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_trust.3 \ | ||
732 | bn_internal.3 bn_add_words.3 \ | ||
733 | bn_internal.3 bn_check_top.3 \ | ||
734 | bn_internal.3 bn_cmp_words.3 \ | ||
735 | bn_internal.3 bn_div_words.3 \ | ||
736 | bn_internal.3 bn_dump.3 \ | ||
737 | bn_internal.3 bn_expand.3 \ | ||
738 | bn_internal.3 bn_expand2.3 \ | ||
739 | bn_internal.3 bn_fix_top.3 \ | ||
740 | bn_internal.3 bn_mul_add_words.3 \ | ||
741 | bn_internal.3 bn_mul_comba4.3 \ | ||
742 | bn_internal.3 bn_mul_comba8.3 \ | ||
743 | bn_internal.3 bn_mul_high.3 \ | ||
744 | bn_internal.3 bn_mul_low_normal.3 \ | ||
745 | bn_internal.3 bn_mul_low_recursive.3 \ | ||
746 | bn_internal.3 bn_mul_normal.3 \ | ||
747 | bn_internal.3 bn_mul_part_recursive.3 \ | ||
748 | bn_internal.3 bn_mul_recursive.3 \ | ||
749 | bn_internal.3 bn_mul_words.3 \ | ||
750 | bn_internal.3 bn_print.3 \ | ||
751 | bn_internal.3 bn_set_high.3 \ | ||
752 | bn_internal.3 bn_set_low.3 \ | ||
753 | bn_internal.3 bn_set_max.3 \ | ||
754 | bn_internal.3 bn_sqr_comba4.3 \ | ||
755 | bn_internal.3 bn_sqr_comba8.3 \ | ||
756 | bn_internal.3 bn_sqr_normal.3 \ | ||
757 | bn_internal.3 bn_sqr_recursive.3 \ | ||
758 | bn_internal.3 bn_sqr_words.3 \ | ||
759 | bn_internal.3 bn_sub_words.3 \ | ||
760 | bn_internal.3 bn_wexpand.3 \ | ||
761 | bn_internal.3 mul.3 \ | ||
762 | bn_internal.3 mul_add.3 \ | ||
763 | bn_internal.3 sqr.3 \ | ||
764 | d2i_ASN1_OBJECT.3 i2d_ASN1_OBJECT.3 \ | ||
765 | d2i_DHparams.3 i2d_DHparams.3 \ | ||
766 | d2i_DSAPublicKey.3 d2i_DSAPrivateKey.3 \ | ||
767 | d2i_DSAPublicKey.3 d2i_DSA_PUBKEY.3 \ | ||
768 | d2i_DSAPublicKey.3 d2i_DSA_SIG.3 \ | ||
769 | d2i_DSAPublicKey.3 d2i_DSAparams.3 \ | ||
770 | d2i_DSAPublicKey.3 i2d_DSAPrivateKey.3 \ | ||
771 | d2i_DSAPublicKey.3 i2d_DSAPublicKey.3 \ | ||
772 | d2i_DSAPublicKey.3 i2d_DSA_PUBKEY.3 \ | ||
773 | d2i_DSAPublicKey.3 i2d_DSA_SIG.3 \ | ||
774 | d2i_DSAPublicKey.3 i2d_DSAparams.3 \ | ||
775 | d2i_PKCS8PrivateKey.3 d2i_PKCS8PrivateKey_bio.3 \ | ||
776 | d2i_PKCS8PrivateKey.3 d2i_PKCS8PrivateKey_fp.3 \ | ||
777 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_bio.3 \ | ||
778 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_fp.3 \ | ||
779 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_nid_bio.3 \ | ||
780 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_nid_fp.3 \ | ||
781 | d2i_RSAPublicKey.3 d2i_Netscape_RSA.3 \ | ||
782 | d2i_RSAPublicKey.3 d2i_RSAPrivateKey.3 \ | ||
783 | d2i_RSAPublicKey.3 i2d_Netscape_RSA.3 \ | ||
784 | d2i_RSAPublicKey.3 i2d_RSAPrivateKey.3 \ | ||
785 | d2i_RSAPublicKey.3 i2d_RSAPublicKey.3 \ | ||
786 | d2i_X509.3 d2i_X509_bio.3 \ | ||
787 | d2i_X509.3 d2i_X509_fp.3 \ | ||
788 | d2i_X509.3 i2d_X509.3 \ | ||
789 | d2i_X509.3 i2d_X509_bio.3 \ | ||
790 | d2i_X509.3 i2d_X509_fp.3 \ | ||
791 | d2i_X509_ALGOR.3 i2d_X509_ALGOR.3 \ | ||
792 | d2i_X509_CRL.3 d2i_X509_CRL_bio.3 \ | ||
793 | d2i_X509_CRL.3 d2i_X509_CRL_fp.3 \ | ||
794 | d2i_X509_CRL.3 i2d_X509_CRL.3 \ | ||
795 | d2i_X509_CRL.3 i2d_X509_CRL_bio.3 \ | ||
796 | d2i_X509_CRL.3 i2d_X509_CRL_fp.3 \ | ||
797 | d2i_X509_NAME.3 i2d_X509_NAME.3 \ | ||
798 | d2i_X509_REQ.3 d2i_X509_REQ_bio.3 \ | ||
799 | d2i_X509_REQ.3 d2i_X509_REQ_fp.3 \ | ||
800 | d2i_X509_REQ.3 i2d_X509_REQ.3 \ | ||
801 | d2i_X509_REQ.3 i2d_X509_REQ_bio.3 \ | ||
802 | d2i_X509_REQ.3 i2d_X509_REQ_fp.3 \ | ||
803 | dsa.3 DSA_OpenSSL.3 \ | ||
804 | dsa.3 DSA_SIG_free.3 \ | ||
805 | dsa.3 DSA_do_verify.3 \ | ||
806 | dsa.3 DSA_free.3 \ | ||
807 | dsa.3 DSA_get_default_method.3 \ | ||
808 | dsa.3 DSA_get_ex_data.3 \ | ||
809 | dsa.3 DSA_new_method.3 \ | ||
810 | dsa.3 DSA_set_default_method.3 \ | ||
811 | dsa.3 DSA_set_ex_data.3 \ | ||
812 | dsa.3 DSA_sign_setup.3 \ | ||
813 | dsa.3 DSA_verify.3 \ | ||
814 | ecdsa.3 ECDSA_OpenSSL.3 \ | ||
815 | ecdsa.3 ECDSA_SIG_free.3 \ | ||
816 | ecdsa.3 ECDSA_SIG_new.3 \ | ||
817 | ecdsa.3 ECDSA_do_sign.3 \ | ||
818 | ecdsa.3 ECDSA_do_sign_ex.3 \ | ||
819 | ecdsa.3 ECDSA_do_verify.3 \ | ||
820 | ecdsa.3 ECDSA_get_default_method.3 \ | ||
821 | ecdsa.3 ECDSA_get_ex_data.3 \ | ||
822 | ecdsa.3 ECDSA_get_ex_new_index.3 \ | ||
823 | ecdsa.3 ECDSA_set_default_method.3 \ | ||
824 | ecdsa.3 ECDSA_set_ex_data.3 \ | ||
825 | ecdsa.3 ECDSA_set_method.3 \ | ||
826 | ecdsa.3 ECDSA_sign.3 \ | ||
827 | ecdsa.3 ECDSA_sign_ex.3 \ | ||
828 | ecdsa.3 ECDSA_sign_setup.3 \ | ||
829 | ecdsa.3 ECDSA_verify.3 \ | ||
830 | ecdsa.3 d2i_ECDSA_SIG.3 \ | ||
831 | ecdsa.3 i2d_ECDSA_SIG.3 \ | ||
832 | engine.3 ENGINE_add.3 \ | ||
833 | engine.3 ENGINE_by_id.3 \ | ||
834 | engine.3 ENGINE_finish.3 \ | ||
835 | engine.3 ENGINE_get_first.3 \ | ||
836 | engine.3 ENGINE_get_last.3 \ | ||
837 | engine.3 ENGINE_get_next.3 \ | ||
838 | engine.3 ENGINE_get_prev.3 \ | ||
839 | engine.3 ENGINE_init.3 \ | ||
840 | engine.3 ENGINE_load_builtin_engines.3 \ | ||
841 | engine.3 ENGINE_remove.3 \ | ||
842 | lh_stats.3 lh_node_stats.3 \ | ||
843 | lh_stats.3 lh_node_stats_bio.3 \ | ||
844 | lh_stats.3 lh_node_usage_stats.3 \ | ||
845 | lh_stats.3 lh_node_usage_stats_bio.3 \ | ||
846 | lh_stats.3 lh_stats_bio.3 \ | ||
847 | lhash.3 lh_delete.3 \ | ||
848 | lhash.3 lh_doall.3 \ | ||
849 | lhash.3 lh_doall_arg.3 \ | ||
850 | lhash.3 lh_error.3 \ | ||
851 | lhash.3 lh_free.3 \ | ||
852 | lhash.3 lh_insert.3 \ | ||
853 | lhash.3 lh_new.3 \ | ||
854 | lhash.3 lh_retrieve.3 \ | ||
855 | ui.3 UI_OpenSSL.3 \ | ||
856 | ui.3 UI_add_error_string.3 \ | ||
857 | ui.3 UI_add_info_string.3 \ | ||
858 | ui.3 UI_add_input_boolean.3 \ | ||
859 | ui.3 UI_add_input_string.3 \ | ||
860 | ui.3 UI_add_user_data.3 \ | ||
861 | ui.3 UI_add_verify_string.3 \ | ||
862 | ui.3 UI_construct_prompt.3 \ | ||
863 | ui.3 UI_ctrl.3 \ | ||
864 | ui.3 UI_dup_error_string.3 \ | ||
865 | ui.3 UI_dup_info_string.3 \ | ||
866 | ui.3 UI_dup_input_boolean.3 \ | ||
867 | ui.3 UI_dup_input_string.3 \ | ||
868 | ui.3 UI_dup_verify_string.3 \ | ||
869 | ui.3 UI_free.3 \ | ||
870 | ui.3 UI_get0_result.3 \ | ||
871 | ui.3 UI_get0_user_data.3 \ | ||
872 | ui.3 UI_get_default_method.3 \ | ||
873 | ui.3 UI_get_method.3 \ | ||
874 | ui.3 UI_new.3 \ | ||
875 | ui.3 UI_new_method.3 \ | ||
876 | ui.3 UI_process.3 \ | ||
877 | ui.3 UI_set_default_method.3 \ | ||
878 | ui.3 UI_set_method.3 \ | ||
879 | ui_compat.3 des_read_2passwords.3 \ | ||
880 | ui_compat.3 des_read_password.3 \ | ||
881 | ui_compat.3 des_read_pw.3 \ | ||
882 | ui_compat.3 des_read_pw_string.3 | ||
883 | |||
884 | .include <bsd.man.mk> | ||
885 | .else | ||
886 | maninstall: | ||
887 | |||
888 | .endif | ||
889 | |||
890 | # XXX .PATH order is critical because of non-unique filenames | ||
891 | .PATH: ${.CURDIR}/../../libssl/src/doc/crypto | ||
892 | .SUFFIXES: .pod .1 .3 .7 | ||
893 | .for sect in 1 3 7 | ||
894 | .pod.${sect}: | ||
895 | @echo '${POD2MAN} --section=${sect} --name=${*:U} $< > $@' | ||
896 | @${POD2MAN} --section=${sect} --name=${*:U} $< > $@.tmp && mv $@.tmp $@ | ||
897 | .endfor | ||
898 | |||
899 | .include <bsd.obj.mk> | ||
900 | .include <bsd.subdir.mk> | ||
901 | |||
902 | clean cleandir: | ||
903 | rm -f ${MAN} ${MANLINT} | ||
diff --git a/src/lib/libssl/openssl.cnf b/src/lib/libcrypto/openssl.cnf index bb97b155b8..bb97b155b8 100644 --- a/src/lib/libssl/openssl.cnf +++ b/src/lib/libcrypto/openssl.cnf | |||
diff --git a/src/lib/libcrypto/shlib_version b/src/lib/libcrypto/shlib_version new file mode 100644 index 0000000000..df4de0fc4d --- /dev/null +++ b/src/lib/libcrypto/shlib_version | |||
@@ -0,0 +1,2 @@ | |||
1 | major=23 | ||
2 | minor=0 | ||
diff --git a/src/lib/libssl/x509v3.cnf b/src/lib/libcrypto/x509v3.cnf index 8c6b775da1..8c6b775da1 100644 --- a/src/lib/libssl/x509v3.cnf +++ b/src/lib/libcrypto/x509v3.cnf | |||
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index 59ef803278..04baaccb45 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile | |||
@@ -1,18 +1,10 @@ | |||
1 | # $OpenBSD: Makefile,v 1.18 2011/05/26 13:52:55 jasper Exp $ | 1 | # $OpenBSD: Makefile,v 1.19 2014/04/11 22:51:53 miod Exp $ |
2 | 2 | ||
3 | SUBDIR=crypto ssl man | 3 | SUBDIR=ssl man |
4 | PC_FILES=openssl.pc libssl.pc libcrypto.pc | 4 | PC_FILES=openssl.pc libssl.pc |
5 | 5 | ||
6 | CLEANFILES=${PC_FILES} | 6 | CLEANFILES=${PC_FILES} |
7 | 7 | ||
8 | distribution: | ||
9 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
10 | ${.CURDIR}/openssl.cnf ${DESTDIR}/etc/ssl/openssl.cnf && \ | ||
11 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
12 | ${.CURDIR}/cert.pem ${DESTDIR}/etc/ssl/cert.pem && \ | ||
13 | ${INSTALL} ${INSTALL_COPY} -g ${BINGRP} -m 444 \ | ||
14 | ${.CURDIR}/x509v3.cnf ${DESTDIR}/etc/ssl/x509v3.cnf | ||
15 | |||
16 | beforeinstall: | 8 | beforeinstall: |
17 | /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} | 9 | /bin/sh ${.CURDIR}/generate_pkgconfig.sh -c ${.CURDIR} -o ${.OBJDIR} |
18 | .for p in ${PC_FILES} | 10 | .for p in ${PC_FILES} |
diff --git a/src/lib/libssl/generate_pkgconfig.sh b/src/lib/libssl/generate_pkgconfig.sh index 04bc77e38d..ea050120fb 100644 --- a/src/lib/libssl/generate_pkgconfig.sh +++ b/src/lib/libssl/generate_pkgconfig.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # $OpenBSD: generate_pkgconfig.sh,v 1.7 2011/05/05 20:58:15 jasper Exp $ | 3 | # $OpenBSD: generate_pkgconfig.sh,v 1.8 2014/04/11 22:51:53 miod Exp $ |
4 | # | 4 | # |
5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> | 5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> |
6 | # | 6 | # |
@@ -58,22 +58,6 @@ lib_version=$(sed -nE ${version_re} ${version_file}) | |||
58 | # test -n "`pkg-config --cflags openssl`" | 58 | # test -n "`pkg-config --cflags openssl`" |
59 | # don't assume that OpenSSL isn't available. | 59 | # don't assume that OpenSSL isn't available. |
60 | 60 | ||
61 | pc_file="${objdir}/libcrypto.pc" | ||
62 | cat > ${pc_file} << __EOF__ | ||
63 | prefix=/usr | ||
64 | exec_prefix=\${prefix} | ||
65 | libdir=\${exec_prefix}/lib | ||
66 | includedir=\${prefix}/include | ||
67 | |||
68 | Name: OpenSSL-libcrypto | ||
69 | Description: OpenSSL cryptography library | ||
70 | Version: ${lib_version} | ||
71 | Requires: | ||
72 | Libs: -L\${libdir} -lcrypto | ||
73 | Cflags: -I\${includedir} | ||
74 | __EOF__ | ||
75 | |||
76 | |||
77 | pc_file="${objdir}/libssl.pc" | 61 | pc_file="${objdir}/libssl.pc" |
78 | cat > ${pc_file} << __EOF__ | 62 | cat > ${pc_file} << __EOF__ |
79 | prefix=/usr | 63 | prefix=/usr |
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile index b512dd3a0e..62bbfe0b0b 100644 --- a/src/lib/libssl/man/Makefile +++ b/src/lib/libssl/man/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.22 2014/03/18 18:48:46 schwarze Exp $ | 1 | # $OpenBSD: Makefile,v 1.23 2014/04/11 22:51:54 miod Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> # for NOMAN | 3 | .include <bsd.own.mk> # for NOMAN |
4 | 4 | ||
@@ -6,122 +6,7 @@ POD2MAN=pod2man --official --release="OpenBSD ${OSREV}" --center=OpenSSL | |||
6 | 6 | ||
7 | .ifndef NOMAN | 7 | .ifndef NOMAN |
8 | MAN= \ | 8 | MAN= \ |
9 | ASN1_OBJECT_new.3 \ | ||
10 | ASN1_STRING_length.3 \ | ||
11 | ASN1_STRING_new.3 \ | ||
12 | ASN1_STRING_print_ex.3 \ | ||
13 | ASN1_generate_nconf.3 \ | ||
14 | BIO_ctrl.3 \ | ||
15 | BIO_f_base64.3 \ | ||
16 | BIO_f_buffer.3 \ | ||
17 | BIO_f_cipher.3 \ | ||
18 | BIO_f_md.3 \ | ||
19 | BIO_f_null.3 \ | ||
20 | BIO_f_ssl.3 \ | 9 | BIO_f_ssl.3 \ |
21 | BIO_find_type.3 \ | ||
22 | BIO_new.3 \ | ||
23 | BIO_push.3 \ | ||
24 | BIO_read.3 \ | ||
25 | BIO_s_accept.3 \ | ||
26 | BIO_s_bio.3 \ | ||
27 | BIO_s_connect.3 \ | ||
28 | BIO_s_fd.3 \ | ||
29 | BIO_s_file.3 \ | ||
30 | BIO_s_mem.3 \ | ||
31 | BIO_s_null.3 \ | ||
32 | BIO_s_socket.3 \ | ||
33 | BIO_set_callback.3 \ | ||
34 | BIO_should_retry.3 \ | ||
35 | BN_BLINDING_new.3 \ | ||
36 | BN_CTX_new.3 \ | ||
37 | BN_CTX_start.3 \ | ||
38 | BN_add.3 \ | ||
39 | BN_add_word.3 \ | ||
40 | BN_bn2bin.3 \ | ||
41 | BN_cmp.3 \ | ||
42 | BN_copy.3 \ | ||
43 | BN_generate_prime.3 \ | ||
44 | BN_mod_inverse.3 \ | ||
45 | BN_mod_mul_montgomery.3 \ | ||
46 | BN_mod_mul_reciprocal.3 \ | ||
47 | BN_new.3 \ | ||
48 | BN_num_bytes.3 \ | ||
49 | BN_rand.3 \ | ||
50 | BN_set_bit.3 \ | ||
51 | BN_swap.3 \ | ||
52 | BN_zero.3 \ | ||
53 | CONF_modules_free.3 \ | ||
54 | CONF_modules_load_file.3 \ | ||
55 | CRYPTO_set_ex_data.3 \ | ||
56 | DH_generate_key.3 \ | ||
57 | DH_generate_parameters.3 \ | ||
58 | DH_get_ex_new_index.3 \ | ||
59 | DH_new.3 \ | ||
60 | DH_set_method.3 \ | ||
61 | DH_size.3 \ | ||
62 | DSA_SIG_new.3 \ | ||
63 | DSA_do_sign.3 \ | ||
64 | DSA_dup_DH.3 \ | ||
65 | DSA_generate_key.3 \ | ||
66 | DSA_generate_parameters.3 \ | ||
67 | DSA_get_ex_new_index.3 \ | ||
68 | DSA_new.3 \ | ||
69 | DSA_set_method.3 \ | ||
70 | DSA_sign.3 \ | ||
71 | DSA_size.3 \ | ||
72 | ERR_GET_LIB.3 \ | ||
73 | ERR_clear_error.3 \ | ||
74 | ERR_error_string.3 \ | ||
75 | ERR_get_error.3 \ | ||
76 | ERR_load_crypto_strings.3 \ | ||
77 | ERR_load_strings.3 \ | ||
78 | ERR_print_errors.3 \ | ||
79 | ERR_put_error.3 \ | ||
80 | ERR_remove_state.3 \ | ||
81 | ERR_set_mark.3 \ | ||
82 | EVP_BytesToKey.3 \ | ||
83 | EVP_DigestInit.3 \ | ||
84 | EVP_DigestSignInit.3 \ | ||
85 | EVP_DigestVerifyInit.3 \ | ||
86 | EVP_EncryptInit.3 \ | ||
87 | EVP_OpenInit.3 \ | ||
88 | EVP_PKEY_new.3 \ | ||
89 | EVP_PKEY_set1_RSA.3 \ | ||
90 | EVP_SealInit.3 \ | ||
91 | EVP_SignInit.3 \ | ||
92 | EVP_VerifyInit.3 \ | ||
93 | OBJ_nid2obj.3 \ | ||
94 | OPENSSL_VERSION_NUMBER.3 \ | ||
95 | OPENSSL_config.3 \ | ||
96 | OPENSSL_load_builtin_modules.3 \ | ||
97 | OpenSSL_add_all_algorithms.3 \ | ||
98 | PKCS12_create.3 \ | ||
99 | PKCS12_parse.3 \ | ||
100 | PKCS7_decrypt.3 \ | ||
101 | PKCS7_encrypt.3 \ | ||
102 | PKCS7_sign.3 \ | ||
103 | PKCS7_verify.3 \ | ||
104 | RAND_add.3 \ | ||
105 | RAND_bytes.3 \ | ||
106 | RAND_cleanup.3 \ | ||
107 | RAND_egd.3 \ | ||
108 | RAND_load_file.3 \ | ||
109 | RAND_set_rand_method.3 \ | ||
110 | RSA_blinding_on.3 \ | ||
111 | RSA_check_key.3 \ | ||
112 | RSA_generate_key.3 \ | ||
113 | RSA_get_ex_new_index.3 \ | ||
114 | RSA_new.3 \ | ||
115 | RSA_padding_add_PKCS1_type_1.3 \ | ||
116 | RSA_print.3 \ | ||
117 | RSA_private_encrypt.3 \ | ||
118 | RSA_public_encrypt.3 \ | ||
119 | RSA_set_method.3 \ | ||
120 | RSA_sign.3 \ | ||
121 | RSA_sign_ASN1_OCTET_STRING.3 \ | ||
122 | RSA_size.3 \ | ||
123 | SMIME_read_PKCS7.3 \ | ||
124 | SMIME_write_PKCS7.3 \ | ||
125 | SSL_CIPHER_get_name.3 \ | 10 | SSL_CIPHER_get_name.3 \ |
126 | SSL_COMP_add_compression_method.3 \ | 11 | SSL_COMP_add_compression_method.3 \ |
127 | SSL_CTX_add_extra_chain_cert.3 \ | 12 | SSL_CTX_add_extra_chain_cert.3 \ |
@@ -202,146 +87,11 @@ MAN= \ | |||
202 | SSL_state_string.3 \ | 87 | SSL_state_string.3 \ |
203 | SSL_want.3 \ | 88 | SSL_want.3 \ |
204 | SSL_write.3 \ | 89 | SSL_write.3 \ |
205 | X509_NAME_ENTRY_get_object.3 \ | ||
206 | X509_NAME_add_entry_by_txt.3 \ | ||
207 | X509_NAME_get_index_by_NID.3 \ | ||
208 | X509_NAME_print_ex.3 \ | ||
209 | X509_new.3 \ | ||
210 | X509_STORE_CTX_get_error.3 \ | ||
211 | X509_STORE_CTX_get_ex_new_index.3 \ | ||
212 | X509_STORE_CTX_new.3 \ | ||
213 | X509_STORE_CTX_set_verify_cb.3 \ | ||
214 | X509_STORE_set_verify_cb_func.3 \ | ||
215 | X509_VERIFY_PARAM_set_flags.3 \ | ||
216 | X509_verify_cert.3 \ | ||
217 | bn.3 \ | ||
218 | bn_internal.3 \ | ||
219 | crypto.3 \ | ||
220 | d2i_ASN1_OBJECT.3 \ | ||
221 | d2i_DHparams.3 \ | ||
222 | d2i_DSAPublicKey.3 \ | ||
223 | d2i_PKCS8PrivateKey.3 \ | ||
224 | d2i_RSAPublicKey.3 \ | ||
225 | d2i_SSL_SESSION.3 \ | 90 | d2i_SSL_SESSION.3 \ |
226 | d2i_X509.3 \ | ||
227 | d2i_X509_ALGOR.3 \ | ||
228 | d2i_X509_CRL.3 \ | ||
229 | d2i_X509_NAME.3 \ | ||
230 | d2i_X509_REQ.3 \ | ||
231 | d2i_X509_SIG.3 \ | ||
232 | dh.3 \ | ||
233 | dsa.3 \ | ||
234 | ecdsa.3 \ | ||
235 | engine.3 \ | ||
236 | evp.3 \ | ||
237 | lh_stats.3 \ | ||
238 | lhash.3 \ | ||
239 | pem.3 \ | ||
240 | rsa.3 \ | ||
241 | ssl.3 \ | 91 | ssl.3 \ |
242 | ui.3 \ | ||
243 | ui_compat.3 \ | ||
244 | x509.3 \ | ||
245 | BF_set_key.3 \ | ||
246 | BIO.3 \ | ||
247 | BUF_MEM_new.3 \ | ||
248 | CRYPTO_set_locking_callback.3 \ | ||
249 | DES_set_key.3 \ | ||
250 | ERR.3 \ | ||
251 | HMAC.3 \ | ||
252 | MD5.3 \ | ||
253 | PEM_read_bio_PrivateKey.3 \ | ||
254 | RAND.3 \ | ||
255 | RC4.3 \ | ||
256 | RIPEMD160.3 \ | ||
257 | SHA1.3 | ||
258 | |||
259 | # These pages removed/renamed | ||
260 | # OPENSSL_ia32cap.cat3 \ # i386-only, internal API | ||
261 | # OPENSSL_Applink.cat3 \ # Win32 only | ||
262 | # bio.cat3 \ # conflict; see below | ||
263 | # blowfish.cat3 \ # conflict; see below | ||
264 | # buffer.cat3 \ # conflict; see below | ||
265 | # des.cat3 \ # conflict; see below | ||
266 | # des_modes.cat3 \ # fairly pointless | ||
267 | # hmac.cat3 \ # conflict; see below | ||
268 | # md5.cat3 \ # conflict; see below | ||
269 | # mdc2.cat3 \ # patents; removed | ||
270 | # rand.cat3 \ # conflict; see below | ||
271 | # rc4.cat3 \ # conflict; see below | ||
272 | # ripemd.cat3 \ # conflict; see below | ||
273 | # sha.cat3 \ # conflict; see below | ||
274 | |||
275 | |||
276 | # these are a real problem, since they re-document functions described in | ||
277 | # other pages. | ||
278 | |||
279 | .for page src in \ | ||
280 | BF_set_key blowfish \ | ||
281 | BIO bio \ | ||
282 | BUF_MEM_new buffer \ | ||
283 | CRYPTO_set_locking_callback threads \ | ||
284 | DES_set_key des \ | ||
285 | ERR err \ | ||
286 | HMAC hmac \ | ||
287 | MD5 md5 \ | ||
288 | PEM_read_bio_PrivateKey pem \ | ||
289 | RAND rand \ | ||
290 | RC4 rc4 \ | ||
291 | RIPEMD160 ripemd \ | ||
292 | SHA1 sha | ||
293 | |||
294 | ${page}.3: ${src}.pod | ||
295 | @echo '${POD2MAN} --section=3 --name=${page:U} $? > $@' | ||
296 | @${POD2MAN} --section=3 --name=${page:U} $? > $@.tmp && mv $@.tmp $@ | ||
297 | .endfor | ||
298 | 92 | ||
93 | # XXX ERR_load_crypto_strings.3 built by libcrypto | ||
299 | MLINKS+=\ | 94 | MLINKS+=\ |
300 | ASN1_OBJECT_new.3 ASN1_OBJECT_free.3 \ | ||
301 | ASN1_STRING_length.3 ASN1_STRING_cmp.3 \ | ||
302 | ASN1_STRING_length.3 ASN1_STRING_data.3 \ | ||
303 | ASN1_STRING_length.3 ASN1_STRING_dup.3 \ | ||
304 | ASN1_STRING_length.3 ASN1_STRING_set.3 \ | ||
305 | ASN1_STRING_length.3 ASN1_STRING_to_UTF8.3 \ | ||
306 | ASN1_STRING_length.3 ASN1_STRING_type.3 \ | ||
307 | ASN1_STRING_new.3 ASN1_STRING_free.3 \ | ||
308 | ASN1_STRING_new.3 ASN1_STRING_type_new.3 \ | ||
309 | ASN1_STRING_print_ex.3 ASN1_STRING_print.3 \ | ||
310 | ASN1_STRING_print_ex.3 ASN1_STRING_print_ex_fp.3 \ | ||
311 | ASN1_generate_nconf.3 ASN1_generate_v3.3 \ | ||
312 | BF_set_key.3 BF_cbc_encrypt.3 \ | ||
313 | BF_set_key.3 BF_cfb64_encrypt.3 \ | ||
314 | BF_set_key.3 BF_decrypt.3 \ | ||
315 | BF_set_key.3 BF_ecb_encrypt.3 \ | ||
316 | BF_set_key.3 BF_encrypt.3 \ | ||
317 | BF_set_key.3 BF_ofb64_encrypt.3 \ | ||
318 | BF_set_key.3 BF_options.3 \ | ||
319 | BIO_ctrl.3 BIO_callback_ctrl.3 \ | ||
320 | BIO_ctrl.3 BIO_ctrl_pending.3 \ | ||
321 | BIO_ctrl.3 BIO_ctrl_wpending.3 \ | ||
322 | BIO_ctrl.3 BIO_eof.3 \ | ||
323 | BIO_ctrl.3 BIO_flush.3 \ | ||
324 | BIO_ctrl.3 BIO_get_close.3 \ | ||
325 | BIO_ctrl.3 BIO_get_info_callback.3 \ | ||
326 | BIO_ctrl.3 BIO_int_ctrl.3 \ | ||
327 | BIO_ctrl.3 BIO_pending.3 \ | ||
328 | BIO_ctrl.3 BIO_ptr_ctrl.3 \ | ||
329 | BIO_ctrl.3 BIO_reset.3 \ | ||
330 | BIO_ctrl.3 BIO_seek.3 \ | ||
331 | BIO_ctrl.3 BIO_set_close.3 \ | ||
332 | BIO_ctrl.3 BIO_set_info_callback.3 \ | ||
333 | BIO_ctrl.3 BIO_tell.3 \ | ||
334 | BIO_f_buffer.3 BIO_get_buffer_num_lines.3 \ | ||
335 | BIO_f_buffer.3 BIO_set_buffer_read_data.3 \ | ||
336 | BIO_f_buffer.3 BIO_set_buffer_size.3 \ | ||
337 | BIO_f_buffer.3 BIO_set_read_buffer_size.3 \ | ||
338 | BIO_f_buffer.3 BIO_set_write_buffer_size.3 \ | ||
339 | BIO_f_cipher.3 BIO_get_cipher_ctx.3 \ | ||
340 | BIO_f_cipher.3 BIO_get_cipher_status.3 \ | ||
341 | BIO_f_cipher.3 BIO_set_cipher.3 \ | ||
342 | BIO_f_md.3 BIO_get_md.3 \ | ||
343 | BIO_f_md.3 BIO_get_md_ctx.3 \ | ||
344 | BIO_f_md.3 BIO_set_md.3 \ | ||
345 | BIO_f_ssl.3 BIO_do_handshake.3 \ | 95 | BIO_f_ssl.3 BIO_do_handshake.3 \ |
346 | BIO_f_ssl.3 BIO_get_num_renegotiates.3 \ | 96 | BIO_f_ssl.3 BIO_get_num_renegotiates.3 \ |
347 | BIO_f_ssl.3 BIO_get_ssl.3 \ | 97 | BIO_f_ssl.3 BIO_get_ssl.3 \ |
@@ -354,439 +104,7 @@ MLINKS+=\ | |||
354 | BIO_f_ssl.3 BIO_set_ssl_renegotiate_timeout.3 \ | 104 | BIO_f_ssl.3 BIO_set_ssl_renegotiate_timeout.3 \ |
355 | BIO_f_ssl.3 BIO_ssl_copy_session_id.3 \ | 105 | BIO_f_ssl.3 BIO_ssl_copy_session_id.3 \ |
356 | BIO_f_ssl.3 BIO_ssl_shutdown.3 \ | 106 | BIO_f_ssl.3 BIO_ssl_shutdown.3 \ |
357 | BIO_find_type.3 BIO_method_type.3 \ | ||
358 | BIO_find_type.3 BIO_next.3 \ | ||
359 | BIO_new.3 BIO_free.3 \ | ||
360 | BIO_new.3 BIO_free_all.3 \ | ||
361 | BIO_new.3 BIO_set.3 \ | ||
362 | BIO_new.3 BIO_vfree.3 \ | ||
363 | BIO_push.3 BIO_pop.3 \ | ||
364 | BIO_read.3 BIO_gets.3 \ | ||
365 | BIO_read.3 BIO_puts.3 \ | ||
366 | BIO_read.3 BIO_write.3 \ | ||
367 | BIO_s_accept.3 BIO_do_accept.3 \ | ||
368 | BIO_s_accept.3 BIO_get_accept_port.3 \ | ||
369 | BIO_s_accept.3 BIO_get_bind_mode.3 \ | ||
370 | BIO_s_accept.3 BIO_set_accept_bios.3 \ | ||
371 | BIO_s_accept.3 BIO_set_accept_port.3 \ | ||
372 | BIO_s_accept.3 BIO_set_bind_mode.3 \ | ||
373 | BIO_s_accept.3 BIO_set_nbio_accept.3 \ | ||
374 | BIO_s_bio.3 BIO_ctrl_get_read_request.3 \ | ||
375 | BIO_s_bio.3 BIO_ctrl_get_write_guarantee.3 \ | ||
376 | BIO_s_bio.3 BIO_ctrl_reset_read_request.3 \ | ||
377 | BIO_s_bio.3 BIO_destroy_bio_pair.3 \ | ||
378 | BIO_s_bio.3 BIO_get_read_request.3 \ | ||
379 | BIO_s_bio.3 BIO_get_write_buf_size.3 \ | ||
380 | BIO_s_bio.3 BIO_get_write_guarantee.3 \ | ||
381 | BIO_s_bio.3 BIO_make_bio_pair.3 \ | ||
382 | BIO_s_bio.3 BIO_new_bio_pair.3 \ | ||
383 | BIO_s_bio.3 BIO_set_write_buf_size.3 \ | ||
384 | BIO_s_bio.3 BIO_shutdown_wr.3 \ | ||
385 | BIO_s_connect.3 BIO_do_connect.3 \ | ||
386 | BIO_s_connect.3 BIO_get_conn_hostname.3 \ | ||
387 | BIO_s_connect.3 BIO_get_conn_int_port.3 \ | ||
388 | BIO_s_connect.3 BIO_get_conn_ip.3 \ | ||
389 | BIO_s_connect.3 BIO_get_conn_port.3 \ | ||
390 | BIO_s_connect.3 BIO_set_conn_hostname.3 \ | ||
391 | BIO_s_connect.3 BIO_set_conn_int_port.3 \ | ||
392 | BIO_s_connect.3 BIO_set_conn_ip.3 \ | ||
393 | BIO_s_connect.3 BIO_set_conn_port.3 \ | ||
394 | BIO_s_connect.3 BIO_set_nbio.3 \ | ||
395 | BIO_s_fd.3 BIO_get_fd.3 \ | ||
396 | BIO_s_fd.3 BIO_new_fd.3 \ | ||
397 | BIO_s_fd.3 BIO_set_fd.3 \ | ||
398 | BIO_s_file.3 BIO_append_filename.3 \ | ||
399 | BIO_s_file.3 BIO_get_fp.3 \ | ||
400 | BIO_s_file.3 BIO_new_file.3 \ | ||
401 | BIO_s_file.3 BIO_new_fp.3 \ | ||
402 | BIO_s_file.3 BIO_read_filename.3 \ | ||
403 | BIO_s_file.3 BIO_rw_filename.3 \ | ||
404 | BIO_s_file.3 BIO_set_fp.3 \ | ||
405 | BIO_s_file.3 BIO_write_filename.3 \ | ||
406 | BIO_s_mem.3 BIO_get_mem_data.3 \ | ||
407 | BIO_s_mem.3 BIO_get_mem_ptr.3 \ | ||
408 | BIO_s_mem.3 BIO_new_mem_buf.3 \ | ||
409 | BIO_s_mem.3 BIO_set_mem_buf.3 \ | ||
410 | BIO_s_mem.3 BIO_set_mem_eof_return.3 \ | ||
411 | BIO_s_socket.3 BIO_get_fd.3 \ | ||
412 | BIO_s_socket.3 BIO_new_socket.3 \ | ||
413 | BIO_s_socket.3 BIO_set_fd.3 \ | ||
414 | BIO_set_callback.3 BIO_debug_callback.3 \ | ||
415 | BIO_set_callback.3 BIO_get_callback.3 \ | ||
416 | BIO_set_callback.3 BIO_get_callback_arg.3 \ | ||
417 | BIO_set_callback.3 BIO_set_callback_arg.3 \ | ||
418 | BIO_should_retry.3 BIO_get_retry_BIO.3 \ | ||
419 | BIO_should_retry.3 BIO_get_retry_reason.3 \ | ||
420 | BIO_should_retry.3 BIO_retry_type.3 \ | ||
421 | BIO_should_retry.3 BIO_should_io_special.3 \ | ||
422 | BIO_should_retry.3 BIO_should_read.3 \ | ||
423 | BIO_should_retry.3 BIO_should_write.3 \ | ||
424 | BN_BLINDING_new.3 BN_BLINDING_convert.3 \ | ||
425 | BN_BLINDING_new.3 BN_BLINDING_convert_ex.3 \ | ||
426 | BN_BLINDING_new.3 BN_BLINDING_create_param.3 \ | ||
427 | BN_BLINDING_new.3 BN_BLINDING_free.3 \ | ||
428 | BN_BLINDING_new.3 BN_BLINDING_get_thread_id.3 \ | ||
429 | BN_BLINDING_new.3 BN_BLINDING_invert.3 \ | ||
430 | BN_BLINDING_new.3 BN_BLINDING_invert_ex.3 \ | ||
431 | BN_BLINDING_new.3 BN_BLINDING_get_flags.3 \ | ||
432 | BN_BLINDING_new.3 BN_BLINDING_set_flags.3 \ | ||
433 | BN_BLINDING_new.3 BN_BLINDING_set_thread_id.3 \ | ||
434 | BN_BLINDING_new.3 BN_BLINDING_update.3 \ | ||
435 | BN_CTX_new.3 BN_CTX_free.3 \ | ||
436 | BN_CTX_new.3 BN_CTX_init.3 \ | ||
437 | BN_CTX_start.3 BN_CTX_end.3 \ | ||
438 | BN_CTX_start.3 BN_CTX_get.3 \ | ||
439 | BN_add.3 BN_div.3 \ | ||
440 | BN_add.3 BN_exp.3 \ | ||
441 | BN_add.3 BN_gcd.3 \ | ||
442 | BN_add.3 BN_mod.3 \ | ||
443 | BN_add.3 BN_mod_exp.3 \ | ||
444 | BN_add.3 BN_mod_mul.3 \ | ||
445 | BN_add.3 BN_mul.3 \ | ||
446 | BN_add.3 BN_sqr.3 \ | ||
447 | BN_add.3 BN_sub.3 \ | ||
448 | BN_add_word.3 BN_div_word.3 \ | ||
449 | BN_add_word.3 BN_mod_word.3 \ | ||
450 | BN_add_word.3 BN_mul_word.3 \ | ||
451 | BN_add_word.3 BN_sub_word.3 \ | ||
452 | BN_bn2bin.3 BN_bin2bn.3 \ | ||
453 | BN_bn2bin.3 BN_bn2dec.3 \ | ||
454 | BN_bn2bin.3 BN_bn2hex.3 \ | ||
455 | BN_bn2bin.3 BN_bn2mpi.3 \ | ||
456 | BN_bn2bin.3 BN_dec2bn.3 \ | ||
457 | BN_bn2bin.3 BN_hex2bn.3 \ | ||
458 | BN_bn2bin.3 BN_mpi2bn.3 \ | ||
459 | BN_bn2bin.3 BN_print.3 \ | ||
460 | BN_bn2bin.3 BN_print_fp.3 \ | ||
461 | BN_cmp.3 BN_is_odd.3 \ | ||
462 | BN_cmp.3 BN_is_one.3 \ | ||
463 | BN_cmp.3 BN_is_word.3 \ | ||
464 | BN_cmp.3 BN_is_zero.3 \ | ||
465 | BN_cmp.3 BN_ucmp.3 \ | ||
466 | BN_copy.3 BN_dup.3 \ | ||
467 | BN_generate_prime.3 BN_is_prime.3 \ | ||
468 | BN_generate_prime.3 BN_is_prime_fasttest.3 \ | ||
469 | BN_mod_mul_montgomery.3 BN_MONT_CTX_copy.3 \ | ||
470 | BN_mod_mul_montgomery.3 BN_MONT_CTX_free.3 \ | ||
471 | BN_mod_mul_montgomery.3 BN_MONT_CTX_init.3 \ | ||
472 | BN_mod_mul_montgomery.3 BN_MONT_CTX_new.3 \ | ||
473 | BN_mod_mul_montgomery.3 BN_MONT_CTX_set.3 \ | ||
474 | BN_mod_mul_montgomery.3 BN_from_montgomery.3 \ | ||
475 | BN_mod_mul_montgomery.3 BN_to_montgomery.3 \ | ||
476 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_free.3 \ | ||
477 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_init.3 \ | ||
478 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_new.3 \ | ||
479 | BN_mod_mul_reciprocal.3 BN_RECP_CTX_set.3 \ | ||
480 | BN_mod_mul_reciprocal.3 BN_div_recp.3 \ | ||
481 | BN_new.3 BN_clear.3 \ | ||
482 | BN_new.3 BN_clear_free.3 \ | ||
483 | BN_new.3 BN_free.3 \ | ||
484 | BN_new.3 BN_init.3 \ | ||
485 | BN_num_bytes.3 BN_num_bits.3 \ | ||
486 | BN_num_bytes.3 BN_num_bits_word.3 \ | ||
487 | BN_rand.3 BN_pseudo_rand.3 \ | ||
488 | BN_rand.3 BN_rand_range.3 \ | ||
489 | BN_set_bit.3 BN_clear_bit.3 \ | ||
490 | BN_set_bit.3 BN_is_bit_set.3 \ | ||
491 | BN_set_bit.3 BN_lshift.3 \ | ||
492 | BN_set_bit.3 BN_lshift1.3 \ | ||
493 | BN_set_bit.3 BN_mask_bits.3 \ | ||
494 | BN_set_bit.3 BN_rshift.3 \ | ||
495 | BN_set_bit.3 BN_rshift1.3 \ | ||
496 | BN_zero.3 BN_get_word.3 \ | ||
497 | BN_zero.3 BN_one.3 \ | ||
498 | BN_zero.3 BN_set_word.3 \ | ||
499 | BN_zero.3 BN_value_one.3 \ | ||
500 | BUF_MEM_new.3 BUF_MEM_free.3 \ | ||
501 | BUF_MEM_new.3 BUF_MEM_grow.3 \ | ||
502 | BUF_MEM_new.3 BUF_strdup.3 \ | ||
503 | CONF_modules_free.3 CONF_modules_finish.3 \ | ||
504 | CONF_modules_free.3 CONF_modules_unload.3 \ | ||
505 | CONF_modules_load_file.3 CONF_modules_load.3 \ | ||
506 | CRYPTO_set_ex_data.3 CRYPTO_get_ex_data.3 \ | ||
507 | CRYPTO_set_locking_callback.3 CRYPTO_add.3 \ | ||
508 | CRYPTO_set_locking_callback.3 CRYPTO_add_lock.3 \ | ||
509 | CRYPTO_set_locking_callback.3 CRYPTO_destroy_dynlockid.3 \ | ||
510 | CRYPTO_set_locking_callback.3 CRYPTO_get_new_dynlockid.3 \ | ||
511 | CRYPTO_set_locking_callback.3 CRYPTO_lock.3 \ | ||
512 | CRYPTO_set_locking_callback.3 CRYPTO_num_locks.3 \ | ||
513 | CRYPTO_set_locking_callback.3 CRYPTO_r_lock.3 \ | ||
514 | CRYPTO_set_locking_callback.3 CRYPTO_r_unlock.3 \ | ||
515 | CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_create_callback.3 \ | ||
516 | CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_destroy_callback.3 \ | ||
517 | CRYPTO_set_locking_callback.3 CRYPTO_set_dynlock_lock_callback.3 \ | ||
518 | CRYPTO_set_locking_callback.3 CRYPTO_set_id_callback.3 \ | ||
519 | CRYPTO_set_locking_callback.3 CRYPTO_w_lock.3 \ | ||
520 | CRYPTO_set_locking_callback.3 CRYPTO_w_unlock.3 \ | ||
521 | DH_generate_key.3 DH_compute_key.3 \ | ||
522 | DH_generate_parameters.3 DH_check.3 \ | ||
523 | DH_get_ex_new_index.3 DH_get_ex_data.3 \ | ||
524 | DH_get_ex_new_index.3 DH_set_ex_data.3 \ | ||
525 | DH_new.3 DH_free.3 \ | ||
526 | DH_set_method.3 DH_OpenSSL.3 \ | ||
527 | DH_set_method.3 DH_get_default_method.3 \ | ||
528 | DH_set_method.3 DH_get_default_openssl_method.3 \ | ||
529 | DH_set_method.3 DH_new_method.3 \ | ||
530 | DH_set_method.3 DH_set_default_method.3 \ | ||
531 | DH_set_method.3 DH_set_default_openssl_method.3 \ | ||
532 | DSA_new.3 DSA_free.3 \ | ||
533 | DSA_set_method.3 DSA_OpenSSL.3 \ | ||
534 | DSA_set_method.3 DSA_get_default_method.3 \ | ||
535 | DSA_set_method.3 DSA_get_default_openssl_method.3 \ | ||
536 | DSA_set_method.3 DSA_new_method.3 \ | ||
537 | DSA_set_method.3 DSA_set_default_method.3 \ | ||
538 | DSA_set_method.3 DSA_set_default_openssl_method.3 \ | ||
539 | DSA_sign.3 DSA_sign_setup.3 \ | ||
540 | DSA_sign.3 DSA_verify.3 \ | ||
541 | ERR_GET_LIB.3 ERR_GET_FUNC.3 \ | ||
542 | ERR_GET_LIB.3 ERR_GET_REASON.3 \ | ||
543 | ERR_error_string.3 ERR_error_string_n.3 \ | ||
544 | ERR_error_string.3 ERR_func_error_string.3 \ | ||
545 | ERR_error_string.3 ERR_lib_error_string.3 \ | ||
546 | ERR_error_string.3 ERR_reason_error_string.3 \ | ||
547 | ERR_get_error.3 ERR_get_error_line.3 \ | ||
548 | ERR_get_error.3 ERR_get_error_line_data.3 \ | ||
549 | ERR_get_error.3 ERR_peek_error.3 \ | ||
550 | ERR_get_error.3 ERR_peek_error_line.3 \ | ||
551 | ERR_get_error.3 ERR_peek_error_line_data.3 \ | ||
552 | ERR_load_crypto_strings.3 ERR_free_strings.3 \ | ||
553 | ERR_load_crypto_strings.3 SSL_load_error_strings.3 \ | 107 | ERR_load_crypto_strings.3 SSL_load_error_strings.3 \ |
554 | ERR_load_strings.3 ERR_PACK.3 \ | ||
555 | ERR_load_strings.3 ERR_get_next_error_library.3 \ | ||
556 | ERR_print_errors.3 ERR_print_errors_fp.3 \ | ||
557 | ERR_put_error.3 ERR_add_error_data.3 \ | ||
558 | ERR_set_mark.3 ERR_pop_to_mark.3 \ | ||
559 | EVP_DigestInit.3 EVP_DigestFinal.3 \ | ||
560 | EVP_DigestInit.3 EVP_DigestUpdate.3 \ | ||
561 | EVP_DigestInit.3 EVP_MD_CTX_block_size.3 \ | ||
562 | EVP_DigestInit.3 EVP_MD_CTX_copy.3 \ | ||
563 | EVP_DigestInit.3 EVP_MD_CTX_md.3 \ | ||
564 | EVP_DigestInit.3 EVP_MD_CTX_size.3 \ | ||
565 | EVP_DigestInit.3 EVP_MD_CTX_type.3 \ | ||
566 | EVP_DigestInit.3 EVP_MD_block_size.3 \ | ||
567 | EVP_DigestInit.3 EVP_MD_pkey_type.3 \ | ||
568 | EVP_DigestInit.3 EVP_MD_size.3 \ | ||
569 | EVP_DigestInit.3 EVP_MD_type.3 \ | ||
570 | EVP_DigestInit.3 EVP_dss.3 \ | ||
571 | EVP_DigestInit.3 EVP_dss1.3 \ | ||
572 | EVP_DigestInit.3 EVP_get_digestbyname.3 \ | ||
573 | EVP_DigestInit.3 EVP_get_digestbynid.3 \ | ||
574 | EVP_DigestInit.3 EVP_get_digestbyobj.3 \ | ||
575 | EVP_DigestInit.3 EVP_md2.3 \ | ||
576 | EVP_DigestInit.3 EVP_md5.3 \ | ||
577 | EVP_DigestInit.3 EVP_md_null.3 \ | ||
578 | EVP_DigestInit.3 EVP_mdc2.3 \ | ||
579 | EVP_DigestInit.3 EVP_ripemd160.3 \ | ||
580 | EVP_DigestInit.3 EVP_sha.3 \ | ||
581 | EVP_DigestInit.3 EVP_sha1.3 \ | ||
582 | EVP_DigestInit.3 OBJ_nid2sn.3 \ | ||
583 | EVP_DigestInit.3 OBJ_obj2nid.3 \ | ||
584 | EVP_DigestSignInit.3 EVP_DigestSignUpdate.3 \ | ||
585 | EVP_DigestSignInit.3 EVP_DigestSignFinal.3 \ | ||
586 | EVP_DigestVerifyInit.3 EVP_DigestVerifyUpdate.3 \ | ||
587 | EVP_DigestVerifyInit.3 EVP_DigestVerifyFinal.3 \ | ||
588 | EVP_EncryptInit.3 EVP_CIPHER_CTX_block_size.3 \ | ||
589 | EVP_EncryptInit.3 EVP_CIPHER_CTX_cipher.3 \ | ||
590 | EVP_EncryptInit.3 EVP_CIPHER_CTX_cleanup.3 \ | ||
591 | EVP_EncryptInit.3 EVP_CIPHER_CTX_ctrl.3 \ | ||
592 | EVP_EncryptInit.3 EVP_CIPHER_CTX_iv_length.3 \ | ||
593 | EVP_EncryptInit.3 EVP_CIPHER_CTX_key_length.3 \ | ||
594 | EVP_EncryptInit.3 EVP_CIPHER_CTX_nid.3 \ | ||
595 | EVP_EncryptInit.3 EVP_CIPHER_CTX_set_key_length.3 \ | ||
596 | EVP_EncryptInit.3 EVP_CIPHER_CTX_type.3 \ | ||
597 | EVP_EncryptInit.3 EVP_CIPHER_asn1_to_param.3 \ | ||
598 | EVP_EncryptInit.3 EVP_CIPHER_block_size.3 \ | ||
599 | EVP_EncryptInit.3 EVP_CIPHER_iv_length.3 \ | ||
600 | EVP_EncryptInit.3 EVP_CIPHER_key_length.3 \ | ||
601 | EVP_EncryptInit.3 EVP_CIPHER_nid.3 \ | ||
602 | EVP_EncryptInit.3 EVP_CIPHER_param_to_asn1.3 \ | ||
603 | EVP_EncryptInit.3 EVP_CIPHER_type.3 \ | ||
604 | EVP_EncryptInit.3 EVP_CipherFinal.3 \ | ||
605 | EVP_EncryptInit.3 EVP_CipherInit.3 \ | ||
606 | EVP_EncryptInit.3 EVP_CipherUpdate.3 \ | ||
607 | EVP_EncryptInit.3 EVP_DecryptFinal.3 \ | ||
608 | EVP_EncryptInit.3 EVP_DecryptInit.3 \ | ||
609 | EVP_EncryptInit.3 EVP_DecryptUpdate.3 \ | ||
610 | EVP_EncryptInit.3 EVP_EncryptFinal.3 \ | ||
611 | EVP_EncryptInit.3 EVP_EncryptUpdate.3 \ | ||
612 | EVP_EncryptInit.3 EVP_get_cipherbyname.3 \ | ||
613 | EVP_EncryptInit.3 EVP_get_cipherbynid.3 \ | ||
614 | EVP_EncryptInit.3 EVP_get_cipherbyobj.3 \ | ||
615 | EVP_EncryptInit.3 OBJ_nid2sn.3 \ | ||
616 | EVP_EncryptInit.3 OBJ_obj2nid.3 \ | ||
617 | EVP_OpenInit.3 EVP_OpenFinal.3 \ | ||
618 | EVP_OpenInit.3 EVP_OpenUpdate.3 \ | ||
619 | EVP_PKEY_new.3 EVP_PKEY_free.3 \ | ||
620 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_DH.3 \ | ||
621 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_DSA.3 \ | ||
622 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_EC_KEY.3 \ | ||
623 | EVP_PKEY_set1_RSA.3 EVP_PKEY_assign_RSA.3 \ | ||
624 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_DH.3 \ | ||
625 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_DSA.3 \ | ||
626 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_EC_KEY.3 \ | ||
627 | EVP_PKEY_set1_RSA.3 EVP_PKEY_get1_RSA.3 \ | ||
628 | EVP_PKEY_set1_RSA.3 EVP_PKEY_set1_DH.3 \ | ||
629 | EVP_PKEY_set1_RSA.3 EVP_PKEY_set1_DSA.3 \ | ||
630 | EVP_PKEY_set1_RSA.3 EVP_PKEY_set1_EC_KEY.3 \ | ||
631 | EVP_PKEY_set1_RSA.3 EVP_PKEY_type.3 \ | ||
632 | EVP_SealInit.3 EVP_SealFinal.3 \ | ||
633 | EVP_SealInit.3 EVP_SealUpdate.3 \ | ||
634 | EVP_SignInit.3 EVP_PKEY_size.3 \ | ||
635 | EVP_SignInit.3 EVP_SignFinal.3 \ | ||
636 | EVP_SignInit.3 EVP_SignUpdate.3 \ | ||
637 | EVP_VerifyInit.3 EVP_VerifyFinal.3 \ | ||
638 | EVP_VerifyInit.3 EVP_VerifyUpdate.3 \ | ||
639 | HMAC.3 HMAC_Final.3 \ | ||
640 | HMAC.3 HMAC_Init.3 \ | ||
641 | HMAC.3 HMAC_Update.3 \ | ||
642 | HMAC.3 HMAC_cleanup.3 \ | ||
643 | MD5.3 MD2.3 \ | ||
644 | MD5.3 MD2_Final.3 \ | ||
645 | MD5.3 MD2_Init.3 \ | ||
646 | MD5.3 MD2_Update.3 \ | ||
647 | MD5.3 MD4.3 \ | ||
648 | MD5.3 MD4_Final.3 \ | ||
649 | MD5.3 MD4_Init.3 \ | ||
650 | MD5.3 MD4_Update.3 \ | ||
651 | MD5.3 MD5_Final.3 \ | ||
652 | MD5.3 MD5_Init.3 \ | ||
653 | MD5.3 MD5_Update.3 \ | ||
654 | OBJ_nid2obj.3 OBJ_cleanup.3 \ | ||
655 | OBJ_nid2obj.3 OBJ_cmp.3 \ | ||
656 | OBJ_nid2obj.3 OBJ_create.3 \ | ||
657 | OBJ_nid2obj.3 OBJ_dup.3 \ | ||
658 | OBJ_nid2obj.3 OBJ_ln2nid.3 \ | ||
659 | OBJ_nid2obj.3 OBJ_nid2ln.3 \ | ||
660 | OBJ_nid2obj.3 OBJ_nid2sn.3 \ | ||
661 | OBJ_nid2obj.3 OBJ_obj2nid.3 \ | ||
662 | OBJ_nid2obj.3 OBJ_obj2txt.3 \ | ||
663 | OBJ_nid2obj.3 OBJ_sn2nid.3 \ | ||
664 | OBJ_nid2obj.3 OBJ_txt2nid.3 \ | ||
665 | OBJ_nid2obj.3 OBJ_txt2obj.3 \ | ||
666 | OPENSSL_VERSION_NUMBER.3 SSLeay.3 \ | ||
667 | OPENSSL_VERSION_NUMBER.3 SSLeay_version.3 \ | ||
668 | OPENSSL_config.3 OPENSSL_no_config.3 \ | ||
669 | OPENSSL_load_builtin_modules.3 ASN1_add_oid_module.3 \ | ||
670 | OPENSSL_load_builtin_modules.3 ENGINE_add_conf_module.3 \ | ||
671 | OpenSSL_add_all_algorithms.3 EVP_cleanup.3 \ | ||
672 | OpenSSL_add_all_algorithms.3 OpenSSL_add_all_ciphers.3 \ | ||
673 | OpenSSL_add_all_algorithms.3 OpenSSL_add_all_digests.3 \ | ||
674 | PEM_read_bio_PrivateKey.3 PEM_read_DHparams.3 \ | ||
675 | PEM_read_bio_PrivateKey.3 PEM_read_DSAPrivateKey.3 \ | ||
676 | PEM_read_bio_PrivateKey.3 PEM_read_DSA_PUBKEY.3 \ | ||
677 | PEM_read_bio_PrivateKey.3 PEM_read_DSAparams.3 \ | ||
678 | PEM_read_bio_PrivateKey.3 PEM_read_NETSCAPE_CERT_SEQUENCE.3 \ | ||
679 | PEM_read_bio_PrivateKey.3 PEM_read_PKCS7.3 \ | ||
680 | PEM_read_bio_PrivateKey.3 PEM_read_PUBKEY.3 \ | ||
681 | PEM_read_bio_PrivateKey.3 PEM_read_PrivateKey.3 \ | ||
682 | PEM_read_bio_PrivateKey.3 PEM_read_RSAPrivateKey.3 \ | ||
683 | PEM_read_bio_PrivateKey.3 PEM_read_RSAPublicKey.3 \ | ||
684 | PEM_read_bio_PrivateKey.3 PEM_read_RSA_PUBKEY.3 \ | ||
685 | PEM_read_bio_PrivateKey.3 PEM_read_X509.3 \ | ||
686 | PEM_read_bio_PrivateKey.3 PEM_read_X509_AUX.3 \ | ||
687 | PEM_read_bio_PrivateKey.3 PEM_read_X509_CRL.3 \ | ||
688 | PEM_read_bio_PrivateKey.3 PEM_read_X509_REQ.3 \ | ||
689 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DHparams.3 \ | ||
690 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DSAPrivateKey.3 \ | ||
691 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DSA_PUBKEY.3 \ | ||
692 | PEM_read_bio_PrivateKey.3 PEM_read_bio_DSAparams.3 \ | ||
693 | PEM_read_bio_PrivateKey.3 PEM_read_bio_NETSCAPE_CERT_SEQUENCE.3 \ | ||
694 | PEM_read_bio_PrivateKey.3 PEM_read_bio_PKCS7.3 \ | ||
695 | PEM_read_bio_PrivateKey.3 PEM_read_bio_PUBKEY.3 \ | ||
696 | PEM_read_bio_PrivateKey.3 PEM_read_bio_RSAPrivateKey.3 \ | ||
697 | PEM_read_bio_PrivateKey.3 PEM_read_bio_RSAPublicKey.3 \ | ||
698 | PEM_read_bio_PrivateKey.3 PEM_read_bio_RSA_PUBKEY.3 \ | ||
699 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509.3 \ | ||
700 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509_AUX.3 \ | ||
701 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509_CRL.3 \ | ||
702 | PEM_read_bio_PrivateKey.3 PEM_read_bio_X509_REQ.3 \ | ||
703 | PEM_read_bio_PrivateKey.3 PEM_write_DHparams.3 \ | ||
704 | PEM_read_bio_PrivateKey.3 PEM_write_DSAPrivateKey.3 \ | ||
705 | PEM_read_bio_PrivateKey.3 PEM_write_DSA_PUBKEY.3 \ | ||
706 | PEM_read_bio_PrivateKey.3 PEM_write_DSAparams.3 \ | ||
707 | PEM_read_bio_PrivateKey.3 PEM_write_NETSCAPE_CERT_SEQUENCE.3 \ | ||
708 | PEM_read_bio_PrivateKey.3 PEM_write_PKCS7.3 \ | ||
709 | PEM_read_bio_PrivateKey.3 PEM_write_PKCS8PrivateKey.3 \ | ||
710 | PEM_read_bio_PrivateKey.3 PEM_write_PKCS8PrivateKey_nid.3 \ | ||
711 | PEM_read_bio_PrivateKey.3 PEM_write_PUBKEY.3 \ | ||
712 | PEM_read_bio_PrivateKey.3 PEM_write_PrivateKey.3 \ | ||
713 | PEM_read_bio_PrivateKey.3 PEM_write_RSAPrivateKey.3 \ | ||
714 | PEM_read_bio_PrivateKey.3 PEM_write_RSAPublicKey.3 \ | ||
715 | PEM_read_bio_PrivateKey.3 PEM_write_RSA_PUBKEY.3 \ | ||
716 | PEM_read_bio_PrivateKey.3 PEM_write_X509.3 \ | ||
717 | PEM_read_bio_PrivateKey.3 PEM_write_X509_AUX.3 \ | ||
718 | PEM_read_bio_PrivateKey.3 PEM_write_X509_CRL.3 \ | ||
719 | PEM_read_bio_PrivateKey.3 PEM_write_X509_REQ.3 \ | ||
720 | PEM_read_bio_PrivateKey.3 PEM_write_X509_REQ_NEW.3 \ | ||
721 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DHparams.3 \ | ||
722 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DSAPrivateKey.3 \ | ||
723 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DSA_PUBKEY.3 \ | ||
724 | PEM_read_bio_PrivateKey.3 PEM_write_bio_DSAparams.3 \ | ||
725 | PEM_read_bio_PrivateKey.3 PEM_write_bio_NETSCAPE_CERT_SEQUENCE.3 \ | ||
726 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PKCS7.3 \ | ||
727 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PKCS8PrivateKey.3 \ | ||
728 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PKCS8PrivateKey_nid.3 \ | ||
729 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PUBKEY.3 \ | ||
730 | PEM_read_bio_PrivateKey.3 PEM_write_bio_PrivateKey.3 \ | ||
731 | PEM_read_bio_PrivateKey.3 PEM_write_bio_RSAPrivateKey.3 \ | ||
732 | PEM_read_bio_PrivateKey.3 PEM_write_bio_RSAPublicKey.3 \ | ||
733 | PEM_read_bio_PrivateKey.3 PEM_write_bio_RSA_PUBKEY.3 \ | ||
734 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509.3 \ | ||
735 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_AUX.3 \ | ||
736 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_CRL.3 \ | ||
737 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_REQ.3 \ | ||
738 | PEM_read_bio_PrivateKey.3 PEM_write_bio_X509_REQ_NEW.3 \ | ||
739 | RAND_add.3 RAND_event.3 \ | ||
740 | RAND_add.3 RAND_screen.3 \ | ||
741 | RAND_add.3 RAND_seed.3 \ | ||
742 | RAND_add.3 RAND_status.3 \ | ||
743 | RAND_bytes.3 RAND_pseudo_bytes.3 \ | ||
744 | RAND_egd.3 RAND_egd_bytes.3 \ | ||
745 | RAND_load_file.3 RAND_file_name.3 \ | ||
746 | RAND_load_file.3 RAND_write_file.3 \ | ||
747 | RAND_set_rand_method.3 RAND_SSLeay.3 \ | ||
748 | RAND_set_rand_method.3 RAND_get_rand_method.3 \ | ||
749 | RC4.3 RC4_set_key.3 \ | ||
750 | RIPEMD160.3 RIPEMD160_Final.3 \ | ||
751 | RIPEMD160.3 RIPEMD160_Init.3 \ | ||
752 | RIPEMD160.3 RIPEMD160_Update.3 \ | ||
753 | RSA_blinding_on.3 RSA_blinding_off.3 \ | ||
754 | RSA_get_ex_new_index.3 RSA_get_ex_data.3 \ | ||
755 | RSA_get_ex_new_index.3 RSA_set_ex_data.3 \ | ||
756 | RSA_new.3 RSA_free.3 \ | ||
757 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_OAEP.3 \ | ||
758 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_PKCS1_type_2.3 \ | ||
759 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_SSLv23.3 \ | ||
760 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_add_none.3 \ | ||
761 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_OAEP.3 \ | ||
762 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_1.3 \ | ||
763 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_PKCS1_type_2.3 \ | ||
764 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_SSLv23.3 \ | ||
765 | RSA_padding_add_PKCS1_type_1.3 RSA_padding_check_none.3 \ | ||
766 | RSA_print.3 DHparams_print.3 \ | ||
767 | RSA_print.3 DHparams_print_fp.3 \ | ||
768 | RSA_print.3 DSA_print.3 \ | ||
769 | RSA_print.3 DSA_print_fp.3 \ | ||
770 | RSA_print.3 DSAparams_print.3 \ | ||
771 | RSA_print.3 DSAparams_print_fp.3 \ | ||
772 | RSA_print.3 RSA_print_fp.3 \ | ||
773 | RSA_private_encrypt.3 RSA_public_decrypt.3 \ | ||
774 | RSA_public_encrypt.3 RSA_private_decrypt.3 \ | ||
775 | RSA_set_method.3 RSA_PKCS1_RSAref.3 \ | ||
776 | RSA_set_method.3 RSA_PKCS1_SSLeay.3 \ | ||
777 | RSA_set_method.3 RSA_flags.3 \ | ||
778 | RSA_set_method.3 RSA_get_default_method.3 \ | ||
779 | RSA_set_method.3 RSA_get_default_openssl_method.3 \ | ||
780 | RSA_set_method.3 RSA_get_method.3 \ | ||
781 | RSA_set_method.3 RSA_new_method.3 \ | ||
782 | RSA_set_method.3 RSA_null_method.3 \ | ||
783 | RSA_set_method.3 RSA_set_default_method.3 \ | ||
784 | RSA_set_method.3 RSA_set_default_openssl_method.3 \ | ||
785 | RSA_sign.3 RSA_verify.3 \ | ||
786 | RSA_sign_ASN1_OCTET_STRING.3 RSA_verify_ASN1_OCTET_STRING.3 \ | ||
787 | SHA1.3 SHA1_Final.3 \ | ||
788 | SHA1.3 SHA1_Init.3 \ | ||
789 | SHA1.3 SHA1_Update.3 \ | ||
790 | SSL_CIPHER_get_name.3 SSL_CIPHER_description.3 \ | 108 | SSL_CIPHER_get_name.3 SSL_CIPHER_description.3 \ |
791 | SSL_CIPHER_get_name.3 SSL_CIPHER_get_bits.3 \ | 109 | SSL_CIPHER_get_name.3 SSL_CIPHER_get_bits.3 \ |
792 | SSL_CIPHER_get_name.3 SSL_CIPHER_get_version.3 \ | 110 | SSL_CIPHER_get_name.3 SSL_CIPHER_get_version.3 \ |
@@ -921,196 +239,7 @@ MLINKS+=\ | |||
921 | SSL_want.3 SSL_want_read.3 \ | 239 | SSL_want.3 SSL_want_read.3 \ |
922 | SSL_want.3 SSL_want_write.3 \ | 240 | SSL_want.3 SSL_want_write.3 \ |
923 | SSL_want.3 SSL_want_x509_lookup.3 \ | 241 | SSL_want.3 SSL_want_x509_lookup.3 \ |
924 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_create_by_NID.3 \ | ||
925 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_create_by_OBJ.3 \ | ||
926 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_create_by_txt.3 \ | ||
927 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_get_data.3 \ | ||
928 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_set_data.3 \ | ||
929 | X509_NAME_ENTRY_get_object.3 X509_NAME_ENTRY_set_object.3 \ | ||
930 | X509_NAME_add_entry_by_txt.3 X509_NAME_add_entry.3 \ | ||
931 | X509_NAME_add_entry_by_txt.3 X509_NAME_add_entry_by_NID.3 \ | ||
932 | X509_NAME_add_entry_by_txt.3 X509_NAME_add_entry_by_OBJ.3 \ | ||
933 | X509_NAME_add_entry_by_txt.3 X509_NAME_delete_entry.3 \ | ||
934 | X509_new.3 X509_free.3 \ | ||
935 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_get1_chain.3 \ | ||
936 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_get_current_cert.3 \ | ||
937 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_get_error_depth.3 \ | ||
938 | X509_STORE_CTX_get_error.3 X509_STORE_CTX_set_error.3 \ | ||
939 | X509_STORE_CTX_get_error.3 X509_verify_cert_error_string.3 \ | ||
940 | X509_STORE_CTX_get_ex_new_index.3 X509_STORE_CTX_get_ex_data.3 \ | ||
941 | X509_STORE_CTX_get_ex_new_index.3 X509_STORE_CTX_set_ex_data.3 \ | ||
942 | X509_STORE_CTX_new.3 X509_STORE_CTX_cleanup.3 \ | ||
943 | X509_STORE_CTX_new.3 X509_STORE_CTX_free.3 \ | ||
944 | X509_STORE_CTX_new.3 X509_STORE_CTX_get0_param.3 \ | ||
945 | X509_STORE_CTX_new.3 X509_STORE_CTX_init.3 \ | ||
946 | X509_STORE_CTX_new.3 X509_STORE_CTX_set0_crls.3 \ | ||
947 | X509_STORE_CTX_new.3 X509_STORE_CTX_set0_param.3 \ | ||
948 | X509_STORE_CTX_new.3 X509_STORE_CTX_set_cert.3 \ | ||
949 | X509_STORE_CTX_new.3 X509_STORE_CTX_set_chain.3 \ | ||
950 | X509_STORE_CTX_new.3 X509_STORE_CTX_set_default.3 \ | ||
951 | X509_STORE_CTX_new.3 X509_STORE_CTX_trusted_stack.3 \ | ||
952 | X509_STORE_set_verify_cb_func.3 X509_STORE_set_verify_cb.3 \ | ||
953 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_add0_policy.3 \ | ||
954 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_clear_flags.3 \ | ||
955 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_get_depth.3 \ | ||
956 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_get_flags.3 \ | ||
957 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set1_policies.3 \ | ||
958 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_depth.3 \ | ||
959 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_purpose.3 \ | ||
960 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_time.3 \ | ||
961 | X509_VERIFY_PARAM_set_flags.3 X509_VERIFY_PARAM_set_trust.3 \ | ||
962 | bn_internal.3 bn_add_words.3 \ | ||
963 | bn_internal.3 bn_check_top.3 \ | ||
964 | bn_internal.3 bn_cmp_words.3 \ | ||
965 | bn_internal.3 bn_div_words.3 \ | ||
966 | bn_internal.3 bn_dump.3 \ | ||
967 | bn_internal.3 bn_expand.3 \ | ||
968 | bn_internal.3 bn_expand2.3 \ | ||
969 | bn_internal.3 bn_fix_top.3 \ | ||
970 | bn_internal.3 bn_mul_add_words.3 \ | ||
971 | bn_internal.3 bn_mul_comba4.3 \ | ||
972 | bn_internal.3 bn_mul_comba8.3 \ | ||
973 | bn_internal.3 bn_mul_high.3 \ | ||
974 | bn_internal.3 bn_mul_low_normal.3 \ | ||
975 | bn_internal.3 bn_mul_low_recursive.3 \ | ||
976 | bn_internal.3 bn_mul_normal.3 \ | ||
977 | bn_internal.3 bn_mul_part_recursive.3 \ | ||
978 | bn_internal.3 bn_mul_recursive.3 \ | ||
979 | bn_internal.3 bn_mul_words.3 \ | ||
980 | bn_internal.3 bn_print.3 \ | ||
981 | bn_internal.3 bn_set_high.3 \ | ||
982 | bn_internal.3 bn_set_low.3 \ | ||
983 | bn_internal.3 bn_set_max.3 \ | ||
984 | bn_internal.3 bn_sqr_comba4.3 \ | ||
985 | bn_internal.3 bn_sqr_comba8.3 \ | ||
986 | bn_internal.3 bn_sqr_normal.3 \ | ||
987 | bn_internal.3 bn_sqr_recursive.3 \ | ||
988 | bn_internal.3 bn_sqr_words.3 \ | ||
989 | bn_internal.3 bn_sub_words.3 \ | ||
990 | bn_internal.3 bn_wexpand.3 \ | ||
991 | bn_internal.3 mul.3 \ | ||
992 | bn_internal.3 mul_add.3 \ | ||
993 | bn_internal.3 sqr.3 \ | ||
994 | d2i_ASN1_OBJECT.3 i2d_ASN1_OBJECT.3 \ | ||
995 | d2i_DHparams.3 i2d_DHparams.3 \ | ||
996 | d2i_DSAPublicKey.3 d2i_DSAPrivateKey.3 \ | ||
997 | d2i_DSAPublicKey.3 d2i_DSA_PUBKEY.3 \ | ||
998 | d2i_DSAPublicKey.3 d2i_DSA_SIG.3 \ | ||
999 | d2i_DSAPublicKey.3 d2i_DSAparams.3 \ | ||
1000 | d2i_DSAPublicKey.3 i2d_DSAPrivateKey.3 \ | ||
1001 | d2i_DSAPublicKey.3 i2d_DSAPublicKey.3 \ | ||
1002 | d2i_DSAPublicKey.3 i2d_DSA_PUBKEY.3 \ | ||
1003 | d2i_DSAPublicKey.3 i2d_DSA_SIG.3 \ | ||
1004 | d2i_DSAPublicKey.3 i2d_DSAparams.3 \ | ||
1005 | d2i_PKCS8PrivateKey.3 d2i_PKCS8PrivateKey_bio.3 \ | ||
1006 | d2i_PKCS8PrivateKey.3 d2i_PKCS8PrivateKey_fp.3 \ | ||
1007 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_bio.3 \ | ||
1008 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_fp.3 \ | ||
1009 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_nid_bio.3 \ | ||
1010 | d2i_PKCS8PrivateKey.3 i2d_PKCS8PrivateKey_nid_fp.3 \ | ||
1011 | d2i_RSAPublicKey.3 d2i_Netscape_RSA.3 \ | ||
1012 | d2i_RSAPublicKey.3 d2i_RSAPrivateKey.3 \ | ||
1013 | d2i_RSAPublicKey.3 i2d_Netscape_RSA.3 \ | ||
1014 | d2i_RSAPublicKey.3 i2d_RSAPrivateKey.3 \ | ||
1015 | d2i_RSAPublicKey.3 i2d_RSAPublicKey.3 \ | ||
1016 | d2i_SSL_SESSION.3 i2d_SSL_SESSION.3 \ | 242 | d2i_SSL_SESSION.3 i2d_SSL_SESSION.3 \ |
1017 | d2i_X509.3 d2i_X509_bio.3 \ | ||
1018 | d2i_X509.3 d2i_X509_fp.3 \ | ||
1019 | d2i_X509.3 i2d_X509.3 \ | ||
1020 | d2i_X509.3 i2d_X509_bio.3 \ | ||
1021 | d2i_X509.3 i2d_X509_fp.3 \ | ||
1022 | d2i_X509_ALGOR.3 i2d_X509_ALGOR.3 \ | ||
1023 | d2i_X509_CRL.3 d2i_X509_CRL_bio.3 \ | ||
1024 | d2i_X509_CRL.3 d2i_X509_CRL_fp.3 \ | ||
1025 | d2i_X509_CRL.3 i2d_X509_CRL.3 \ | ||
1026 | d2i_X509_CRL.3 i2d_X509_CRL_bio.3 \ | ||
1027 | d2i_X509_CRL.3 i2d_X509_CRL_fp.3 \ | ||
1028 | d2i_X509_NAME.3 i2d_X509_NAME.3 \ | ||
1029 | d2i_X509_REQ.3 d2i_X509_REQ_bio.3 \ | ||
1030 | d2i_X509_REQ.3 d2i_X509_REQ_fp.3 \ | ||
1031 | d2i_X509_REQ.3 i2d_X509_REQ.3 \ | ||
1032 | d2i_X509_REQ.3 i2d_X509_REQ_bio.3 \ | ||
1033 | d2i_X509_REQ.3 i2d_X509_REQ_fp.3 \ | ||
1034 | dsa.3 DSA_OpenSSL.3 \ | ||
1035 | dsa.3 DSA_SIG_free.3 \ | ||
1036 | dsa.3 DSA_do_verify.3 \ | ||
1037 | dsa.3 DSA_free.3 \ | ||
1038 | dsa.3 DSA_get_default_method.3 \ | ||
1039 | dsa.3 DSA_get_ex_data.3 \ | ||
1040 | dsa.3 DSA_new_method.3 \ | ||
1041 | dsa.3 DSA_set_default_method.3 \ | ||
1042 | dsa.3 DSA_set_ex_data.3 \ | ||
1043 | dsa.3 DSA_sign_setup.3 \ | ||
1044 | dsa.3 DSA_verify.3 \ | ||
1045 | ecdsa.3 ECDSA_OpenSSL.3 \ | ||
1046 | ecdsa.3 ECDSA_SIG_free.3 \ | ||
1047 | ecdsa.3 ECDSA_SIG_new.3 \ | ||
1048 | ecdsa.3 ECDSA_do_sign.3 \ | ||
1049 | ecdsa.3 ECDSA_do_sign_ex.3 \ | ||
1050 | ecdsa.3 ECDSA_do_verify.3 \ | ||
1051 | ecdsa.3 ECDSA_get_default_method.3 \ | ||
1052 | ecdsa.3 ECDSA_get_ex_data.3 \ | ||
1053 | ecdsa.3 ECDSA_get_ex_new_index.3 \ | ||
1054 | ecdsa.3 ECDSA_set_default_method.3 \ | ||
1055 | ecdsa.3 ECDSA_set_ex_data.3 \ | ||
1056 | ecdsa.3 ECDSA_set_method.3 \ | ||
1057 | ecdsa.3 ECDSA_sign.3 \ | ||
1058 | ecdsa.3 ECDSA_sign_ex.3 \ | ||
1059 | ecdsa.3 ECDSA_sign_setup.3 \ | ||
1060 | ecdsa.3 ECDSA_verify.3 \ | ||
1061 | ecdsa.3 d2i_ECDSA_SIG.3 \ | ||
1062 | ecdsa.3 i2d_ECDSA_SIG.3 \ | ||
1063 | engine.3 ENGINE_add.3 \ | ||
1064 | engine.3 ENGINE_by_id.3 \ | ||
1065 | engine.3 ENGINE_finish.3 \ | ||
1066 | engine.3 ENGINE_get_first.3 \ | ||
1067 | engine.3 ENGINE_get_last.3 \ | ||
1068 | engine.3 ENGINE_get_next.3 \ | ||
1069 | engine.3 ENGINE_get_prev.3 \ | ||
1070 | engine.3 ENGINE_init.3 \ | ||
1071 | engine.3 ENGINE_load_builtin_engines.3 \ | ||
1072 | engine.3 ENGINE_remove.3 \ | ||
1073 | lh_stats.3 lh_node_stats.3 \ | ||
1074 | lh_stats.3 lh_node_stats_bio.3 \ | ||
1075 | lh_stats.3 lh_node_usage_stats.3 \ | ||
1076 | lh_stats.3 lh_node_usage_stats_bio.3 \ | ||
1077 | lh_stats.3 lh_stats_bio.3 \ | ||
1078 | lhash.3 lh_delete.3 \ | ||
1079 | lhash.3 lh_doall.3 \ | ||
1080 | lhash.3 lh_doall_arg.3 \ | ||
1081 | lhash.3 lh_error.3 \ | ||
1082 | lhash.3 lh_free.3 \ | ||
1083 | lhash.3 lh_insert.3 \ | ||
1084 | lhash.3 lh_new.3 \ | ||
1085 | lhash.3 lh_retrieve.3 \ | ||
1086 | ui.3 UI_OpenSSL.3 \ | ||
1087 | ui.3 UI_add_error_string.3 \ | ||
1088 | ui.3 UI_add_info_string.3 \ | ||
1089 | ui.3 UI_add_input_boolean.3 \ | ||
1090 | ui.3 UI_add_input_string.3 \ | ||
1091 | ui.3 UI_add_user_data.3 \ | ||
1092 | ui.3 UI_add_verify_string.3 \ | ||
1093 | ui.3 UI_construct_prompt.3 \ | ||
1094 | ui.3 UI_ctrl.3 \ | ||
1095 | ui.3 UI_dup_error_string.3 \ | ||
1096 | ui.3 UI_dup_info_string.3 \ | ||
1097 | ui.3 UI_dup_input_boolean.3 \ | ||
1098 | ui.3 UI_dup_input_string.3 \ | ||
1099 | ui.3 UI_dup_verify_string.3 \ | ||
1100 | ui.3 UI_free.3 \ | ||
1101 | ui.3 UI_get0_result.3 \ | ||
1102 | ui.3 UI_get0_user_data.3 \ | ||
1103 | ui.3 UI_get_default_method.3 \ | ||
1104 | ui.3 UI_get_method.3 \ | ||
1105 | ui.3 UI_new.3 \ | ||
1106 | ui.3 UI_new_method.3 \ | ||
1107 | ui.3 UI_process.3 \ | ||
1108 | ui.3 UI_set_default_method.3 \ | ||
1109 | ui.3 UI_set_method.3 \ | ||
1110 | ui_compat.3 des_read_2passwords.3 \ | ||
1111 | ui_compat.3 des_read_password.3 \ | ||
1112 | ui_compat.3 des_read_pw.3 \ | ||
1113 | ui_compat.3 des_read_pw_string.3 | ||
1114 | 243 | ||
1115 | .include <bsd.man.mk> | 244 | .include <bsd.man.mk> |
1116 | .else | 245 | .else |
@@ -1119,7 +248,8 @@ maninstall: | |||
1119 | .endif | 248 | .endif |
1120 | 249 | ||
1121 | # XXX .PATH order is critical because of non-unique filenames | 250 | # XXX .PATH order is critical because of non-unique filenames |
1122 | .PATH: ${.CURDIR}/../src/doc/crypto ${.CURDIR}/../src/doc/ssl ${.CURDIR}/../src/doc/apps | 251 | # XXX doc/crypto because of BIO_f_ssl() |
252 | .PATH: ${.CURDIR}/../src/doc/crypto ${.CURDIR}/../src/doc/ssl | ||
1123 | .SUFFIXES: .pod .1 .3 .7 | 253 | .SUFFIXES: .pod .1 .3 .7 |
1124 | .for sect in 1 3 7 | 254 | .for sect in 1 3 7 |
1125 | .pod.${sect}: | 255 | .pod.${sect}: |
diff --git a/src/lib/libssl/ssl/Makefile b/src/lib/libssl/ssl/Makefile index edc8b1ac6d..8c51f2f55e 100644 --- a/src/lib/libssl/ssl/Makefile +++ b/src/lib/libssl/ssl/Makefile | |||
@@ -1,16 +1,15 @@ | |||
1 | # $OpenBSD: Makefile,v 1.30 2014/04/10 20:00:27 deraadt Exp $ | 1 | # $OpenBSD: Makefile,v 1.31 2014/04/11 22:51:54 miod Exp $ |
2 | 2 | ||
3 | LIB= ssl | 3 | LIB= ssl |
4 | 4 | ||
5 | SSLEAYDIST= src | 5 | SSL_SRC= ${.CURDIR}/../../libssl/src |
6 | 6 | LSSL_SRC= ${SSL_SRC}/ssl | |
7 | LSSL_SRC= ${.CURDIR}/../${SSLEAYDIST}/ssl | ||
8 | 7 | ||
9 | CFLAGS+= -DTERMIOS -DANSI_SOURCE | 8 | CFLAGS+= -DTERMIOS -DANSI_SOURCE |
10 | CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 | 9 | CFLAGS+= -DOPENSSL_NO_RC5 -DOPENSSL_NO_KRB5 |
11 | CFLAGS+= -DOPENSSL_NO_SSL2 | 10 | CFLAGS+= -DOPENSSL_NO_SSL2 |
12 | CFLAGS+= -DOPENSSL_NO_BUF_FREELISTS -DOPENSSL_NO_HEARTBEATS | 11 | CFLAGS+= -DOPENSSL_NO_BUF_FREELISTS -DOPENSSL_NO_HEARTBEATS |
13 | CFLAGS+= -I${.CURDIR}/../${SSLEAYDIST} -I${.CURDIR}/../${SSLEAYDIST}/crypto | 12 | CFLAGS+= -I${SSL_SRC} -I${SSL_SRC}/crypto |
14 | 13 | ||
15 | SRCS=\ | 14 | SRCS=\ |
16 | s2_meth.c s2_srvr.c s2_clnt.c s2_lib.c s2_enc.c s2_pkt.c \ | 15 | s2_meth.c s2_srvr.c s2_clnt.c s2_lib.c s2_enc.c s2_pkt.c \ |
diff --git a/src/lib/libssl/ssleay.cnf b/src/lib/libssl/ssleay.cnf deleted file mode 100644 index c6480ee465..0000000000 --- a/src/lib/libssl/ssleay.cnf +++ /dev/null | |||
@@ -1,65 +0,0 @@ | |||
1 | # | ||
2 | # SSLeay example configuration file. | ||
3 | # This is mostly being used for generation of certificate requests. | ||
4 | # | ||
5 | |||
6 | RANDFILE = /dev/arandom | ||
7 | |||
8 | #################################################################### | ||
9 | [ req ] | ||
10 | default_bits = 1024 | ||
11 | default_keyfile = privkey.pem | ||
12 | distinguished_name = req_distinguished_name | ||
13 | attributes = req_attributes | ||
14 | |||
15 | [ req_distinguished_name ] | ||
16 | countryName = Country Name (2 letter code) | ||
17 | #countryName_default = AU | ||
18 | countryName_min = 2 | ||
19 | countryName_max = 2 | ||
20 | |||
21 | stateOrProvinceName = State or Province Name (full name) | ||
22 | #stateOrProvinceName_default = Some-State | ||
23 | |||
24 | localityName = Locality Name (eg, city) | ||
25 | |||
26 | 0.organizationName = Organization Name (eg, company) | ||
27 | #0.organizationName_default = Internet Widgits Pty Ltd | ||
28 | |||
29 | # we can do this but it is not needed normally :-) | ||
30 | #1.organizationName = Second Organization Name (eg, company) | ||
31 | #1.organizationName_default = CryptSoft Pty Ltd | ||
32 | |||
33 | organizationalUnitName = Organizational Unit Name (eg, section) | ||
34 | #organizationalUnitName_default = | ||
35 | |||
36 | commonName = Common Name (eg, fully qualified host name) | ||
37 | commonName_max = 64 | ||
38 | |||
39 | emailAddress = Email Address | ||
40 | emailAddress_max = 64 | ||
41 | |||
42 | [ req_attributes ] | ||
43 | challengePassword = A challenge password | ||
44 | challengePassword_min = 4 | ||
45 | challengePassword_max = 20 | ||
46 | |||
47 | unstructuredName = An optional company name | ||
48 | |||
49 | [ x509v3_extensions ] | ||
50 | |||
51 | nsCaRevocationUrl = http://www.cryptsoft.com/ca-crl.pem | ||
52 | nsComment = "This is a comment" | ||
53 | |||
54 | # under ASN.1, the 0 bit would be encoded as 80 | ||
55 | nsCertType = 0x40 | ||
56 | |||
57 | #nsBaseUrl | ||
58 | #nsRevocationUrl | ||
59 | #nsRenewalUrl | ||
60 | #nsCaPolicyUrl | ||
61 | #nsSslServerName | ||
62 | #nsCertSequence | ||
63 | #nsCertExt | ||
64 | #nsDataType | ||
65 | |||