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

Generated on Thu Aug 20 22:33:05 2009 for OpenXDAS by  doxygen 1.5.6