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 8#ifndef OPENSSL_NO_GMP 9# define OPENSSL_NO_GMP 10#endif 11#ifndef OPENSSL_NO_JPAKE 12# define OPENSSL_NO_JPAKE 13#endif 14#ifndef OPENSSL_NO_KRB5 15# define OPENSSL_NO_KRB5 16#endif 17#ifndef OPENSSL_NO_MD2 18# define OPENSSL_NO_MD2 19#endif 20#ifndef OPENSSL_NO_RFC3779 21# define OPENSSL_NO_RFC3779 22#endif 23#ifndef OPENSSL_NO_STORE 24# define OPENSSL_NO_STORE 25#endif 26 27#endif /* OPENSSL_DOING_MAKEDEPEND */ 28 29#ifndef OPENSSL_THREADS 30# define OPENSSL_THREADS 31#endif 32#ifndef OPENSSL_NO_STATIC_ENGINE 33# define OPENSSL_NO_STATIC_ENGINE 34#endif 35 36/* The OPENSSL_NO_* macros are also defined as NO_* if the application 37 asks for it. This is a transient feature that is provided for those 38 who haven't had the time to do the appropriate changes in their 39 applications. */ 40#ifdef OPENSSL_ALGORITHM_DEFINES 41# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP) 42# define NO_GMP 43# endif 44# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE) 45# define NO_JPAKE 46# endif 47# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5) 48# define NO_KRB5 49# endif 50# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2) 51# define NO_MD2 52# endif 53# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779) 54# define NO_RFC3779 55# endif 56# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE) 57# define NO_STORE 58# endif 59#endif 60 61/* crypto/opensslconf.h.in */ 62 63/* Generate 80386 code? */ 64#undef I386_ONLY 65 66#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */ 67#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR) 68#define ENGINESDIR "/etc/lib/engines" 69#define OPENSSLDIR "/etc" 70#endif 71#endif 72 73#undef OPENSSL_UNISTD 74#define OPENSSL_UNISTD <unistd.h> 75 76#undef OPENSSL_EXPORT_VAR_AS_FUNCTION 77 78#if defined(HEADER_IDEA_H) && !defined(IDEA_INT) 79#define IDEA_INT unsigned int 80#endif 81 82#if defined(HEADER_MD2_H) && !defined(MD2_INT) 83#define MD2_INT unsigned int 84#endif 85 86#if defined(HEADER_RC2_H) && !defined(RC2_INT) 87/* I need to put in a mod for the alpha - eay */ 88#define RC2_INT unsigned int 89#endif 90 91#if defined(HEADER_RC4_H) 92#if !defined(RC4_INT) 93/* using int types make the structure larger but make the code faster 94 * on most boxes I have tested - up to %20 faster. */ 95/* 96 * I don't know what does "most" mean, but declaring "int" is a must on: 97 * - Intel P6 because partial register stalls are very expensive; 98 * - elder Alpha because it lacks byte load/store instructions; 99 */ 100#define RC4_INT unsigned char 101#endif 102#if !defined(RC4_CHUNK) 103/* 104 * This enables code handling data aligned at natural CPU word 105 * boundary. See crypto/rc4/rc4_enc.c for further details. 106 */ 107#define RC4_CHUNK unsigned long 108#endif 109#endif 110 111#if (defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)) && !defined(DES_LONG) 112/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a 113 * %20 speed up (longs are 8 bytes, int's are 4). */ 114#ifndef DES_LONG 115#define DES_LONG unsigned int 116#endif 117#endif 118 119#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) 120#define CONFIG_HEADER_BN_H 121#define BN_LLONG 122 123/* Should we define BN_DIV2W here? */ 124 125/* Only one for the following should be defined */ 126#undef SIXTY_FOUR_BIT_LONG 127#undef SIXTY_FOUR_BIT 128#define THIRTY_TWO_BIT 129#endif 130 131#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H) 132#define CONFIG_HEADER_RC4_LOCL_H 133/* if this is defined data[i] is used instead of *data, this is a %20 134 * speedup on x86 */ 135#undef RC4_INDEX 136#endif 137 138#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) 139#define CONFIG_HEADER_BF_LOCL_H 140#define BF_PTR 141#endif /* HEADER_BF_LOCL_H */ 142 143#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H) 144#define CONFIG_HEADER_DES_LOCL_H 145#ifndef DES_DEFAULT_OPTIONS 146/* the following is tweaked from a config script, that is why it is a 147 * protected undef/define */ 148#ifndef DES_PTR 149#undef DES_PTR 150#endif 151 152/* This helps C compiler generate the correct code for multiple functional 153 * units. It reduces register dependancies at the expense of 2 more 154 * registers */ 155#ifndef DES_RISC1 156#undef DES_RISC1 157#endif 158 159#ifndef DES_RISC2 160#undef DES_RISC2 161#endif 162 163#if defined(DES_RISC1) && defined(DES_RISC2) 164YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!! 165#endif 166 167/* Unroll the inner loop, this sometimes helps, sometimes hinders. 168 * Very mucy CPU dependant */ 169#ifndef DES_UNROLL 170#define DES_UNROLL 171#endif 172 173/* These default values were supplied by 174 * Peter Gutman <pgut001@cs.auckland.ac.nz> 175 * They are only used if nothing else has been defined */ 176#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL) 177/* Special defines which change the way the code is built depending on the 178 CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find 179 even newer MIPS CPU's, but at the moment one size fits all for 180 optimization options. Older Sparc's work better with only UNROLL, but 181 there's no way to tell at compile time what it is you're running on */ 182 183#if defined( sun ) /* Newer Sparc's */ 184# define DES_PTR 185# define DES_RISC1 186# define DES_UNROLL 187#elif defined( __ultrix ) /* Older MIPS */ 188# define DES_PTR 189# define DES_RISC2 190# define DES_UNROLL 191#elif defined( __osf1__ ) /* Alpha */ 192# define DES_PTR 193# define DES_RISC2 194#elif defined ( _AIX ) /* RS6000 */ 195 /* Unknown */ 196#elif defined( __hpux ) /* HP-PA */ 197 /* Unknown */ 198#elif defined( __aux ) /* 68K */ 199 /* Unknown */ 200#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */ 201# define DES_UNROLL 202#elif defined( __sgi ) /* Newer MIPS */ 203# define DES_PTR 204# define DES_RISC2 205# define DES_UNROLL 206#elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */ 207# define DES_PTR 208# define DES_RISC1 209# define DES_UNROLL 210#endif /* Systems-specific speed defines */ 211#endif 212 213#endif /* DES_DEFAULT_OPTIONS */ 214#endif /* HEADER_DES_LOCL_H */ 215