blob: ee55975ae8d91a4b768ed8c422612bffb4c24339 [file] [log] [blame]
Paul Bakker99ed6782011-01-05 14:48:42 +00001PolarSSL ChangeLog
2
Paul Bakker37ca75d2011-01-06 12:28:03 +00003= Version Trunk
4Features
5 * Added Doxygen source code documentation parts donated
6 by Fox-IT
7
Paul Bakker99ed6782011-01-05 14:48:42 +00008= Version 0.14.0 released on 2010-08-16
9Features
10 * Added support for SSL_EDH_RSA_AES_128_SHA and
11 SSL_EDH_RSA_CAMELLIA_128_SHA ciphersuites
12 * Added compile-time and run-time version information
13 * Expanded ssl_client2 arguments for more flexibility
14 * Added support for TLS v1.1
15
16Changes
17 * Made Makefile cleaner
18 * Removed dependency on rand() in rsa_pkcs1_encrypt().
19 Now using random fuction provided to function and
20 changed the prototype of rsa_pkcs1_encrypt(),
21 rsa_init() and rsa_gen_key().
22 * Some SSL defines were renamed in order to avoid
23 future confusion
24
25Bug fixes
26 * Fixed CMake out of source build for tests (found by
27 kkert)
28 * rsa_check_private() now supports PKCS1v2 keys as well
29 * Fixed deadlock in rsa_pkcs1_encrypt() on failing random
30 generator
31
32= Version 0.13.1 released on 2010-03-24
33Bug fixes
34 * Fixed Makefile in library that was mistakenly merged
35 * Added missing const string fixes
36
37= Version 0.13.0 released on 2010-03-21
38Features
39 * Added option parsing for host and port selection to
40 ssl_client2
41 * Added support for GeneralizedTime in X509 parsing
42 * Added cert_app program to allow easy reading and
43 printing of X509 certificates from file or SSL
44 connection.
45
46Changes
47 * Added const correctness for main code base
48 * X509 signature algorithm determination is now
49 in a function to allow easy future expansion
50 * Changed symmetric cipher functions to
51 identical interface (returning int result values)
52 * Changed ARC4 to use seperate input/output buffer
53 * Added reset function for HMAC context as speed-up
54 for specific use-cases
55
56Bug fixes
57 * Fixed bug resulting in failure to send the last
58 certificate in the chain in ssl_write_certificate() and
59 ssl_write_certificate_request() (found by fatbob)
60 * Added small fixes for compiler warnings on a Mac
61 (found by Frank de Brabander)
62 * Fixed algorithmic bug in mpi_is_prime() (found by
63 Smbat Tonoyan)
64
65= Version 0.12.1 released on 2009-10-04
66Changes
67 * Coverage test definitions now support 'depends_on'
68 tagging system.
69 * Tests requiring specific hashing algorithms now honor
70 the defines.
71
72Bug fixes
73 * Changed typo in #ifdef in x509parse.c (found
74 by Eduardo)
75
76= Version 0.12.0 released on 2009-07-28
77Features
78 * Added CMake makefiles as alternative to regular Makefiles.
79 * Added preliminary Code Coverage tests for AES, ARC4,
80 Base64, MPI, SHA-family, MD-family, HMAC-SHA-family,
81 Camellia, DES, 3-DES, RSA PKCS#1, XTEA, Diffie-Hellman
82 and X509parse.
83
84Changes
85 * Error codes are not (necessarily) negative. Keep
86 this is mind when checking for errors.
87 * RSA_RAW renamed to SIG_RSA_RAW for consistency.
88 * Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
89 * Changed interface for AES and Camellia setkey functions
90 to indicate invalid key lengths.
91
92Bug fixes
93 * Fixed include location of endian.h on FreeBSD (found by
94 Gabriel)
95 * Fixed include location of endian.h and name clash on
96 Apples (found by Martin van Hensbergen)
97 * Fixed HMAC-MD2 by modifying md2_starts(), so that the
98 required HMAC ipad and opad variables are not cleared.
99 (found by code coverage tests)
100 * Prevented use of long long in bignum if
101 POLARSSL_HAVE_LONGLONG not defined (found by Giles
102 Bathgate).
103 * Fixed incorrect handling of negative strings in
104 mpi_read_string() (found by code coverage tests).
105 * Fixed segfault on handling empty rsa_context in
106 rsa_check_pubkey() and rsa_check_privkey() (found by
107 code coverage tests).
108 * Fixed incorrect handling of one single negative input
109 value in mpi_add_abs() (found by code coverage tests).
110 * Fixed incorrect handling of negative first input
111 value in mpi_sub_abs() (found by code coverage tests).
112 * Fixed incorrect handling of negative first input
113 value in mpi_mod_mpi() and mpi_mod_int(). Resulting
114 change also affects mpi_write_string() (found by code
115 coverage tests).
116 * Corrected is_prime() results for 0, 1 and 2 (found by
117 code coverage tests).
118 * Fixed Camellia and XTEA for 64-bit Windows systems.
119
120= Version 0.11.1 released on 2009-05-17
121 * Fixed missing functionality for SHA-224, SHA-256, SHA384,
122 SHA-512 in rsa_pkcs1_sign()
123
124= Version 0.11.0 released on 2009-05-03
125 * Fixed a bug in mpi_gcd() so that it also works when both
126 input numbers are even and added testcases to check
127 (found by Pierre Habouzit).
128 * Added support for SHA-224, SHA-256, SHA-384 and SHA-512
129 one way hash functions with the PKCS#1 v1.5 signing and
130 verification.
131 * Fixed minor bug regarding mpi_gcd located within the
132 POLARSSL_GENPRIME block.
133 * Fixed minor memory leak in x509parse_crt() and added better
134 handling of 'full' certificate chains (found by Mathias
135 Olsson).
136 * Centralized file opening and reading for x509 files into
137 load_file()
138 * Made definition of net_htons() endian-clean for big endian
139 systems (Found by Gernot).
140 * Undefining POLARSSL_HAVE_ASM now also handles prevents asm in
141 padlock and timing code.
142 * Fixed an off-by-one buffer allocation in ssl_set_hostname()
143 responsible for crashes and unwanted behaviour.
144 * Added support for Certificate Revocation List (CRL) parsing.
145 * Added support for CRL revocation to x509parse_verify() and
146 SSL/TLS code.
147 * Fixed compatibility of XTEA and Camellia on a 64-bit system
148 (found by Felix von Leitner).
149
150= Version 0.10.0 released on 2009-01-12
151 * Migrated XySSL to PolarSSL
152 * Added XTEA symmetric cipher
153 * Added Camellia symmetric cipher
154 * Added support for ciphersuites: SSL_RSA_CAMELLIA_128_SHA,
155 SSL_RSA_CAMELLIA_256_SHA and SSL_EDH_RSA_CAMELLIA_256_SHA
156 * Fixed dangerous bug that can cause a heap overflow in
157 rsa_pkcs1_decrypt (found by Christophe Devine)
158
159================================================================
160XySSL ChangeLog
161
162= Version 0.9 released on 2008-03-16
163
164 * Added support for ciphersuite: SSL_RSA_AES_128_SHA
165 * Enabled support for large files by default in aescrypt2.c
166 * Preliminary openssl wrapper contributed by David Barrett
167 * Fixed a bug in ssl_write() that caused the same payload to
168 be sent twice in non-blocking mode when send returns EAGAIN
169 * Fixed ssl_parse_client_hello(): session id and challenge must
170 not be swapped in the SSLv2 ClientHello (found by Greg Robson)
171 * Added user-defined callback debug function (Krystian Kolodziej)
172 * Before freeing a certificate, properly zero out all cert. data
173 * Fixed the "mode" parameter so that encryption/decryption are
174 not swapped on PadLock; also fixed compilation on older versions
175 of gcc (bug reported by David Barrett)
176 * Correctly handle the case in padlock_xcryptcbc() when input or
177 ouput data is non-aligned by falling back to the software
178 implementation, as VIA Nehemiah cannot handle non-aligned buffers
179 * Fixed a memory leak in x509parse_crt() which was reported by Greg
180 Robson-Garth; some x509write.c fixes by Pascal Vizeli, thanks to
181 Matthew Page who reported several bugs
182 * Fixed x509_get_ext() to accept some rare certificates which have
183 an INTEGER instead of a BOOLEAN for BasicConstraints::cA.
184 * Added support on the client side for the TLS "hostname" extension
185 (patch contributed by David Patino)
186 * Make x509parse_verify() return BADCERT_CN_MISMATCH when an empty
187 string is passed as the CN (bug reported by spoofy)
188 * Added an option to enable/disable the BN assembly code
189 * Updated rsa_check_privkey() to verify that (D*E) = 1 % (P-1)*(Q-1)
190 * Disabled obsolete hash functions by default (MD2, MD4); updated
191 selftest and benchmark to not test ciphers that have been disabled
192 * Updated x509parse_cert_info() to correctly display byte 0 of the
193 serial number, setup correct server port in the ssl client example
194 * Fixed a critical denial-of-service with X.509 cert. verification:
195 peer may cause xyssl to loop indefinitely by sending a certificate
196 for which the RSA signature check fails (bug reported by Benoit)
197 * Added test vectors for: AES-CBC, AES-CFB, DES-CBC and 3DES-CBC,
198 HMAC-MD5, HMAC-SHA1, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512
199 * Fixed HMAC-SHA-384 and HMAC-SHA-512 (thanks to Josh Sinykin)
200 * Modified ssl_parse_client_key_exchange() to protect against
201 Daniel Bleichenbacher attack on PKCS#1 v1.5 padding, as well
202 as the Klima-Pokorny-Rosa extension of Bleichenbacher's attack
203 * Updated rsa_gen_key() so that ctx->N is always nbits in size
204 * Fixed assembly PPC compilation errors on Mac OS X, thanks to
205 David Barrett and Dusan Semen
206
207= Version 0.8 released on 2007-10-20
208
209 * Modified the HMAC functions to handle keys larger
210 than 64 bytes, thanks to Stephane Desneux and gary ng
211 * Fixed ssl_read_record() to properly update the handshake
212 message digests, which fixes IE6/IE7 client authentication
213 * Cleaned up the XYSSL* #defines, suggested by Azriel Fasten
214 * Fixed net_recv(), thanks to Lorenz Schori and Egon Kocjan
215 * Added user-defined callbacks for handling I/O and sessions
216 * Added lots of debugging output in the SSL/TLS functions
217 * Added preliminary X.509 cert. writing by Pascal Vizeli
218 * Added preliminary support for the VIA PadLock routines
219 * Added AES-CFB mode of operation, contributed by chmike
220 * Added an SSL/TLS stress testing program (ssl_test.c)
221 * Updated the RSA PKCS#1 code to allow choosing between
222 RSA_PUBLIC and RSA_PRIVATE, as suggested by David Barrett
223 * Updated ssl_read() to skip 0-length records from OpenSSL
224 * Fixed the make install target to comply with *BSD make
225 * Fixed a bug in mpi_read_binary() on 64-bit platforms
226 * mpi_is_prime() speedups, thanks to Kevin McLaughlin
227 * Fixed a long standing memory leak in mpi_is_prime()
228 * Replaced realloc with malloc in mpi_grow(), and set
229 the sign of zero as positive in mpi_init() (reported
230 by Jonathan M. McCune)
231
232= Version 0.7 released on 2007-07-07
233
234 * Added support for the MicroBlaze soft-core processor
235 * Fixed a bug in ssl_tls.c which sometimes prevented SSL
236 connections from being established with non-blocking I/O
237 * Fixed a couple bugs in the VS6 and UNIX Makefiles
238 * Fixed the "PIC register ebx clobbered in asm" bug
239 * Added HMAC starts/update/finish support functions
240 * Added the SHA-224, SHA-384 and SHA-512 hash functions
241 * Fixed the net_set_*block routines, thanks to Andreas
242 * Added a few demonstration programs: md5sum, sha1sum,
243 dh_client, dh_server, rsa_genkey, rsa_sign, rsa_verify
244 * Added new bignum import and export helper functions
245 * Rewrote README.txt in program/ssl/ca to better explain
246 how to create a test PKI
247
248= Version 0.6 released on 2007-04-01
249
250 * Ciphers used in SSL/TLS can now be disabled at compile
251 time, to reduce the memory footprint on embedded systems
252 * Added multiply assembly code for the TriCore and modified
253 havege_struct for this processor, thanks to David Patiño
254 * Added multiply assembly code for 64-bit PowerPCs,
255 thanks to Peking University and the OSU Open Source Lab
256 * Added experimental support of Quantum Cryptography
257 * Added support for autoconf, contributed by Arnaud Cornet
258 * Fixed "long long" compilation issues on IA-64 and PPC64
259 * Fixed a bug introduced in xyssl-0.5/timing.c: hardclock
260 was not being correctly defined on ARM and MIPS
261
262= Version 0.5 released on 2007-03-01
263
264 * Added multiply assembly code for SPARC and Alpha
265 * Added (beta) support for non-blocking I/O operations
266 * Implemented session resuming and client authentication
267 * Fixed some portability issues on WinCE, MINIX 3, Plan9
268 (thanks to Benjamin Newman), HP-UX, FreeBSD and Solaris
269 * Improved the performance of the EDH key exchange
270 * Fixed a bug that caused valid packets with a payload
271 size of 16384 bytes to be rejected
272
273= Version 0.4 released on 2007-02-01
274
275 * Added support for Ephemeral Diffie-Hellman key exchange
276 * Added multiply asm code for SSE2, ARM, PPC, MIPS and M68K
277 * Various improvement to the modular exponentiation code
278 * Rewrote the headers to generate the API docs with doxygen
279 * Fixed a bug in ssl_encrypt_buf (incorrect padding was
280 generated) and in ssl_parse_client_hello (max. client
281 version was not properly set), thanks to Didier Rebeix
282 * Fixed another bug in ssl_parse_client_hello: clients with
283 cipherlists larger than 96 bytes were incorrectly rejected
284 * Fixed a couple memory leak in x509_read.c
285
286= Version 0.3 released on 2007-01-01
287
288 * Added server-side SSLv3 and TLSv1.0 support
289 * Multiple fixes to enhance the compatibility with g++,
290 thanks to Xosé Antón Otero Ferreira
291 * Fixed a bug in the CBC code, thanks to dowst; also,
292 the bignum code is no longer dependant on long long
293 * Updated rsa_pkcs1_sign to handle arbitrary large inputs
294 * Updated timing.c for improved compatibility with i386
295 and 486 processors, thanks to Arnaud Cornet
296
297= Version 0.2 released on 2006-12-01
298
299 * Updated timing.c to support ARM and MIPS arch
300 * Updated the MPI code to support 8086 on MSVC 1.5
301 * Added the copyright notice at the top of havege.h
302 * Fixed a bug in sha2_hmac, thanks to newsoft/Wenfang Zhang
303 * Fixed a bug reported by Adrian Rüegsegger in x509_read_key
304 * Fixed a bug reported by Torsten Lauter in ssl_read_record
305 * Fixed a bug in rsa_check_privkey that would wrongly cause
306 valid RSA keys to be dismissed (thanks to oldwolf)
307 * Fixed a bug in mpi_is_prime that caused some primes to fail
308 the Miller-Rabin primality test
309
310 I'd also like to thank Younès Hafri for the CRUX linux port,
311 Khalil Petit who added XySSL into pkgsrc and Arnaud Cornet
312 who maintains the Debian package :-)
313
314= Version 0.1 released on 2006-11-01
315