opensslconf.h

Go to the documentation of this file.
00001 /* opensslconf.h */
00002 /* WARNING: Generated automatically from opensslconf.h.in by Configure. */
00003 
00004 /* OpenSSL was configured with the following options: */
00005 
00006 #if (defined(__SYMBIAN32__) && !defined(SYMBIAN))
00007 #define SYMBIAN
00008 #endif
00009 
00010 #ifndef OPENSSL_DOING_MAKEDEPEND
00011 
00012 #ifndef OPENSSL_NO_BF
00013 # define OPENSSL_NO_BF
00014 #endif
00015 #ifndef OPENSSL_NO_CAST
00016 # define OPENSSL_NO_CAST
00017 #endif
00018 #ifndef OPENSSL_NO_CPUID_OBJ
00019 # define OPENSSL_NO_CPUID_OBJ
00020 #endif
00021 #ifndef OPENSSL_NO_DEPRECATED
00022 # define OPENSSL_NO_DEPRECATED
00023 #endif
00024 #ifndef OPENSSL_NO_EC
00025 # define OPENSSL_NO_EC
00026 #endif
00027 #ifndef OPENSSL_NO_ECDH
00028 # define OPENSSL_NO_ECDH
00029 #endif
00030 #ifndef OPENSSL_NO_ECDSA
00031 # define OPENSSL_NO_ECDSA
00032 #endif
00033 #ifndef OPENSSL_NO_GMP
00034 # define OPENSSL_NO_GMP
00035 #endif
00036 #ifndef OPENSSL_NO_IDEA
00037 # define OPENSSL_NO_IDEA
00038 #endif
00039 #ifndef OPENSSL_NO_KRB5
00040 # define OPENSSL_NO_KRB5
00041 #endif
00042 #ifndef OPENSSL_NO_MD4
00043 # define OPENSSL_NO_MD4
00044 #endif
00045 #ifndef OPENSSL_NO_MDC2
00046 # define OPENSSL_NO_MDC2
00047 #endif
00048 #ifndef OPENSSL_NO_RC5
00049 # define OPENSSL_NO_RC5
00050 #endif
00051 #ifndef OPENSSL_NO_RIPEMD
00052 # define OPENSSL_NO_RIPEMD
00053 #endif
00054 #ifndef OPENSSL_NO_SHA256
00055 # define OPENSSL_NO_SHA256
00056 #endif
00057 #ifndef OPENSSL_NO_SHA512
00058 # define OPENSSL_NO_SHA512
00059 #endif
00060 #ifndef OPENSSL_NO_STATIC_ENGINE
00061 # define OPENSSL_NO_STATIC_ENGINE
00062 #endif
00063 
00064 #endif /* OPENSSL_DOING_MAKEDEPEND */
00065 #ifndef OPENSSL_THREADS
00066 # define OPENSSL_THREADS
00067 #endif
00068 #ifndef OPENSSL_NO_ASM
00069 # define OPENSSL_NO_ASM
00070 #endif
00071 #ifndef OPENSSL_NO_HW
00072 # define OPENSSL_NO_HW
00073 #endif
00074 #ifndef OPENSSL_NO_STATIC_ENGINE
00075 # define OPENSSL_NO_STATIC_ENGINE
00076 #endif
00077 
00078 /* The OPENSSL_NO_* macros are also defined as NO_* if the application
00079    asks for it.  This is a transient feature that is provided for those
00080    who haven't had the time to do the appropriate changes in their
00081    applications.  */
00082 #ifdef OPENSSL_ALGORITHM_DEFINES
00083 # if defined(OPENSSL_NO_BF) && !defined(NO_BF)
00084 #  define NO_BF
00085 # endif
00086 # if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)
00087 #  define NO_CAST
00088 # endif
00089 # if defined(OPENSSL_NO_CPUID_OBJ) && !defined(NO_CPUID_OBJ)
00090 #  define NO_CPUID_OBJ
00091 # endif
00092 # if defined(OPENSSL_NO_DEPRECATED) && !defined(NO_DEPRECATED)
00093 #  define NO_DEPRECATED
00094 # endif
00095 # if defined(OPENSSL_NO_EC) && !defined(NO_EC)
00096 #  define NO_EC
00097 # endif
00098 # if defined(OPENSSL_NO_ECDH) && !defined(NO_ECDH)
00099 #  define NO_ECDH
00100 # endif
00101 # if defined(OPENSSL_NO_ECDSA) && !defined(NO_ECDSA)
00102 #  define NO_ECDSA
00103 # endif
00104 # if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)
00105 #  define NO_GMP
00106 # endif
00107 # if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)
00108 #  define NO_IDEA
00109 # endif
00110 # if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)
00111 #  define NO_KRB5
00112 # endif
00113 # if defined(OPENSSL_NO_MD4) && !defined(NO_MD4)
00114 #  define NO_MD4
00115 # endif
00116 # if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)
00117 #  define NO_MDC2
00118 # endif
00119 # if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)
00120 #  define NO_RC5
00121 # endif
00122 # if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD)
00123 #  define NO_RIPEMD
00124 # endif
00125 # if defined(OPENSSL_NO_SHA256) && !defined(NO_SHA256)
00126 #  define NO_SHA256
00127 # endif
00128 # if defined(OPENSSL_NO_SHA512) && !defined(NO_SHA512)
00129 #  define NO_SHA512
00130 # endif
00131 # if defined(OPENSSL_NO_STATIC_ENGINE) && !defined(NO_STATIC_ENGINE)
00132 #  define NO_STATIC_ENGINE
00133 # endif
00134 #endif
00135 
00136 /* crypto/opensslconf.h.in */
00137 
00138 /* Generate 80386 code? */
00139 #undef I386_ONLY
00140 
00141 #if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
00142 #if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
00143 #define ENGINESDIR "/usr/local/ssl/lib/engines"
00144 #define OPENSSLDIR "/usr/local/ssl"
00145 #endif
00146 #endif
00147 
00148 #undef OPENSSL_UNISTD
00149 #define OPENSSL_UNISTD <unistd.h>
00150 
00151 #undef OPENSSL_EXPORT_VAR_AS_FUNCTION
00152 
00153 #if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
00154 #define IDEA_INT unsigned int
00155 #endif
00156 
00157 #if defined(HEADER_MD2_H) && !defined(MD2_INT)
00158 #define MD2_INT unsigned int
00159 #endif
00160 
00161 #if defined(HEADER_RC2_H) && !defined(RC2_INT)
00162 /* I need to put in a mod for the alpha - eay */
00163 #define RC2_INT unsigned int
00164 #endif
00165 
00166 #if defined(HEADER_RC4_H)
00167 #if !defined(RC4_INT)
00168 /* using int types make the structure larger but make the code faster
00169  * on most boxes I have tested - up to %20 faster. */
00170 /*
00171  * I don't know what does "most" mean, but declaring "int" is a must on:
00172  * - Intel P6 because partial register stalls are very expensive;
00173  * - elder Alpha because it lacks byte load/store instructions;
00174  */
00175 #define RC4_INT unsigned int
00176 #endif
00177 #if !defined(RC4_CHUNK)
00178 /*
00179  * This enables code handling data aligned at natural CPU word
00180  * boundary. See crypto/rc4/rc4_enc.c for further details.
00181  */
00182 #undef RC4_CHUNK
00183 #endif
00184 #endif
00185 
00186 #if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG)
00187 /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
00188  * %20 speed up (longs are 8 bytes, int's are 4). */
00189 #ifndef DES_LONG
00190 #define DES_LONG unsigned long
00191 #endif
00192 #endif
00193 
00194 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
00195 #define CONFIG_HEADER_BN_H
00196 #define BN_LLONG
00197 
00198 /* Should we define BN_DIV2W here? */
00199 
00200 /* Only one for the following should be defined */
00201 /* The prime number generation stuff may not work when
00202  * EIGHT_BIT but I don't care since I've only used this mode
00203  * for debuging the bignum libraries */
00204 #undef SIXTY_FOUR_BIT_LONG
00205 #undef SIXTY_FOUR_BIT
00206 #define THIRTY_TWO_BIT
00207 #undef SIXTEEN_BIT
00208 #undef EIGHT_BIT
00209 #endif
00210 
00211 #if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
00212 #define CONFIG_HEADER_RC4_LOCL_H
00213 /* if this is defined data[i] is used instead of *data, this is a %20
00214  * speedup on x86 */
00215 #define RC4_INDEX
00216 #endif
00217 
00218 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
00219 #define CONFIG_HEADER_BF_LOCL_H
00220 #undef BF_PTR
00221 #endif /* HEADER_BF_LOCL_H */
00222 
00223 #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
00224 #define CONFIG_HEADER_DES_LOCL_H
00225 #ifndef DES_DEFAULT_OPTIONS
00226 /* the following is tweaked from a config script, that is why it is a
00227  * protected undef/define */
00228 #ifndef DES_PTR
00229 #define DES_PTR
00230 #endif
00231 
00232 /* This helps C compiler generate the correct code for multiple functional
00233  * units.  It reduces register dependancies at the expense of 2 more
00234  * registers */
00235 #ifndef DES_RISC1
00236 #define DES_RISC1
00237 #endif
00238 
00239 #ifndef DES_RISC2
00240 #undef DES_RISC2
00241 #endif
00242 
00243 #if defined(DES_RISC1) && defined(DES_RISC2)
00244 YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
00245 #endif
00246 
00247 /* Unroll the inner loop, this sometimes helps, sometimes hinders.
00248  * Very mucy CPU dependant */
00249 #ifndef DES_UNROLL
00250 #define DES_UNROLL
00251 #endif
00252 
00253 /* These default values were supplied by
00254  * Peter Gutman <[email protected]>
00255  * They are only used if nothing else has been defined */
00256 #if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
00257 /* Special defines which change the way the code is built depending on the
00258    CPU and OS.  For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
00259    even newer MIPS CPU's, but at the moment one size fits all for
00260    optimization options.  Older Sparc's work better with only UNROLL, but
00261    there's no way to tell at compile time what it is you're running on */
00262  
00263 #if defined( sun )              /* Newer Sparc's */
00264 #  define DES_PTR
00265 #  define DES_RISC1
00266 #  define DES_UNROLL
00267 #elif defined( __ultrix )       /* Older MIPS */
00268 #  define DES_PTR
00269 #  define DES_RISC2
00270 #  define DES_UNROLL
00271 #elif defined( __osf1__ )       /* Alpha */
00272 #  define DES_PTR
00273 #  define DES_RISC2
00274 #elif defined ( _AIX )          /* RS6000 */
00275   /* Unknown */
00276 #elif defined( __hpux )         /* HP-PA */
00277   /* Unknown */
00278 #elif defined( __aux )          /* 68K */
00279   /* Unknown */
00280 #elif defined( __dgux )         /* 88K (but P6 in latest boxes) */
00281 #  define DES_UNROLL
00282 #elif defined( __sgi )          /* Newer MIPS */
00283 #  define DES_PTR
00284 #  define DES_RISC2
00285 #  define DES_UNROLL
00286 #elif defined(i386) || defined(__i386__)        /* x86 boxes, should be gcc */
00287 #  define DES_PTR
00288 #  define DES_RISC1
00289 #  define DES_UNROLL
00290 #endif /* Systems-specific speed defines */
00291 #endif
00292 
00293 #endif /* DES_DEFAULT_OPTIONS */
00294 #endif /* HEADER_DES_LOCL_H */

Copyright © Nokia Corporation 2001-2008
Back to top