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