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