]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
x86_64-mont.pl readability improvement.
[thirdparty/openssl.git] / CHANGES
CommitLineData
81a6c781 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
bf3d6c0c 5 Changes between 0.9.8a and 0.9.9 [xx XXX xxxx]
28e4fe34 6
13e4670c
BM
7 *) New option -V for 'openssl ciphers'. This prints the ciphersuite code
8 in addition to the text details.
9 [Bodo Moeller]
10
1ef7acfe
DSH
11 *) Very, very preliminary EXPERIMENTAL support for printing of general
12 ASN1 structures. This currently produces rather ugly output and doesn't
13 handle several customised structures at all.
14 [Steve Henson]
15
a0156a92
DSH
16 *) Integrated support for PVK file format and some related formats such
17 as MS PUBLICKEYBLOB and PRIVATEKEYBLOB. Command line switches to support
18 these in the 'rsa' and 'dsa' utilities.
19 [Steve Henson]
20
eea374fd
DSH
21 *) Support for PKCS#1 RSAPublicKey format on rsa utility command line.
22 [Steve Henson]
23
45e27385
DSH
24 *) Remove the ancient ASN1_METHOD code. This was only ever used in one
25 place for the (very old) "NETSCAPE" format certificates which are now
26 handled using new ASN1 code equivalents.
eea374fd 27 [Steve Henson]
45e27385 28
4ebb342f
NL
29 *) Let the TLSv1_method() etc. functions return a 'const' SSL_METHOD
30 pointer and make the SSL_METHOD parameter in SSL_CTX_new,
31 SSL_CTX_set_ssl_version and SSL_set_ssl_method 'const'.
32 [Nils Larsch]
33
9aa9d70d 34 *) Modify CRL distribution points extension code to print out previously
0745d089
DSH
35 unsupported fields. Enhance extension setting code to allow setting of
36 all fields.
9aa9d70d
DSH
37 [Steve Henson]
38
0537f968 39 *) Add print and set support for Issuing Distribution Point CRL extension.
231493c9 40 [Steve Henson]
28e4fe34 41
2bd2cd9b
RL
42 Changes between 0.9.8 and 0.9.8a [XX xxx XXXX]
43
f022c177
DSH
44 *) Add two function to clear and return the verify parameter flags.
45 [Steve Henson]
46
6e119bb0
NL
47 *) Keep cipherlists sorted in the source instead of sorting them at
48 runtime, thus removing the need for a lock.
49 [Nils Larsch]
50
770bc596 51 *) Avoid some small subgroup attacks in Diffie-Hellman.
bf3d6c0c
BL
52 [Nick Mathewson and Ben Laurie]
53
54 *) Add functions for well-known primes.
55 [Nick Mathewson]
56
0491e058
AP
57 *) Extended Windows CE support.
58 [Satoshi Nakamura and Andy Polyakov]
59
f3b656b2
DSH
60 *) Initialize SSL_METHOD structures at compile time instead of during
61 runtime, thus removing the need for a lock.
62 [Steve Henson]
63
8f2e4fdf
DSH
64 *) Make PKCS7_decrypt() work even if no certificate is supplied by
65 attempting to decrypt each encrypted key in turn. Add support to
66 smime utility.
67 [Steve Henson]
2bd2cd9b
RL
68
69 Changes between 0.9.7h and 0.9.8 [05 Jul 2005]
12bdb643 70
c8310124
RL
71 *) Add libcrypto.pc and libssl.pc for those who feel they need them.
72 [Richard Levitte]
73
74 *) Change CA.sh and CA.pl so they don't bundle the CSR and the private
75 key into the same file any more.
76 [Richard Levitte]
77
8d3509b9
AP
78 *) Add initial support for Win64, both IA64 and AMD64/x64 flavors.
79 [Andy Polyakov]
80
cbdac46d
DSH
81 *) Add -utf8 command line and config file option to 'ca'.
82 [Stefan <stf@udoma.org]
83
c8310124
RL
84 *) Removed the macro des_crypt(), as it seems to conflict with some
85 libraries. Use DES_crypt().
86 [Richard Levitte]
87
a2c32e2d
GT
88 *) Correct naming of the 'chil' and '4758cca' ENGINEs. This
89 involves renaming the source and generated shared-libs for
90 both. The engines will accept the corrected or legacy ids
91 ('ncipher' and '4758_cca' respectively) when binding. NB,
92 this only applies when building 'shared'.
93 [Corinna Vinschen <vinschen@redhat.com> and Geoff Thorpe]
94
b6995add
DSH
95 *) Add attribute functions to EVP_PKEY structure. Modify
96 PKCS12_create() to recognize a CSP name attribute and
97 use it. Make -CSP option work again in pkcs12 utility.
98 [Steve Henson]
99
800e400d
NL
100 *) Add new functionality to the bn blinding code:
101 - automatic re-creation of the BN_BLINDING parameters after
102 a fixed number of uses (currently 32)
103 - add new function for parameter creation
104 - introduce flags to control the update behaviour of the
105 BN_BLINDING parameters
106 - hide BN_BLINDING structure
107 Add a second BN_BLINDING slot to the RSA structure to improve
108 performance when a single RSA object is shared among several
109 threads.
110 [Nils Larsch]
111
36d16f8e
BL
112 *) Add support for DTLS.
113 [Nagendra Modadugu <nagendra@cs.stanford.edu> and Ben Laurie]
114
dc0ed30c
NL
115 *) Add support for DER encoded private keys (SSL_FILETYPE_ASN1)
116 to SSL_CTX_use_PrivateKey_file() and SSL_use_PrivateKey_file()
117 [Walter Goulet]
118
6049399b
NL
119 *) Remove buggy and incompletet DH cert support from
120 ssl/ssl_rsa.c and ssl/s3_both.c
121 [Nils Larsch]
122
12bdb643
NL
123 *) Use SHA-1 instead of MD5 as the default digest algorithm for
124 the apps/openssl applications.
125 [Nils Larsch]
4d94ae00 126
41a15c4f
BL
127 *) Compile clean with "-Wall -Wmissing-prototypes
128 -Wstrict-prototypes -Wmissing-declarations -Werror". Currently
129 DEBUG_SAFESTACK must also be set.
130 [Ben Laurie]
131
c9a112f5 132 *) Change ./Configure so that certain algorithms can be disabled by default.
ecc5ef87
BM
133 The new counterpiece to "no-xxx" is "enable-xxx".
134
135 The patented RC5 and MDC2 algorithms will now be disabled unless
136 "enable-rc5" and "enable-mdc2", respectively, are specified.
137
138 (IDEA remains enabled despite being patented. This is because IDEA
139 is frequently required for interoperability, and there is no license
140 fee for non-commercial use. As before, "no-idea" can be used to
141 avoid this algorithm.)
142
c9a112f5
BM
143 [Bodo Moeller]
144
6951c23a
RL
145 *) Add processing of proxy certificates (see RFC 3820). This work was
146 sponsored by KTH (The Royal Institute of Technology in Stockholm) and
147 EGEE (Enabling Grids for E-science in Europe).
148 [Richard Levitte]
149
ea681ba8
AP
150 *) RC4 performance overhaul on modern architectures/implementations, such
151 as Intel P4, IA-64 and AMD64.
152 [Andy Polyakov]
153
401ee37a
DSH
154 *) New utility extract-section.pl. This can be used specify an alternative
155 section number in a pod file instead of having to treat each file as
156 a separate case in Makefile. This can be done by adding two lines to the
157 pod file:
158
159 =for comment openssl_section:XXX
160
161 The blank line is mandatory.
162
163 [Steve Henson]
164
826a42a0
DSH
165 *) New arguments -certform, -keyform and -pass for s_client and s_server
166 to allow alternative format key and certificate files and passphrase
167 sources.
168 [Steve Henson]
169
5d7c222d
DSH
170 *) New structure X509_VERIFY_PARAM which combines current verify parameters,
171 update associated structures and add various utility functions.
172
173 Add new policy related verify parameters, include policy checking in
174 standard verify code. Enhance 'smime' application with extra parameters
175 to support policy checking and print out.
176 [Steve Henson]
177
30fe028f
GT
178 *) Add a new engine to support VIA PadLock ACE extensions in the VIA C3
179 Nehemiah processors. These extensions support AES encryption in hardware
180 as well as RNG (though RNG support is currently disabled).
181 [Michal Ludvig <michal@logix.cz>, with help from Andy Polyakov]
182
df11e1e9
GT
183 *) Deprecate BN_[get|set]_params() functions (they were ignored internally).
184 [Geoff Thorpe]
185
ad500340
AP
186 *) New FIPS 180-2 algorithms, SHA-224/-256/-384/-512 are implemented.
187 [Andy Polyakov and a number of other people]
188
e14f4aab
AP
189 *) Improved PowerPC platform support. Most notably BIGNUM assembler
190 implementation contributed by IBM.
191 [Suresh Chari, Peter Waltenberg, Andy Polyakov]
192
bcfea9fb
GT
193 *) The new 'RSA_generate_key_ex' function now takes a BIGNUM for the public
194 exponent rather than 'unsigned long'. There is a corresponding change to
195 the new 'rsa_keygen' element of the RSA_METHOD structure.
196 [Jelte Jansen, Geoff Thorpe]
197
d5f686d8
BM
198 *) Functionality for creating the initial serial number file is now
199 moved from CA.pl to the 'ca' utility with a new option -create_serial.
200
201 (Before OpenSSL 0.9.7e, CA.pl used to initialize the serial
202 number file to 1, which is bound to cause problems. To avoid
203 the problems while respecting compatibility between different 0.9.7
204 patchlevels, 0.9.7e employed 'openssl x509 -next_serial' in
205 CA.pl for serial number initialization. With the new release 0.9.8,
206 we can fix the problem directly in the 'ca' utility.)
64674bcc
DSH
207 [Steve Henson]
208
3a87a9b9
GT
209 *) Reduced header interdepencies by declaring more opaque objects in
210 ossl_typ.h. As a consequence, including some headers (eg. engine.h) will
211 give fewer recursive includes, which could break lazy source code - so
212 this change is covered by the OPENSSL_NO_DEPRECATED symbol. As always,
213 developers should define this symbol when building and using openssl to
214 ensure they track the recommended behaviour, interfaces, [etc], but
215 backwards-compatible behaviour prevails when this isn't defined.
216 [Geoff Thorpe]
217
bf5773fa
DSH
218 *) New function X509_POLICY_NODE_print() which prints out policy nodes.
219 [Steve Henson]
220
216659eb
DSH
221 *) Add new EVP function EVP_CIPHER_CTX_rand_key and associated functionality.
222 This will generate a random key of the appropriate length based on the
223 cipher context. The EVP_CIPHER can provide its own random key generation
224 routine to support keys of a specific form. This is used in the des and
225 3des routines to generate a key of the correct parity. Update S/MIME
226 code to use new functions and hence generate correct parity DES keys.
227 Add EVP_CHECK_DES_KEY #define to return an error if the key is not
228 valid (weak or incorrect parity).
229 [Steve Henson]
230
e1a27eb3
DSH
231 *) Add a local set of CRLs that can be used by X509_verify_cert() as well
232 as looking them up. This is useful when the verified structure may contain
233 CRLs, for example PKCS#7 signedData. Modify PKCS7_verify() to use any CRLs
234 present unless the new PKCS7_NO_CRL flag is asserted.
235 [Steve Henson]
236
6446e0c3
DSH
237 *) Extend ASN1 oid configuration module. It now additionally accepts the
238 syntax:
239
240 shortName = some long name, 1.2.3.4
241 [Steve Henson]
242
5c98b2ca
GT
243 *) Reimplemented the BN_CTX implementation. There is now no more static
244 limitation on the number of variables it can handle nor the depth of the
245 "stack" handling for BN_CTX_start()/BN_CTX_end() pairs. The stack
246 information can now expand as required, and rather than having a single
247 static array of bignums, BN_CTX now uses a linked-list of such arrays
248 allowing it to expand on demand whilst maintaining the usefulness of
249 BN_CTX's "bundling".
250 [Geoff Thorpe]
251
46ef873f
GT
252 *) Add a missing BN_CTX parameter to the 'rsa_mod_exp' callback in RSA_METHOD
253 to allow all RSA operations to function using a single BN_CTX.
254 [Geoff Thorpe]
255
4acc3e90
DSH
256 *) Preliminary support for certificate policy evaluation and checking. This
257 is initially intended to pass the tests outlined in "Conformance Testing
258 of Relying Party Client Certificate Path Processing Logic" v1.07.
259 [Steve Henson]
260
7f663ce4
GT
261 *) bn_dup_expand() has been deprecated, it was introduced in 0.9.7 and
262 remained unused and not that useful. A variety of other little bignum
263 tweaks and fixes have also been made continuing on from the audit (see
264 below).
265 [Geoff Thorpe]
266
875a644a
RL
267 *) Constify all or almost all d2i, c2i, s2i and r2i functions, along with
268 associated ASN1, EVP and SSL functions and old ASN1 macros.
7f663ce4 269 [Richard Levitte]
875a644a 270
b6358c89
GT
271 *) BN_zero() only needs to set 'top' and 'neg' to zero for correct results,
272 and this should never fail. So the return value from the use of
273 BN_set_word() (which can fail due to needless expansion) is now deprecated;
274 if OPENSSL_NO_DEPRECATED is defined, BN_zero() is a void macro.
275 [Geoff Thorpe]
276
9e051bac
GT
277 *) BN_CTX_get() should return zero-valued bignums, providing the same
278 initialised value as BN_new().
279