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