~ubuntu-branches/ubuntu/oneiric/psi/oneiric

« back to all changes in this revision

Viewing changes to src/openssl/opensslconf.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* opensslconf.h */
2
 
/* WARNING: Generated automatically from opensslconf.h.in by Configure. */
3
 
 
4
 
/* OpenSSL was configured with the following options: */
5
 
#ifdef OPENSSL_ALGORITHM_DEFINES
6
 
# ifndef NO_RC5
7
 
#  define NO_RC5
8
 
# endif
9
 
# ifndef NO_IDEA
10
 
#  define NO_IDEA
11
 
# endif
12
 
#endif
13
 
#ifdef OPENSSL_THREAD_DEFINES
14
 
# ifndef THREADS
15
 
#  define THREADS
16
 
# endif
17
 
#endif
18
 
#ifdef OPENSSL_OTHER_DEFINES
19
 
# ifndef DSO_DLFCN
20
 
#  define DSO_DLFCN
21
 
# endif
22
 
# ifndef HAVE_DLFCN_H
23
 
#  define HAVE_DLFCN_H
24
 
# endif
25
 
#endif
26
 
 
27
 
/* crypto/opensslconf.h.in */
28
 
 
29
 
/* Generate 80386 code? */
30
 
#undef I386_ONLY
31
 
 
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"
35
 
#endif
36
 
#endif
37
 
 
38
 
#define OPENSSL_UNISTD <unistd.h>
39
 
 
40
 
#if defined(HEADER_IDEA_H) && !defined(IDEA_INT)
41
 
#define IDEA_INT unsigned int
42
 
#endif
43
 
 
44
 
#if defined(HEADER_MD2_H) && !defined(MD2_INT)
45
 
#define MD2_INT unsigned int
46
 
#endif
47
 
 
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
51
 
#endif
52
 
 
53
 
#if defined(HEADER_RC4_H)
54
 
#if !defined(RC4_INT)
55
 
/* using int types make the structure larger but make the code faster
56
 
 * on most boxes I have tested - up to %20 faster. */
57
 
/*
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;
61
 
 */
62
 
#define RC4_INT unsigned int
63
 
#endif
64
 
#if !defined(RC4_CHUNK)
65
 
/*
66
 
 * This enables code handling data aligned at natural CPU word
67
 
 * boundary. See crypto/rc4/rc4_enc.c for further details.
68
 
 */
69
 
#undef RC4_CHUNK
70
 
#endif
71
 
#endif
72
 
 
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). */
76
 
#ifndef DES_LONG
77
 
#define DES_LONG unsigned long
78
 
#endif
79
 
#endif
80
 
 
81
 
#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
82
 
#define CONFIG_HEADER_BN_H
83
 
#define BN_LLONG
84
 
 
85
 
/* Should we define BN_DIV2W here? */
86
 
 
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
92
 
#undef SIXTY_FOUR_BIT
93
 
#define THIRTY_TWO_BIT
94
 
#undef SIXTEEN_BIT
95
 
#undef EIGHT_BIT
96
 
#endif
97
 
 
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
101
 
 * speedup on x86 */
102
 
#define RC4_INDEX
103
 
#endif
104
 
 
105
 
#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
106
 
#define CONFIG_HEADER_BF_LOCL_H
107
 
#undef BF_PTR
108
 
#endif /* HEADER_BF_LOCL_H */
109
 
 
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 */
115
 
#ifndef DES_PTR
116
 
#define DES_PTR
117
 
#endif
118
 
 
119
 
/* This helps C compiler generate the correct code for multiple functional
120
 
 * units.  It reduces register dependancies at the expense of 2 more
121
 
 * registers */
122
 
#ifndef DES_RISC1
123
 
#define DES_RISC1
124
 
#endif
125
 
 
126
 
#ifndef DES_RISC2
127
 
#undef DES_RISC2
128
 
#endif
129
 
 
130
 
#if defined(DES_RISC1) && defined(DES_RISC2)
131
 
YOU SHOULD NOT HAVE BOTH DES_RISC1 AND DES_RISC2 DEFINED!!!!!
132
 
#endif
133
 
 
134
 
/* Unroll the inner loop, this sometimes helps, sometimes hinders.
135
 
 * Very mucy CPU dependant */
136
 
#ifndef DES_UNROLL
137
 
#define DES_UNROLL
138
 
#endif
139
 
 
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 */
149
 
 
150
 
#if defined( sun )              /* Newer Sparc's */
151
 
#  define DES_PTR
152
 
#  define DES_RISC1
153
 
#  define DES_UNROLL
154
 
#elif defined( __ultrix )       /* Older MIPS */
155
 
#  define DES_PTR
156
 
#  define DES_RISC2
157
 
#  define DES_UNROLL
158
 
#elif defined( __osf1__ )       /* Alpha */
159
 
#  define DES_PTR
160
 
#  define DES_RISC2
161
 
#elif defined ( _AIX )          /* RS6000 */
162
 
  /* Unknown */
163
 
#elif defined( __hpux )         /* HP-PA */
164
 
  /* Unknown */
165
 
#elif defined( __aux )          /* 68K */
166
 
  /* Unknown */
167
 
#elif defined( __dgux )         /* 88K (but P6 in latest boxes) */
168
 
#  define DES_UNROLL
169
 
#elif defined( __sgi )          /* Newer MIPS */
170
 
#  define DES_PTR
171
 
#  define DES_RISC2
172
 
#  define DES_UNROLL
173
 
#elif defined( i386 )           /* x86 boxes, should be gcc */
174
 
#  define DES_PTR
175
 
#  define DES_RISC1
176
 
#  define DES_UNROLL
177
 
#endif /* Systems-specific speed defines */
178
 
#endif
179
 
 
180
 
#endif /* DES_DEFAULT_OPTIONS */
181
 
#endif /* HEADER_DES_LOCL_H */