~ubuntu-branches/ubuntu/lucid/openssl/lucid-security

« back to all changes in this revision

Viewing changes to crypto/opensslconf.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2010-01-22 09:50:01 UTC
  • Revision ID: james.westby@ubuntu.com-20100122095001-k87cftbl4rgd7dat
Tags: 0.9.8k-7ubuntu5
* SECURITY UPDATE: memory leak possible during state clean-up.
  - Add CVE-2009-4355.patch, upstream fixes thanks to Debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
94
94
# endif
95
95
#endif
96
96
 
 
97
#define OPENSSL_CPUID_OBJ
 
98
 
97
99
/* crypto/opensslconf.h.in */
98
100
 
99
101
#ifdef OPENSSL_DOING_MAKEDEPEND
148
150
 * - Intel P6 because partial register stalls are very expensive;
149
151
 * - elder Alpha because it lacks byte load/store instructions;
150
152
 */
151
 
#define RC4_INT unsigned int
 
153
#define RC4_INT unsigned char
152
154
#endif
153
155
#if !defined(RC4_CHUNK)
154
156
/*
155
157
 * This enables code handling data aligned at natural CPU word
156
158
 * boundary. See crypto/rc4/rc4_enc.c for further details.
157
159
 */
158
 
#undef RC4_CHUNK
 
160
#define RC4_CHUNK unsigned long
159
161
#endif
160
162
#endif
161
163
 
163
165
/* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
164
166
 * %20 speed up (longs are 8 bytes, int's are 4). */
165
167
#ifndef DES_LONG
166
 
#define DES_LONG unsigned long
 
168
#define DES_LONG unsigned int
167
169
#endif
168
170
#endif
169
171
 
170
172
#if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
171
173
#define CONFIG_HEADER_BN_H
172
 
#define BN_LLONG
 
174
#undef BN_LLONG
173
175
 
174
176
/* Should we define BN_DIV2W here? */
175
177
 
177
179
/* The prime number generation stuff may not work when
178
180
 * EIGHT_BIT but I don't care since I've only used this mode
179
181
 * for debuging the bignum libraries */
180
 
#undef SIXTY_FOUR_BIT_LONG
 
182
#define SIXTY_FOUR_BIT_LONG
181
183
#undef SIXTY_FOUR_BIT
182
 
#define THIRTY_TWO_BIT
 
184
#undef THIRTY_TWO_BIT
183
185
#undef SIXTEEN_BIT
184
186
#undef EIGHT_BIT
185
187
#endif
188
190
#define CONFIG_HEADER_RC4_LOCL_H
189
191
/* if this is defined data[i] is used instead of *data, this is a %20
190
192
 * speedup on x86 */
191
 
#define RC4_INDEX
 
193
#undef RC4_INDEX
192
194
#endif
193
195
 
194
196
#if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H)
195
197
#define CONFIG_HEADER_BF_LOCL_H
196
 
#undef BF_PTR
 
198
#define BF_PTR2
197
199
#endif /* HEADER_BF_LOCL_H */
198
200
 
199
201
#if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)
202
204
/* the following is tweaked from a config script, that is why it is a
203
205
 * protected undef/define */
204
206
#ifndef DES_PTR
205
 
#define DES_PTR
 
207
#undef DES_PTR
206
208
#endif
207
209
 
208
210
/* This helps C compiler generate the correct code for multiple functional
209
211
 * units.  It reduces register dependancies at the expense of 2 more
210
212
 * registers */
211
213
#ifndef DES_RISC1
212
 
#define DES_RISC1
 
214
#undef DES_RISC1
213
215
#endif
214
216
 
215
217
#ifndef DES_RISC2