blob: d061dba4ae671b38b74f612540fab9fea35dee95 [file] [log] [blame]
Paul Bakker99ed6782011-01-05 14:48:42 +00001PolarSSL ChangeLog
2
3= Version 0.14.0 released on 2010-08-16
4Features
5 * Added support for SSL_EDH_RSA_AES_128_SHA and
6 SSL_EDH_RSA_CAMELLIA_128_SHA ciphersuites
7 * Added compile-time and run-time version information
8 * Expanded ssl_client2 arguments for more flexibility
9 * Added support for TLS v1.1
10
11Changes
12 * Made Makefile cleaner
13 * Removed dependency on rand() in rsa_pkcs1_encrypt().
14 Now using random fuction provided to function and
15 changed the prototype of rsa_pkcs1_encrypt(),
16 rsa_init() and rsa_gen_key().
17 * Some SSL defines were renamed in order to avoid
18 future confusion
19
20Bug fixes
21 * Fixed CMake out of source build for tests (found by
22 kkert)
23 * rsa_check_private() now supports PKCS1v2 keys as well
24 * Fixed deadlock in rsa_pkcs1_encrypt() on failing random
25 generator
26
27= Version 0.13.1 released on 2010-03-24
28Bug fixes
29 * Fixed Makefile in library that was mistakenly merged
30 * Added missing const string fixes
31
32= Version 0.13.0 released on 2010-03-21
33Features
34 * Added option parsing for host and port selection to
35 ssl_client2
36 * Added support for GeneralizedTime in X509 parsing
37 * Added cert_app program to allow easy reading and
38 printing of X509 certificates from file or SSL
39 connection.
40
41Changes
42 * Added const correctness for main code base
43 * X509 signature algorithm determination is now
44 in a function to allow easy future expansion
45 * Changed symmetric cipher functions to
46 identical interface (returning int result values)
47 * Changed ARC4 to use seperate input/output buffer
48 * Added reset function for HMAC context as speed-up
49 for specific use-cases
50
51Bug fixes
52 * Fixed bug resulting in failure to send the last
53 certificate in the chain in ssl_write_certificate() and
54 ssl_write_certificate_request() (found by fatbob)
55 * Added small fixes for compiler warnings on a Mac
56 (found by Frank de Brabander)
57 * Fixed algorithmic bug in mpi_is_prime() (found by
58 Smbat Tonoyan)
59
60= Version 0.12.1 released on 2009-10-04
61Changes
62 * Coverage test definitions now support 'depends_on'
63 tagging system.
64 * Tests requiring specific hashing algorithms now honor
65 the defines.
66
67Bug fixes
68 * Changed typo in #ifdef in x509parse.c (found
69 by Eduardo)
70
71= Version 0.12.0 released on 2009-07-28
72Features
73 * Added CMake makefiles as alternative to regular Makefiles.
74 * Added preliminary Code Coverage tests for AES, ARC4,
75 Base64, MPI, SHA-family, MD-family, HMAC-SHA-family,
76 Camellia, DES, 3-DES, RSA PKCS#1, XTEA, Diffie-Hellman
77 and X509parse.
78
79Changes
80 * Error codes are not (necessarily) negative. Keep
81 this is mind when checking for errors.
82 * RSA_RAW renamed to SIG_RSA_RAW for consistency.
83 * Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
84 * Changed interface for AES and Camellia setkey functions
85 to indicate invalid key lengths.
86
87Bug fixes
88 * Fixed include location of endian.h on FreeBSD (found by
89 Gabriel)
90 * Fixed include location of endian.h and name clash on
91 Apples (found by Martin van Hensbergen)
92 * Fixed HMAC-MD2 by modifying md2_starts(), so that the
93 required HMAC ipad and opad variables are not cleared.
94 (found by code coverage tests)
95 * Prevented use of long long in bignum if
96 POLARSSL_HAVE_LONGLONG not defined (found by Giles
97 Bathgate).
98 * Fixed incorrect handling of negative strings in
99 mpi_read_string() (found by code coverage tests).
100 * Fixed segfault on handling empty rsa_context in
101 rsa_check_pubkey() and rsa_check_privkey() (found by
102 code coverage tests).
103 * Fixed incorrect handling of one single negative input
104 value in mpi_add_abs() (found by code coverage tests).
105 * Fixed incorrect handling of negative first input
106 value in mpi_sub_abs() (found by code coverage tests).
107 * Fixed incorrect handling of negative first input
108 value in mpi_mod_mpi() and mpi_mod_int(). Resulting
109 change also affects mpi_write_string() (found by code
110 coverage tests).
111 * Corrected is_prime() results for 0, 1 and 2 (found by
112 code coverage tests).
113 * Fixed Camellia and XTEA for 64-bit Windows systems.
114
115= 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
119= Version 0.11.0 released on 2009-05-03
120 * Fixed a bug in mpi_gcd() so that it also works when both
121 input numbers are even and added testcases to check
122 (found by Pierre Habouzit).
123 * 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.
126 * Fixed minor bug regarding mpi_gcd located within the
127 POLARSSL_GENPRIME block.
128 * Fixed minor memory leak in x509parse_crt() and added better
129 handling of 'full' certificate chains (found by Mathias
130 Olsson).
131 * Centralized file opening and reading for x509 files into
132 load_file()
133 * Made definition of net_htons() endian-clean for big endian
134 systems (Found by Gernot).
135 * Undefining POLARSSL_HAVE_ASM now also handles prevents asm in
136 padlock and timing code.
137 * 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.
140 * Added support for CRL revocation to x509parse_verify() and
141 SSL/TLS code.
142 * Fixed compatibility of XTEA and Camellia on a 64-bit system
143 (found by Felix von Leitner).
144
145= Version 0.10.0 released on 2009-01-12
146 * Migrated XySSL to PolarSSL
147 * Added XTEA symmetric cipher
148 * Added Camellia symmetric cipher
149 * Added support for ciphersuites: SSL_RSA_CAMELLIA_128_SHA,
150 SSL_RSA_CAMELLIA_256_SHA and SSL_EDH_RSA_CAMELLIA_256_SHA
151 * Fixed dangerous bug that can cause a heap overflow in
152 rsa_pkcs1_decrypt (found by Christophe Devine)
153
154================================================================
155XySSL ChangeLog
156
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