Path: blob/linux/compat/curl-for-windows/openssl/config/opensslconf.h
1201 views
/* opensslconf.h */1/* WARNING: Generated automatically from opensslconf.h.in by Configure. */23/* OpenSSL was configured with the following options: */4#undef OPENSSL_SYSNAME_WIN325#if defined(_WIN32)6# define OPENSSL_SYSNAME_WIN327#endif89#ifndef OPENSSL_DOING_MAKEDEPEND10# ifndef OPENSSL_NO_CAPIENG11# define OPENSSL_NO_CAPIENG12# endif13# ifndef OPENSSL_NO_EC_NISTP_64_GCC_12814# define OPENSSL_NO_EC_NISTP_64_GCC_12815# endif16# ifndef OPENSSL_NO_GMP17# define OPENSSL_NO_GMP18# endif19# ifndef OPENSSL_NO_GOST20# define OPENSSL_NO_GOST21# endif22# ifndef OPENSSL_NO_HW_PADLOCK23# define OPENSSL_NO_HW_PADLOCK24# endif25# ifndef OPENSSL_NO_JPAKE26# define OPENSSL_NO_JPAKE27# endif28# ifndef OPENSSL_NO_KRB529# define OPENSSL_NO_KRB530# endif31# ifndef OPENSSL_NO_MD232# define OPENSSL_NO_MD233# endif34# ifndef OPENSSL_NO_RC535# define OPENSSL_NO_RC536# endif37# ifndef OPENSSL_NO_RFC377938# define OPENSSL_NO_RFC377939# endif40# ifndef OPENSSL_NO_SCTP41# define OPENSSL_NO_SCTP42# endif43# ifndef OPENSSL_NO_STORE44# define OPENSSL_NO_STORE45# endif46#endif /* OPENSSL_DOING_MAKEDEPEND */4748#ifndef OPENSSL_THREADS49# define OPENSSL_THREADS50#endif51#ifndef OPENSSL_NO_DYNAMIC_ENGINE52# define OPENSSL_NO_DYNAMIC_ENGINE53#endif5455/* The OPENSSL_NO_* macros are also defined as NO_* if the application56asks for it. This is a transient feature that is provided for those57who haven't had the time to do the appropriate changes in their58applications. */59#ifdef OPENSSL_ALGORITHM_DEFINES60# if defined(OPENSSL_NO_CAMELLIA) && !defined(NO_CAMELLIA)61# define NO_CAMELLIA62# endif63# if defined(OPENSSL_NO_CAPIENG) && !defined(NO_CAPIENG)64# define NO_CAPIENG65# endif66# if defined(OPENSSL_NO_CAST) && !defined(NO_CAST)67# define NO_CAST68# endif69# if defined(OPENSSL_NO_CMS) && !defined(NO_CMS)70# define NO_CMS71# endif72# if defined(OPENSSL_NO_FIPS) && !defined(NO_FIPS)73# define NO_FIPS74# endif75# if defined(OPENSSL_NO_GMP) && !defined(NO_GMP)76# define NO_GMP77# endif78# if defined(OPENSSL_NO_IDEA) && !defined(NO_IDEA)79# define NO_IDEA80# endif81# if defined(OPENSSL_NO_JPAKE) && !defined(NO_JPAKE)82# define NO_JPAKE83# endif84# if defined(OPENSSL_NO_KRB5) && !defined(NO_KRB5)85# define NO_KRB586# endif87# if defined(OPENSSL_NO_MD2) && !defined(NO_MD2)88# define NO_MD289# endif90# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)91# define NO_MDC292# endif93# if defined(OPENSSL_NO_RC5) && !defined(NO_RC5)94# define NO_RC595# endif96# if defined(OPENSSL_NO_RFC3779) && !defined(NO_RFC3779)97# define NO_RFC377998# endif99# if defined(OPENSSL_NO_SEED) && !defined(NO_SEED)100# define NO_SEED101# endif102# if defined(OPENSSL_NO_SHA0) && !defined(NO_SHA0)103# define NO_SHA0104# endif105# if defined(OPENSSL_NO_STORE) && !defined(NO_STORE)106# define NO_STORE107# endif108# if defined(OPENSSL_NO_WHRLPOOL) && !defined(NO_WHRLPOOL)109# define NO_WHRLPOOL110# endif111# if defined(OPENSSL_NO_MDC2) && !defined(NO_MDC2)112# define NO_MDC2113# endif114#endif115116/* crypto/opensslconf.h.in */117118#ifdef OPENSSL_DOING_MAKEDEPEND119/* Include any symbols here that have to be explicitly set to enable a feature120* that should be visible to makedepend.121*122* [Our "make depend" doesn't actually look at this, we use actual build settings123* instead; we want to make it easy to remove subdirectories with disabled algorithms.]124*/125# ifndef OPENSSL_FIPS126# define OPENSSL_FIPS127# endif128#endif129130/* Generate 80386 code? */131#undef I386_ONLY132133#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */134# if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)135# if defined(_WIN32)136# define ENGINESDIR "ssl/lib/engines"137# define OPENSSLDIR "ssl"138# else139# define ENGINESDIR "/usr/local/ssl/lib/engines"140# define OPENSSLDIR "/usr/local/ssl"141# endif142# endif143#endif144145#undef OPENSSL_UNISTD146#define OPENSSL_UNISTD <unistd.h>147#if !defined(_WIN32) && !defined(__arm__) && !defined(__mips__) && !defined(SWIG)148# include <unistd.h>149#endif150151#undef OPENSSL_EXPORT_VAR_AS_FUNCTION152#if defined(_WIN32)153# define OPENSSL_EXPORT_VAR_AS_FUNCTION154#endif155156#if defined(HEADER_IDEA_H)157# undef IDEA_INT158# define IDEA_INT unsigned int159#endif160161#if defined(HEADER_MD2_H)162# undef MD2_INT163# define MD2_INT unsigned int164#endif165166#if defined(HEADER_RC2_H)167/* I need to put in a mod for the alpha - eay */168# undef RC2_INT169# define RC2_INT unsigned int170#endif171172#if defined(HEADER_RC4_H)173/* using int types make the structure larger but make the code faster174* on most boxes I have tested - up to %20 faster. */175/*176* I don't know what does "most" mean, but declaring "int" is a must on:177* - Intel P6 because partial register stalls are very expensive;178* - elder Alpha because it lacks byte load/store instructions;179*/180# undef RC4_INT181# if defined(__arm__)182# define RC4_INT unsigned char183# else184# define RC4_INT unsigned int185# endif186187/*188* This enables code handling data aligned at natural CPU word189* boundary. See crypto/rc4/rc4_enc.c for further details.190*/191# undef RC4_CHUNK192# if (defined(_M_X64) || defined(__x86_64__)) && defined(_WIN32)193# define RC4_CHUNK unsigned long long194# elif (defined(_M_X64) || defined(__x86_64__)) && !defined(_WIN32)195# define RC4_CHUNK unsigned long196# elif defined(__arm__)197# define RC4_CHUNK unsigned long198# else199/* On x86 RC4_CHUNK is not defined */200# endif201#endif202203#if defined(HEADER_NEW_DES_H) || defined(HEADER_DES_H)204/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a205* %20 speed up (longs are 8 bytes, int's are 4). */206# undef DES_LONG207# if defined(_M_X64) || defined(__x86_64__) || defined(__arm__) || defined(__mips__)208# define DES_LONG unsigned int209# elif defined(_M_IX86) || defined(__i386__)210# define DES_LONG unsigned long211# endif212#endif213214#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)215# define CONFIG_HEADER_BN_H216217# undef BL_LLONG218# if defined(_M_IX86) || defined(__i386__) || defined(__arm__)219# define BL_LLONG220# endif221222/* Should we define BN_DIV2W here? */223224/* Only one for the following should be defined */225/* The prime number generation stuff may not work when226* EIGHT_BIT but I don't care since I've only used this mode227* for debuging the bignum libraries */228# undef SIXTY_FOUR_BIT_LONG229# undef SIXTY_FOUR_BIT230# undef THIRTY_TWO_BIT231# undef SIXTEEN_BIT232# undef EIGHT_BIT233# if (defined(_M_X64) || defined(__x86_64__)) && defined(_WIN32)234# define SIXTY_FOUR_BIT235# elif (defined(_M_X64) || defined(__x86_64__)) && !defined(_WIN32)236# define SIXTY_FOUR_BIT_LONG237# elif defined(_M_IX86) || defined(__i386__) || defined(__arm__) || defined(__mips__)238# define THIRTY_TWO_BIT239# endif240#endif241242#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)243# define CONFIG_HEADER_RC4_LOCL_H244/* if this is defined data[i] is used instead of *data, this is a %20245* speedup on x86 */246# undef RC4_INDEX247# if defined(_M_IX86) || defined(__i386__)248# define RC4_INDEX249# endif250#endif251252#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)253# define CONFIG_HEADER_BF_LOCL_H254# undef BF_PTR255# if defined(__arm__)256# define BF_PTR257# endif258#endif /* HEADER_BF_LOCL_H */259260#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)261# define CONFIG_HEADER_DES_LOCL_H262263# ifndef DES_DEFAULT_OPTIONS264/* the following is tweaked from a config script, that is why it is a265* protected undef/define */266# undef DES_PTR267# if !defined(_WIN32) && (defined(_M_IX86) || defined(__i386__))268# define DES_PTR269# endif270271/* This helps C compiler generate the correct code for multiple functional272* units. It reduces register dependancies at the expense of 2 more273* registers */274# undef DES_RISC1275# if !defined(_WIN32) && (defined(_M_IX86) || defined(__i386__))276# define DES_RISC1277# endif278279# undef DES_RISC2280281# if defined(DES_RISC1) && defined(DES_RISC2)282# error YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!283# endif284285/* Unroll the inner loop, this sometimes helps, sometimes hinders.286* Very mucy CPU dependant */287# undef DES_UNROLL288# if !defined(_WIN32)289# define DES_UNROLL290# endif291292/* These default values were supplied by293* Peter Gutman <[email protected]>294* They are only used if nothing else has been defined */295# if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)296/* Special defines which change the way the code is built depending on the297CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find298even newer MIPS CPU's, but at the moment one size fits all for299optimization options. Older Sparc's work better with only UNROLL, but300there's no way to tell at compile time what it is you're running on */301# if defined( sun ) /* Newer Sparc's */302# define DES_PTR303# define DES_RISC1304# define DES_UNROLL305# elif defined( __ultrix ) /* Older MIPS */306# define DES_PTR307# define DES_RISC2308# define DES_UNROLL309# elif defined( __osf1__ ) /* Alpha */310# define DES_PTR311# define DES_RISC2312# elif defined ( _AIX ) /* RS6000 */313/* Unknown */314# elif defined( __hpux ) /* HP-PA */315/* Unknown */316# elif defined( __aux ) /* 68K */317/* Unknown */318# elif defined( __dgux ) /* 88K (but P6 in latest boxes) */319# define DES_UNROLL320# elif defined( __sgi ) /* Newer MIPS */321# define DES_PTR322# define DES_RISC2323# define DES_UNROLL324# elif defined(i386) || defined(__i386__) /* x86 boxes, should be gcc */325# define DES_PTR326# define DES_RISC1327# define DES_UNROLL328# endif /* Systems-specific speed defines */329# endif330331# endif /* DES_DEFAULT_OPTIONS */332#endif /* HEADER_DES_LOCL_H */333334335