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