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