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#ifndef OPENSSL_NO_AES192 8# define OPENSSL_NO_AES192 9#endif 10#ifndef OPENSSL_NO_ANS1 11# define OPENSSL_NO_ANS1 12#endif 13#ifndef OPENSSL_NO_CAMELLIA 14# define OPENSSL_NO_CAMELLIA 15#endif 16#ifndef OPENSSL_NO_EC 17# define OPENSSL_NO_EC 18#endif 19#ifndef OPENSSL_NO_ECDH 20# define OPENSSL_NO_ECDH 21#endif 22#ifndef OPENSSL_NO_ECDSA 23# define OPENSSL_NO_ECDSA 24#endif 25#ifndef OPENSSL_NO_ENGINES 26# define OPENSSL_NO_ENGINES 27#endif 28#ifndef OPENSSL_NO_FIPS 29# define OPENSSL_NO_FIPS 30#endif 31#ifndef OPENSSL_NO_GMP 32# define OPENSSL_NO_GMP 33#endif 34#ifndef OPENSSL_NO_IDEA 35# define OPENSSL_NO_IDEA 36#endif 37#ifndef OPENSSL_NO_KRB5 38# define OPENSSL_NO_KRB5 39#endif 40#ifndef OPENSSL_NO_MD2 41# define OPENSSL_NO_MD2 42#endif 43#ifndef OPENSSL_NO_MDC2 44# define OPENSSL_NO_MDC2 45#endif 46#ifndef OPENSSL_NO_PERLASM 47# define OPENSSL_NO_PERLASM 48#endif 49#ifndef OPENSSL_NO_RC2 50# define OPENSSL_NO_RC2 51#endif 52#ifndef OPENSSL_NO_RC5 53# define OPENSSL_NO_RC5 54#endif 55#ifndef OPENSSL_NO_RFC3779 56# define OPENSSL_NO_RFC3779 57#endif 58#ifndef OPENSSL_NO_RIPEMD 59# define OPENSSL_NO_RIPEMD 60#endif 61#ifndef OPENSSL_NO_RMD160 62# define OPENSSL_NO_RMD160 63#endif 64#ifndef OPENSSL_NO_SHA0 65# define OPENSSL_NO_SHA0 66#endif 67#ifndef OPENSSL_NO_SMIME 68# define OPENSSL_NO_SMIME 69#endif 70 71#endif /* OPENSSL_DOING_MAKEDEPEND */ 72#ifndef OPENSSL_NO_ERR 73# define OPENSSL_NO_ERR 74#endif 75#ifndef OPENSSL_NO_HW 76# define OPENSSL_NO_HW 77#endif 78#ifndef OPENSSL_NO_STATIC_ENGINE 79# define OPENSSL_NO_STATIC_ENGINE 80#endif 81 82/* The OPENSSL_NO_* macros are also defined as NO_* if the application 83 asks for it. This is a transient feature that is provided for those 84 who haven't had the time to do the appropriate changes in their 85 applications. */ 86#ifdef OPENSSL_ALGORITHM_DEFINES 87# if defined(OPENSSL_NO_AES192) && !defined(NO_AES192) 88# define NO_AES192 89# endif 90# if defined(OPENSSL_NO_ANS1) && !defined(NO_ANS1) 91# define NO_ANS1 92# endif 93# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA) 94# define NO_CAMELLIA 95# endif 96# if defined(OPENSSL_NO_EC) && !defined(NO_EC) 97# define NO_EC 98# endif 99# if defined(OPENSSL_NO_ECDH) && !defined(NO_ECDH) 100# define NO_ECDH 101# endif 102# if defined(OPENSSL_NO_ECDSA) && !defined(NO_ECDSA) 103# define NO_ECDSA 104# endif 105# if defined(OPENSSL_NO_ENGINES) && !defined(NO_ENGINES) 106# define NO_ENGINES 107# endif 108# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS) 109# define NO_FIPS 110# endif 111# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) 112# define NO_GMP 113# endif 114# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA) 115# define NO_IDEA 116# endif 117# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) 118# define NO_KRB5 119# endif 120# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 121# define NO_MD2 122# endif 123# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2) 124# define NO_MDC2 125# endif 126# if defined(OPENSSL_NO_PERLASM) && !defined(NO_PERLASM) 127# define NO_PERLASM 128# endif 129# if defined(OPENSSL_NO_RC2) && !defined(NO_RC2) 130# define NO_RC2 131# endif 132# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5) 133# define NO_RC5 134# endif 135# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 136# define NO_RFC3779 137# endif 138# if defined(OPENSSL_NO_RIPEMD) && !defined(NO_RIPEMD) 139# define NO_RIPEMD 140# endif 141# if defined(OPENSSL_NO_RMD160) && !defined(NO_RMD160) 142# define NO_RMD160 143# endif 144# if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0) 145# define NO_SHA0 146# endif 147# if defined(OPENSSL_NO_SMIME) && !defined(NO_SMIME) 148# define NO_SMIME 149# endif 150#endif 151 152/* crypto/opensslconf.h.in */ 153 154/* Generate 80386 code? */ 155#undef I386_ONLY 156 157#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ 158#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) 159#define ENGINESDIR "/usr/lib/engines" 160#define OPENSSLDIR "/etc/ssl" 161#endif 162#endif 163 164#undef OPENSSL_UNISTD 165#define OPENSSL_UNISTD <unistd.h> 166 167#undef OPENSSL_EXPORT_VAR_AS_FUNCTION 168 169#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) 170#define IDEA_INT unsigned int 171#endif 172 173#if defined(HEADER_MD2_H) && !defined(MD2_INT) 174#define MD2_INT unsigned int 175#endif 176 177#if defined(HEADER_RC2_H) && !defined(RC2_INT) 178/* I need to put in a mod for the alpha - eay */ 179#define RC2_INT unsigned int 180#endif 181 182#if defined(HEADER_RC4_H) 183#if !defined(RC4_INT) 184/* using int types make the structure larger but make the code faster 185 * on most boxes I have tested - up to %20 faster. */ 186/* 187 * I don't know what does "most" mean, but declaring "int" is a must on: 188 * - Intel P6 because partial register stalls are very expensive; 189 * - elder Alpha because it lacks byte load/store instructions; 190 */ 191#define RC4_INT unsigned char 192#endif 193#if !defined(RC4_CHUNK) 194/* 195 * This enables code handling data aligned at natural CPU word 196 * boundary. See crypto/rc4/rc4_enc.c for further details. 197 */ 198#define RC4_CHUNK unsigned long 199#endif 200#endif 201 202#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) 203/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a 204 * %20 speed up (longs are 8 bytes, int's are 4). */ 205#ifndef DES_LONG 206#define DES_LONG unsigned int 207#endif 208#endif 209 210#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) 211#define CONFIG_HEADER_BN_H 212#define BN_LLONG 213 214/* Should we define BN_DIV2W here? */ 215 216/* Only one for the following should be defined */ 217/* The prime number generation stuff may not work when 218 * EIGHT_BIT but I don't care since I've only used this mode 219 * for debuging the bignum libraries */ 220#undef SIXTY_FOUR_BIT_LONG 221#undef SIXTY_FOUR_BIT 222#define THIRTY_TWO_BIT 223#undef SIXTEEN_BIT 224#undef EIGHT_BIT 225#endif 226 227#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) 228#define CONFIG_HEADER_RC4_LOCL_H 229/* if this is defined data[i] is used instead of *data, this is a %20 230 * speedup on x86 */ 231#undef RC4_INDEX 232#endif 233 234#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) 235#define CONFIG_HEADER_BF_LOCL_H 236#define BF_PTR 237#endif /* HEADER_BF_LOCL_H */ 238 239#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) 240#define CONFIG_HEADER_DES_LOCL_H 241#ifndef DES_DEFAULT_OPTIONS 242/* the following is tweaked from a config script, that is why it is a 243 * protected undef/define */ 244#ifndef DES_PTR 245#undef DES_PTR 246#endif 247 248/* This helps C compiler generate the correct code for multiple functional 249 * units. It reduces register dependancies at the expense of 2 more 250 * registers */ 251#ifndef DES_RISC1 252#undef DES_RISC1 253#endif 254 255#ifndef DES_RISC2 256#undef DES_RISC2 257#endif 258 259#if defined(DES_RISC1) && defined(DES_RISC2) 260YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! 261#endif 262 263/* Unroll the inner loop, this sometimes helps, sometimes hinders. 264 * Very mucy CPU dependant */ 265#ifndef DES_UNROLL 266#define DES_UNROLL 267#endif 268 269/* These default values were supplied by 270 * Peter Gutman <pgut001@cs.auckland.ac.nz> 271 * They are only used if nothing else has been defined */ 272#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) 273/* Special defines which change the way the code is built depending on the 274 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find 275 even newer MIPS CPU's, but at the moment one size fits all for 276 optimization options. Older Sparc's work better with only UNROLL, but 277 there's no way to tell at compile time what it is you're running on */ 278 279#if defined( sun ) /* Newer Sparc's */ 280# define DES_PTR 281# define DES_RISC1 282# define DES_UNROLL 283#elif defined( __ultrix ) /* Older MIPS */ 284# define DES_PTR 285# define DES_RISC2 286# define DES_UNROLL 287#elif defined( __osf1__ ) /* Alpha */ 288# define DES_PTR 289# define DES_RISC2 290#elif defined ( _AIX ) /* RS6000 */ 291 /* Unknown */ 292#elif defined( __hpux ) /* HP-PA */ 293 /* Unknown */ 294#elif defined( __aux ) /* 68K */ 295 /* Unknown */ 296#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ 297# define DES_UNROLL 298#elif defined( __sgi ) /* Newer MIPS */ 299# define DES_PTR 300# define DES_RISC2 301# define DES_UNROLL 302#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ 303# define DES_PTR 304# define DES_RISC1 305# define DES_UNROLL 306#endif /* Systems-specific speed defines */ 307#endif 308 309#endif /* DES_DEFAULT_OPTIONS */ 310#endif /* HEADER_DES_LOCL_H */ 311