]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
Avoid aliasing between stack frames and S-boxes. Compress prefetch code.
[thirdparty/openssl.git] / CHANGES
CommitLineData
81a6c781 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
12bdb643
NL
5 Changes between 0.9.7f and 0.9.8 [xx XXX xxxx]
6
dc0ed30c
NL
7 *) Add support for DER encoded private keys (SSL_FILETYPE_ASN1)
8 to SSL_CTX_use_PrivateKey_file() and SSL_use_PrivateKey_file()
9 [Walter Goulet]
10
6049399b
NL
11 *) Remove buggy and incompletet DH cert support from
12 ssl/ssl_rsa.c and ssl/s3_both.c
13 [Nils Larsch]
14
12bdb643
NL
15 *) Use SHA-1 instead of MD5 as the default digest algorithm for
16 the apps/openssl applications.
17 [Nils Larsch]
4d94ae00 18
41a15c4f
BL
19 *) Compile clean with "-Wall -Wmissing-prototypes
20 -Wstrict-prototypes -Wmissing-declarations -Werror". Currently
21 DEBUG_SAFESTACK must also be set.
22 [Ben Laurie]
23
c9a112f5 24 *) Change ./Configure so that certain algorithms can be disabled by default.
ecc5ef87
BM
25 The new counterpiece to "no-xxx" is "enable-xxx".
26
27 The patented RC5 and MDC2 algorithms will now be disabled unless
28 "enable-rc5" and "enable-mdc2", respectively, are specified.
29
30 (IDEA remains enabled despite being patented. This is because IDEA
31 is frequently required for interoperability, and there is no license
32 fee for non-commercial use. As before, "no-idea" can be used to
33 avoid this algorithm.)
34
c9a112f5
BM
35 [Bodo Moeller]
36
6951c23a
RL
37 *) Add processing of proxy certificates (see RFC 3820). This work was
38 sponsored by KTH (The Royal Institute of Technology in Stockholm) and
39 EGEE (Enabling Grids for E-science in Europe).
40 [Richard Levitte]
41
ea681ba8
AP
42 *) RC4 performance overhaul on modern architectures/implementations, such
43 as Intel P4, IA-64 and AMD64.
44 [Andy Polyakov]
45
401ee37a
DSH
46 *) New utility extract-section.pl. This can be used specify an alternative
47 section number in a pod file instead of having to treat each file as
48 a separate case in Makefile. This can be done by adding two lines to the
49 pod file:
50
51 =for comment openssl_section:XXX
52
53 The blank line is mandatory.
54
55 [Steve Henson]
56
826a42a0
DSH
57 *) New arguments -certform, -keyform and -pass for s_client and s_server
58 to allow alternative format key and certificate files and passphrase
59 sources.
60 [Steve Henson]
61
5d7c222d
DSH
62 *) New structure X509_VERIFY_PARAM which combines current verify parameters,
63 update associated structures and add various utility functions.
64
65 Add new policy related verify parameters, include policy checking in
66 standard verify code. Enhance 'smime' application with extra parameters
67 to support policy checking and print out.
68 [Steve Henson]
69
30fe028f
GT
70 *) Add a new engine to support VIA PadLock ACE extensions in the VIA C3
71 Nehemiah processors. These extensions support AES encryption in hardware
72 as well as RNG (though RNG support is currently disabled).
73 [Michal Ludvig <michal@logix.cz>, with help from Andy Polyakov]
74
df11e1e9
GT
75 *) Deprecate BN_[get|set]_params() functions (they were ignored internally).
76 [Geoff Thorpe]
77
ad500340
AP
78 *) New FIPS 180-2 algorithms, SHA-224/-256/-384/-512 are implemented.
79 [Andy Polyakov and a number of other people]
80
e14f4aab
AP
81 *) Improved PowerPC platform support. Most notably BIGNUM assembler
82 implementation contributed by IBM.
83 [Suresh Chari, Peter Waltenberg, Andy Polyakov]
84
bcfea9fb
GT
85 *) The new 'RSA_generate_key_ex' function now takes a BIGNUM for the public
86 exponent rather than 'unsigned long'. There is a corresponding change to
87 the new 'rsa_keygen' element of the RSA_METHOD structure.
88 [Jelte Jansen, Geoff Thorpe]
89
d5f686d8
BM
90 *) Functionality for creating the initial serial number file is now
91 moved from CA.pl to the 'ca' utility with a new option -create_serial.
92
93 (Before OpenSSL 0.9.7e, CA.pl used to initialize the serial
94 number file to 1, which is bound to cause problems. To avoid
95 the problems while respecting compatibility between different 0.9.7
96 patchlevels, 0.9.7e employed 'openssl x509 -next_serial' in
97 CA.pl for serial number initialization. With the new release 0.9.8,
98 we can fix the problem directly in the 'ca' utility.)
64674bcc
DSH
99 [Steve Henson]
100
3a87a9b9
GT
101 *) Reduced header interdepencies by declaring more opaque objects in
102 ossl_typ.h. As a consequence, including some headers (eg. engine.h) will
103 give fewer recursive includes, which could break lazy source code - so
104 this change is covered by the OPENSSL_NO_DEPRECATED symbol. As always,
105 developers should define this symbol when building and using openssl to
106 ensure they track the recommended behaviour, interfaces, [etc], but
107 backwards-compatible behaviour prevails when this isn't defined.
108 [Geoff Thorpe]
109
bf5773fa
DSH
110 *) New function X509_POLICY_NODE_print() which prints out policy nodes.
111 [Steve Henson]
112
216659eb
DSH
113 *) Add new EVP function EVP_CIPHER_CTX_rand_key and associated functionality.
114 This will generate a random key of the appropriate length based on the
115 cipher context. The EVP_CIPHER can provide its own random key generation
116 routine to support keys of a specific form. This is used in the des and
117 3des routines to generate a key of the correct parity. Update S/MIME
118 code to use new functions and hence generate correct parity DES keys.
119 Add EVP_CHECK_DES_KEY #define to return an error if the key is not
120 valid (weak or incorrect parity).
121 [Steve Henson]
122
e1a27eb3
DSH
123 *) Add a local set of CRLs that can be used by X509_verify_cert() as well
124 as looking them up. This is useful when the verified structure may contain
125 CRLs, for example PKCS#7 signedData. Modify PKCS7_verify() to use any CRLs
126 present unless the new PKCS7_NO_CRL flag is asserted.
127 [Steve Henson]
128
6446e0c3
DSH
129 *) Extend ASN1 oid configuration module. It now additionally accepts the
130 syntax:
131
132 shortName = some long name, 1.2.3.4
133 [Steve Henson]
134
5c98b2ca
GT
135 *) Reimplemented the BN_CTX implementation. There is now no more static
136 limitation on the number of variables it can handle nor the depth of the
137 "stack" handling for BN_CTX_start()/BN_CTX_end() pairs. The stack
138 information can now expand as required, and rather than having a single
139 static array of bignums, BN_CTX now uses a linked-list of such arrays
140 allowing it to expand on demand whilst maintaining the usefulness of
141 BN_CTX's "bundling".
142 [Geoff Thorpe]
143
46ef873f
GT
144 *) Add a missing BN_CTX parameter to the 'rsa_mod_exp' callback in RSA_METHOD
145 to allow all RSA operations to function using a single BN_CTX.
146 [Geoff Thorpe]
147
4acc3e90
DSH
148 *) Preliminary support for certificate policy evaluation and checking. This
149 is initially intended to pass the tests outlined in "Conformance Testing
150 of Relying Party Client Certificate Path Processing Logic" v1.07.
151 [Steve Henson]
152
7f663ce4
GT
153 *) bn_dup_expand() has been deprecated, it was introduced in 0.9.7 and
154 remained unused and not that useful. A variety of other little bignum
155 tweaks and fixes have also been made continuing on from the audit (see
156 below).
157 [Geoff Thorpe]
158
875a644a
RL
159 *) Constify all or almost all d2i, c2i, s2i and r2i functions, along with
160 associated ASN1, EVP and SSL functions and old ASN1 macros.
7f663ce4 161 [Richard Levitte]
875a644a 162
b6358c89
GT
163 *) BN_zero() only needs to set 'top' and 'neg' to zero for correct results,
164 and this should never fail. So the return value from the use of
165 BN_set_word() (which can fail due to needless expansion) is now deprecated;
166 if OPENSSL_NO_DEPRECATED is defined, BN_zero() is a void macro.
167 [Geoff Thorpe]
168
9e051bac
GT
169 *) BN_CTX_get() should return zero-valued bignums, providing the same
170 initialised value as BN_new().
171