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