1.1 --- a/epoc32/include/stdapis/openssl/opensslconf.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/openssl/opensslconf.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,302 @@
1.4 -opensslconf.h
1.5 +/* opensslconf.h */
1.6 +/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
1.7 +
1.8 +/* OpenSSL was configured with the following options: */
1.9 +
1.10 +#if (defined(__SYMBIAN32__) && !defined(SYMBIAN))
1.11 +#define SYMBIAN
1.12 +#endif
1.13 +
1.14 +#ifndef OPENSSL_DOING_MAKEDEPEND
1.15 +
1.16 +#ifndef OPENSSL_NO_BF
1.17 +# define OPENSSL_NO_BF
1.18 +#endif
1.19 +#ifndef OPENSSL_NO_CAST
1.20 +# define OPENSSL_NO_CAST
1.21 +#endif
1.22 +#ifndef OPENSSL_NO_CPUID_OBJ
1.23 +# define OPENSSL_NO_CPUID_OBJ
1.24 +#endif
1.25 +#ifndef OPENSSL_NO_DEPRECATED
1.26 +# define OPENSSL_NO_DEPRECATED
1.27 +#endif
1.28 +#ifndef OPENSSL_NO_EC
1.29 +# define OPENSSL_NO_EC
1.30 +#endif
1.31 +#ifndef OPENSSL_NO_ECDH
1.32 +# define OPENSSL_NO_ECDH
1.33 +#endif
1.34 +#ifndef OPENSSL_NO_ECDSA
1.35 +# define OPENSSL_NO_ECDSA
1.36 +#endif
1.37 +#ifndef OPENSSL_NO_GMP
1.38 +# define OPENSSL_NO_GMP
1.39 +#endif
1.40 +#ifndef OPENSSL_NO_IDEA
1.41 +# define OPENSSL_NO_IDEA
1.42 +#endif
1.43 +#ifndef OPENSSL_NO_KRB5
1.44 +# define OPENSSL_NO_KRB5
1.45 +#endif
1.46 +#ifndef OPENSSL_NO_MD4
1.47 +# define OPENSSL_NO_MD4
1.48 +#endif
1.49 +#ifndef OPENSSL_NO_MDC2
1.50 +# define OPENSSL_NO_MDC2
1.51 +#endif
1.52 +#ifndef OPENSSL_NO_RC5
1.53 +# define OPENSSL_NO_RC5
1.54 +#endif
1.55 +
1.56 +
1.57 +
1.58 +#ifndef OPENSSL_NO_RIPEMD
1.59 +# define OPENSSL_NO_RIPEMD
1.60 +#endif
1.61 +#ifndef OPENSSL_NO_SHA256
1.62 +# define OPENSSL_NO_SHA256
1.63 +#endif
1.64 +#ifndef OPENSSL_NO_SHA512
1.65 +# define OPENSSL_NO_SHA512
1.66 +#endif
1.67 +#ifndef OPENSSL_NO_STATIC_ENGINE
1.68 +# define OPENSSL_NO_STATIC_ENGINE
1.69 +#endif
1.70 +
1.71 +#endif /* OPENSSL_DOING_MAKEDEPEND */
1.72 +#ifndef OPENSSL_THREADS
1.73 +# define OPENSSL_THREADS
1.74 +#endif
1.75 +#ifndef OPENSSL_NO_ASM
1.76 +# define OPENSSL_NO_ASM
1.77 +#endif
1.78 +#ifndef OPENSSL_NO_HW
1.79 +# define OPENSSL_NO_HW
1.80 +#endif
1.81 +#ifndef OPENSSL_NO_STATIC_ENGINE
1.82 +# define OPENSSL_NO_STATIC_ENGINE
1.83 +#endif
1.84 +
1.85 +/* The OPENSSL_NO_* macros are also defined as NO_* if the application
1.86 + asks for it. This is a transient feature that is provided for those
1.87 + who haven't had the time to do the appropriate changes in their
1.88 + applications. */
1.89 +#ifdef OPENSSL_ALGORITHM_DEFINES
1.90 +# if defined(OPENSSL_NO_BF) && !defined(NO_BF)
1.91 +# define NO_BF
1.92 +# endif
1.93 +# if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)
1.94 +# define NO_CAST
1.95 +# endif
1.96 +# if defined(OPENSSL_NO_CPUID_OBJ) && !defined(NO_CPUID_OBJ)
1.97 +# define NO_CPUID_OBJ
1.98 +# endif
1.99 +# if defined(OPENSSL_NO_DEPRECATED) && !defined(NO_DEPRECATED)
1.100 +# define NO_DEPRECATED
1.101 +# endif
1.102 +# if defined(OPENSSL_NO_EC) && !defined(NO_EC)
1.103 +# define NO_EC
1.104 +# endif
1.105 +# if defined(OPENSSL_NO_ECDH) && !defined(NO_ECDH)
1.106 +# define NO_ECDH
1.107 +# endif
1.108 +# if defined(OPENSSL_NO_ECDSA) && !defined(NO_ECDSA)
1.109 +# define NO_ECDSA
1.110 +# endif
1.111 +# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
1.112 +# define NO_GMP
1.113 +# endif
1.114 +# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
1.115 +# define NO_IDEA
1.116 +# endif
1.117 +# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
1.118 +# define NO_KRB5
1.119 +# endif
1.120 +# if defined(OPENSSL_NO_MD4) && !defined(NO_MD4)
1.121 +# define NO_MD4
1.122 +# endif
1.123 +# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
1.124 +# define NO_MDC2
1.125 +# endif
1.126 +# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
1.127 +# define NO_RC5
1.128 +# endif
1.129 +
1.130 +# if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD)
1.131 +# define NO_RIPEMD
1.132 +# endif
1.133 +# if defined(OPENSSL_NO_SHA256) && !defined(NO_SHA256)
1.134 +# define NO_SHA256
1.135 +# endif
1.136 +# if defined(OPENSSL_NO_SHA512) && !defined(NO_SHA512)
1.137 +# define NO_SHA512
1.138 +# endif
1.139 +# if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE)
1.140 +# define NO_STATIC_ENGINE
1.141 +# endif
1.142 +#endif
1.143 +
1.144 +/* crypto/opensslconf.h.in */
1.145 +
1.146 +/* Generate 80386 code? */
1.147 +#undef I386_ONLY
1.148 +
1.149 +#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
1.150 +#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
1.151 +#define ENGINESDIR "/usr/local/ssl/lib/engines"
1.152 +#ifdef __SYMBIAN32__
1.153 +#define OPENSSLDIR "C:"
1.154 +#else
1.155 +#define OPENSSLDIR "/usr/local/ssl"
1.156 +#endif
1.157 +#endif
1.158 +#endif
1.159 +
1.160 +#undef OPENSSL_UNISTD
1.161 +#define OPENSSL_UNISTD <unistd.h>
1.162 +
1.163 +#undef OPENSSL_EXPORT_VAR_AS_FUNCTION
1.164 +
1.165 +#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
1.166 +#define IDEA_INT unsigned int
1.167 +#endif
1.168 +
1.169 +#if defined(HEADER_MD2_H) && !defined(MD2_INT)
1.170 +#define MD2_INT unsigned int
1.171 +#endif
1.172 +
1.173 +#if defined(HEADER_RC2_H) && !defined(RC2_INT)
1.174 +/* I need to put in a mod for the alpha - eay */
1.175 +#define RC2_INT unsigned int
1.176 +#endif
1.177 +
1.178 +#if defined(HEADER_RC4_H)
1.179 +#if !defined(RC4_INT)
1.180 +/* using int types make the structure larger but make the code faster
1.181 + * on most boxes I have tested - up to %20 faster. */
1.182 +/*
1.183 + * I don't know what does "most" mean, but declaring "int" is a must on:
1.184 + * - Intel P6 because partial register stalls are very expensive;
1.185 + * - elder Alpha because it lacks byte load/store instructions;
1.186 + */
1.187 +#define RC4_INT unsigned int
1.188 +#endif
1.189 +#if !defined(RC4_CHUNK)
1.190 +/*
1.191 + * This enables code handling data aligned at natural CPU word
1.192 + * boundary. See crypto/rc4/rc4_enc.c for further details.
1.193 + */
1.194 +#undef RC4_CHUNK
1.195 +#endif
1.196 +#endif
1.197 +
1.198 +#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
1.199 +/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
1.200 + * %20 speed up (longs are 8 bytes, int's are 4). */
1.201 +#ifndef DES_LONG
1.202 +#define DES_LONG unsigned long
1.203 +#endif
1.204 +#endif
1.205 +
1.206 +#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
1.207 +#define CONFIG_HEADER_BN_H
1.208 +#define BN_LLONG
1.209 +
1.210 +/* Should we define BN_DIV2W here? */
1.211 +
1.212 +/* Only one for the following should be defined */
1.213 +/* The prime number generation stuff may not work when
1.214 + * EIGHT_BIT but I don't care since I've only used this mode
1.215 + * for debuging the bignum libraries */
1.216 +#undef SIXTY_FOUR_BIT_LONG
1.217 +#undef SIXTY_FOUR_BIT
1.218 +#define THIRTY_TWO_BIT
1.219 +#undef SIXTEEN_BIT
1.220 +#undef EIGHT_BIT
1.221 +#endif
1.222 +
1.223 +#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
1.224 +#define CONFIG_HEADER_RC4_LOCL_H
1.225 +/* if this is defined data[i] is used instead of *data, this is a %20
1.226 + * speedup on x86 */
1.227 +#define RC4_INDEX
1.228 +#endif
1.229 +
1.230 +#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
1.231 +#define CONFIG_HEADER_BF_LOCL_H
1.232 +#undef BF_PTR
1.233 +#endif /* HEADER_BF_LOCL_H */
1.234 +
1.235 +#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
1.236 +#define CONFIG_HEADER_DES_LOCL_H
1.237 +#ifndef DES_DEFAULT_OPTIONS
1.238 +/* the following is tweaked from a config script, that is why it is a
1.239 + * protected undef/define */
1.240 +#ifndef DES_PTR
1.241 +#define DES_PTR
1.242 +#endif
1.243 +
1.244 +/* This helps C compiler generate the correct code for multiple functional
1.245 + * units. It reduces register dependancies at the expense of 2 more
1.246 + * registers */
1.247 +#ifndef DES_RISC1
1.248 +#define DES_RISC1
1.249 +#endif
1.250 +
1.251 +#ifndef DES_RISC2
1.252 +#undef DES_RISC2
1.253 +#endif
1.254 +
1.255 +#if defined(DES_RISC1) && defined(DES_RISC2)
1.256 +YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
1.257 +#endif
1.258 +
1.259 +/* Unroll the inner loop, this sometimes helps, sometimes hinders.
1.260 + * Very mucy CPU dependant */
1.261 +#ifndef DES_UNROLL
1.262 +#define DES_UNROLL
1.263 +#endif
1.264 +
1.265 +/* These default values were supplied by
1.266 + * Peter Gutman <pgut001@cs.auckland.ac.nz>
1.267 + * They are only used if nothing else has been defined */
1.268 +#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
1.269 +/* Special defines which change the way the code is built depending on the
1.270 + CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
1.271 + even newer MIPS CPU's, but at the moment one size fits all for
1.272 + optimization options. Older Sparc's work better with only UNROLL, but
1.273 + there's no way to tell at compile time what it is you're running on */
1.274 +
1.275 +#if defined( sun ) /* Newer Sparc's */
1.276 +# define DES_PTR
1.277 +# define DES_RISC1
1.278 +# define DES_UNROLL
1.279 +#elif defined( __ultrix ) /* Older MIPS */
1.280 +# define DES_PTR
1.281 +# define DES_RISC2
1.282 +# define DES_UNROLL
1.283 +#elif defined( __osf1__ ) /* Alpha */
1.284 +# define DES_PTR
1.285 +# define DES_RISC2
1.286 +#elif defined ( _AIX ) /* RS6000 */
1.287 + /* Unknown */
1.288 +#elif defined( __hpux ) /* HP-PA */
1.289 + /* Unknown */
1.290 +#elif defined( __aux ) /* 68K */
1.291 + /* Unknown */
1.292 +#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
1.293 +# define DES_UNROLL
1.294 +#elif defined( __sgi ) /* Newer MIPS */
1.295 +# define DES_PTR
1.296 +# define DES_RISC2
1.297 +# define DES_UNROLL
1.298 +#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */
1.299 +# define DES_PTR
1.300 +# define DES_RISC1
1.301 +# define DES_UNROLL
1.302 +#endif /* Systems-specific speed defines */
1.303 +#endif
1.304 +
1.305 +#endif /* DES_DEFAULT_OPTIONS */
1.306 +#endif /* HEADER_DES_LOCL_H */