2
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
4
/* OpenSSL was configured with the following options: */
5
#ifdef OPENSSL_ALGORITHM_DEFINES
13
#ifdef OPENSSL_THREAD_DEFINES
18
#ifdef OPENSSL_OTHER_DEFINES
27
/* crypto/opensslconf.h.in */
29
/* Generate 80386 code? */
32
#if !(defined(VMS) || defined(__VMS)) /* VMS uses logical names instead */
33
#if defined(HEADER_CRYPTLIB_H) && !defined(OPENSSLDIR)
34
#define OPENSSLDIR "/usr/share/ssl"
38
#define OPENSSL_UNISTD <unistd.h>
40
#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
41
#define IDEA_INT unsigned int
44
#if defined(HEADER_MD2_H) && !defined(MD2_INT)
45
#define MD2_INT unsigned int
48
#if defined(HEADER_RC2_H) && !defined(RC2_INT)
49
/* I need to put in a mod for the alpha - eay */
50
#define RC2_INT unsigned int
53
#if defined(HEADER_RC4_H)
55
/* using int types make the structure larger but make the code faster
56
* on most boxes I have tested - up to %20 faster. */
58
* I don't know what does "most" mean, but declaring "int" is a must on:
59
* - Intel P6 because partial register stalls are very expensive;
60
* - elder Alpha because it lacks byte load/store instructions;
62
#define RC4_INT unsigned int
64
#if !defined(RC4_CHUNK)
66
* This enables code handling data aligned at natural CPU word
67
* boundary. See crypto/rc4/rc4_enc.c for further details.
73
#if defined(HEADER_DES_H) && !defined(DES_LONG)
74
/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
75
* %20 speed up (longs are 8 bytes, int's are 4). */
77
#define DES_LONG unsigned long
81
#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
82
#define CONFIG_HEADER_BN_H
85
/* Should we define BN_DIV2W here? */
87
/* Only one for the following should be defined */
88
/* The prime number generation stuff may not work when
89
* EIGHT_BIT but I don't care since I've only used this mode
90
* for debuging the bignum libraries */
91
#undef SIXTY_FOUR_BIT_LONG
93
#define THIRTY_TWO_BIT
98
#if defined(HEADER_RC4_LOCL_H) && !defined(CONFIG_HEADER_RC4_LOCL_H)
99
#define CONFIG_HEADER_RC4_LOCL_H
100
/* if this is defined data[i] is used instead of *data, this is a %20
105
#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
106
#define CONFIG_HEADER_BF_LOCL_H
108
#endif /* HEADER_BF_LOCL_H */
110
#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
111
#define CONFIG_HEADER_DES_LOCL_H
112
#ifndef DES_DEFAULT_OPTIONS
113
/* the following is tweaked from a config script, that is why it is a
114
* protected undef/define */
119
/* This helps C compiler generate the correct code for multiple functional
120
* units. It reduces register dependancies at the expense of 2 more
130
#if defined(DES_RISC1) && defined(DES_RISC2)
131
YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
134
/* Unroll the inner loop, this sometimes helps, sometimes hinders.
135
* Very mucy CPU dependant */
140
/* These default values were supplied by
141
* Peter Gutman <pgut001@cs.auckland.ac.nz>
142
* They are only used if nothing else has been defined */
143
#if !defined(DES_PTR) && !defined(DES_RISC1) && !defined(DES_RISC2) && !defined(DES_UNROLL)
144
/* Special defines which change the way the code is built depending on the
145
CPU and OS. For SGI machines you can use _MIPS_SZLONG (32 or 64) to find
146
even newer MIPS CPU's, but at the moment one size fits all for
147
optimization options. Older Sparc's work better with only UNROLL, but
148
there's no way to tell at compile time what it is you're running on */
150
#if defined( sun ) /* Newer Sparc's */
154
#elif defined( __ultrix ) /* Older MIPS */
158
#elif defined( __osf1__ ) /* Alpha */
161
#elif defined ( _AIX ) /* RS6000 */
163
#elif defined( __hpux ) /* HP-PA */
165
#elif defined( __aux ) /* 68K */
167
#elif defined( __dgux ) /* 88K (but P6 in latest boxes) */
169
#elif defined( __sgi ) /* Newer MIPS */
173
#elif defined( i386 ) /* x86 boxes, should be gcc */
177
#endif /* Systems-specific speed defines */
180
#endif /* DES_DEFAULT_OPTIONS */
181
#endif /* HEADER_DES_LOCL_H */