]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
PR: 2050
[thirdparty/openssl.git] / CHANGES
CommitLineData
81a6c781 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
aaf35f11
DSH
5 Changes between 0.9.8k and 1.0 [xx XXX xxxx]
6
a25f33d2
DSH
7 *) The function EVP_PKEY_sign() returns <=0 on error: check return code
8 correctly.
9 [Julia Lawall <julia@diku.dk>]
10
17716680
DSH
11 *) Update verify callback code in apps/s_cb.c and apps/verify.c, it
12 needlessly dereferenced structures, used obsolete functions and
13 didn't handle all updated verify codes correctly.
14 [Steve Henson]
15
0e4bc563
DSH
16 *) Delete MD2 from algorithm tables. This follows the recommendation in
17 several standards that it is not used in new applications due to
18 several cryptographic weaknesses. The algorithm is also disabled in
19 the default configuration.
20 [Steve Henson]
21
e30dd20c
DSH
22 *) In BIO_pop() and BIO_push() use the ctrl argument (which was NULL) to
23 indicate the initial BIO being pushed or popped. This makes it possible
24 to determine whether the BIO is the one explicitly called or as a result
25 of the ctrl being passed down the chain. Fix BIO_pop() and SSL BIOs so
26 it handles reference counts correctly and doesn't zero out the I/O bio
27 when it is not being explicitly popped. WARNING: applications which
28 included workarounds for the old buggy behaviour will need to be modified
29 or they could free up already freed BIOs.
30 [Steve Henson]
31
c05353c5
DSH
32 *) Rename uni2asc and asc2uni functions to OPENSSL_uni2asc and
33 OPENSSL_asc2uni the original names were too generic and cause name
34 clashes on Netware.
35 [Guenter <lists@gknw.net>]
36
d741ccad
DSH
37 *) Add ECDHE and PSK support to DTLS.
38 [Michael Tuexen <tuexen@fh-muenster.de>]
39
5f8f94a6
DSH
40 *) Add CHECKED_STACK_OF macro to safestack.h, otherwise safestack can't
41 be used on C++.
42 [Steve Henson]
43
e5fa864f
DSH
44 *) Add "missing" function EVP_MD_flags() (without this the only way to
45 retrieve a digest flags is by accessing the structure directly. Update
46 EVP_MD_do_all*() and EVP_CIPHER_do_all*() to include the name a digest
47 or cipher is registered as in the "from" argument. Print out all
48 registered digests in the dgst usage message instead of manually
49 attempting to work them out.
50 [Steve Henson]
51
22c98d4a
DSH
52 *) If no SSLv2 ciphers are used don't use an SSLv2 compatible client hello:
53 this allows the use of compression and extensions. Change default cipher
54 string to remove SSLv2 ciphersuites. This effectively avoids ancient SSLv2
55 by default unless an application cipher string requests it.
56 [Steve Henson]
57
14023fe3
DSH
58 *) Alter match criteria in PKCS12_parse(). It used to try to use local
59 key ids to find matching certificates and keys but some PKCS#12 files
60 don't follow the (somewhat unwritten) rules and this strategy fails.
61 Now just gather all certificates together and the first private key
62 then look for the first certificate that matches the key.
63 [Steve Henson]
64
aaf35f11
DSH
65 *) Support use of registered digest and cipher names for dgst and cipher
66 commands instead of having to add each one as a special case. So now
67 you can do:
68
69 openssl sha256 foo
70
71 as well as:
72
73 openssl dgst -sha256 foo
74
75 and this works for ENGINE based algorithms too.
76
77 [Steve Henson]
3ff55e96 78
b6af2c7e
DSH
79 *) Update Gost ENGINE to support parameter files.
80 [Victor B. Wagner <vitus@cryptocom.ru>]
81
33ab2e31
DSH
82 *) Support GeneralizedTime in ca utility.
83 [Oliver Martin <oliver@volatilevoid.net>, Steve Henson]
84
c2c99e28
DSH
85 *) Enhance the hash format used for certificate directory links. The new
86 form uses the canonical encoding (meaning equivalent names will work
87 even if they aren't identical) and uses SHA1 instead of MD5. This form
88 is incompatible with the older format and as a result c_rehash should
89 be used to rebuild symbolic links.
90 [Steve Henson]
91
8125d9f9
DSH
92 *) Make PKCS#8 the default write format for private keys, replacing the
93 traditional format. This form is standardised, more secure and doesn't
94 include an implicit MD5 dependency.
95 [Steve Henson]
96
363bd0b4
DSH
97 *) Add a $gcc_devteam_warn option to Configure. The idea is that any code
98 committed to OpenSSL should pass this lot as a minimum.
99 [Steve Henson]
100
12bf56c0
DSH
101 *) Add session ticket override functionality for use by EAP-FAST.
102 [Jouni Malinen <j@w1.fi>]
103
87d52468
DSH
104 *) Modify HMAC functions to return a value. Since these can be implemented
105 in an ENGINE errors can occur.
106 [Steve Henson]
107
1ea6472e
BL
108 *) Type-checked OBJ_bsearch_ex.
109 [Ben Laurie]
110
babb3798
BL
111 *) Type-checked OBJ_bsearch. Also some constification necessitated
112 by type-checking. Still to come: TXT_DB, bsearch(?),
113 OBJ_bsearch_ex, qsort, CRYPTO_EX_DATA, ASN1_VALUE, ASN1_STRING,
1ea6472e
BL
114 CONF_VALUE.
115 [Ben Laurie]
babb3798 116
87d3a0cd
DSH
117 *) New function OPENSSL_gmtime_adj() to add a specific number of days and
118 seconds to a tm structure directly, instead of going through OS
119 specific date routines. This avoids any issues with OS routines such
120 as the year 2038 bug. New *_adj() functions for ASN1 time structures
121 and X509_time_adj_ex() to cover the extended range. The existing
122 X509_time_adj() is still usable and will no longer have any date issues.
123 [Steve Henson]
124
d43c4497
DSH
125 *) Delta CRL support. New use deltas option which will attempt to locate
126 and search any appropriate delta CRLs available.
127
128 This work was sponsored by Google.
129 [Steve Henson]
130
4b96839f
DSH
131 *) Support for CRLs partitioned by reason code. Reorganise CRL processing
132 code and add additional score elements. Validate alternate CRL paths
133 as part of the CRL checking and indicate a new error "CRL path validation
134 error" in this case. Applications wanting additional details can use
135 the verify callback and check the new "parent" field. If this is not
136 NULL CRL path validation is taking place. Existing applications wont
137 see this because it requires extended CRL support which is off by
138 default.
139
140 This work was sponsored by Google.
141 [Steve Henson]
142
249a77f5
DSH
143 *) Support for freshest CRL extension.
144
145 This work was sponsored by Google.
146 [Steve Henson]
147
d0fff69d
DSH
148 *) Initial indirect CRL support. Currently only supported in the CRLs
149 passed directly and not via lookup. Process certificate issuer
150 CRL entry extension and lookup CRL entries by bother issuer name
4b96839f 151 and serial number. Check and process CRL issuer entry in IDP extension.
d0fff69d
DSH
152
153 This work was sponsored by Google.
154 [Steve Henson]
155
9d84d4ed
DSH
156 *) Add support for distinct certificate and CRL paths. The CRL issuer
157 certificate is validated separately in this case. Only enabled if
158 an extended CRL support flag is set: this flag will enable additional
159 CRL functionality in future.
160
161 This work was sponsored by Google.
162 [Steve Henson]
9d84d4ed 163
002e66c0
DSH
164 *) Add support for policy mappings extension.
165
166 This work was sponsored by Google.
167 [Steve Henson]
168
e9746e03
DSH
169 *) Fixes to pathlength constraint, self issued certificate handling,
170 policy processing to align with RFC3280 and PKITS tests.
171
172 This work was sponsored by Google.
173 [Steve Henson]
174
175 *) Support for name constraints certificate extension. DN, email, DNS
176 and URI types are currently supported.
177
178 This work was sponsored by Google.
179 [Steve Henson]
180
4c329696
GT
181 *) To cater for systems that provide a pointer-based thread ID rather
182 than numeric, deprecate the current numeric thread ID mechanism and
183 replace it with a structure and associated callback type. This
184 mechanism allows a numeric "hash" to be extracted from a thread ID in
185 either case, and on platforms where pointers are larger than 'long',
186 mixing is done to help ensure the numeric 'hash' is usable even if it
187 can't be guaranteed unique. The default mechanism is to use "&errno"
188 as a pointer-based thread ID to distinguish between threads.
189
190 Applications that want to provide their own thread IDs should now use
191 CRYPTO_THREADID_set_callback() to register a callback that will call
192 either CRYPTO_THREADID_set_numeric() or CRYPTO_THREADID_set_pointer().
193
2ecd2ede
BM
194 Note that ERR_remove_state() is now deprecated, because it is tied
195 to the assumption that thread IDs are numeric. ERR_remove_state(0)
196 to free the current thread's error state should be replaced by
197 ERR_remove_thread_state(NULL).
198
4c329696
GT
199 (This new approach replaces the functions CRYPTO_set_idptr_callback(),
200 CRYPTO_get_idptr_callback(), and CRYPTO_thread_idptr() that existed in
201 OpenSSL 0.9.9-dev between June 2006 and August 2008. Also, if an
202 application was previously providing a numeric thread callback that
203 was inappropriate for distinguishing threads, then uniqueness might
204 have been obtained with &errno that happened immediately in the
205 intermediate development versions of OpenSSL; this is no longer the
206 case, the numeric thread callback will now override the automatic use
207 of &errno.)
208 [Geoff Thorpe, with help from Bodo Moeller]
209
5cbd2033
DSH
210 *) Initial support for different CRL issuing certificates. This covers a
211 simple case where the self issued certificates in the chain exist and
212 the real CRL issuer is higher in the existing chain.
e9746e03
DSH
213
214 This work was sponsored by Google.
5cbd2033
DSH
215 [Steve Henson]
216
5ce278a7
BL
217 *) Removed effectively defunct crypto/store from the build.
218 [Ben Laurie]
219
220 *) Revamp of STACK to provide stronger type-checking. Still to come:
221 TXT_DB, bsearch(?), OBJ_bsearch, qsort, CRYPTO_EX_DATA, ASN1_VALUE,
222 ASN1_STRING, CONF_VALUE.
223 [Ben Laurie]
224
8671b898
BL
225 *) Add a new SSL_MODE_RELEASE_BUFFERS mode flag to release unused buffer
226 RAM on SSL connections. This option can save about 34k per idle SSL.
227 [Nick Mathewson]
228
3c1d6bbc
BL
229 *) Revamp of LHASH to provide stronger type-checking. Still to come:
230 STACK, TXT_DB, bsearch, qsort.
231 [Ben Laurie]
232
8931b30d
DSH
233 *) Initial support for Cryptographic Message Syntax (aka CMS) based
234 on RFC3850, RFC3851 and RFC3852. New cms directory and cms utility,
fd47c361 235 support for data, signedData, compressedData, digestedData and
eb9d8d8c
DSH
236 encryptedData, envelopedData types included. Scripts to check against
237 RFC4134 examples draft and interop and consistency checks of many
238 content types and variants.
8931b30d
DSH
239 [Steve Henson]
240
3df93571 241 *) Add options to enc utility to support use of zlib compression BIO.
8931b30d
DSH
242 [Steve Henson]
243
73980531
DSH
244 *) Extend mk1mf to support importing of options and assembly language
245 files from Configure script, currently only included in VC-WIN32.
246 The assembly language rules can now optionally generate the source
247 files from the associated perl scripts.
248 [Steve Henson]
249
0e1dba93
DSH
250 *) Implement remaining functionality needed to support GOST ciphersuites.
251 Interop testing has been performed using CryptoPro implementations.
252 [Victor B. Wagner <vitus@cryptocom.ru>]
253
0023adb4
AP
254 *) s390x assembler pack.
255 [Andy Polyakov]
256
4c7c5ff6
AP
257 *) ARMv4 assembler pack. ARMv4 refers to v4 and later ISA, not CPU
258 "family."
259 [Andy Polyakov]
260
761772d7
BM
261 *) Implement Opaque PRF Input TLS extension as specified in
262 draft-rescorla-tls-opaque-prf-input-00.txt. Since this is not an
263 official specification yet and no extension type assignment by
264 IANA exists, this extension (for now) will have to be explicitly
265 enabled when building OpenSSL by providing the extension number
266 to use. For example, specify an option
267
268 -DTLSEXT_TYPE_opaque_prf_input=0x9527
269
270 to the "config" or "Configure" script to enable the extension,
271 assuming extension number 0x9527 (which is a completely arbitrary
272 and unofficial assignment based on the MD5 hash of the Internet
273 Draft). Note that by doing so, you potentially lose
274 interoperability with other TLS implementations since these might
275 be using the same extension number for other purposes.
276
277 SSL_set_tlsext_opaque_prf_input(ssl, src, len) is used to set the
278 opaque PRF input value to use in the handshake. This will create
279 an interal copy of the length-'len' string at 'src', and will
280 return non-zero for success.
281
282 To get more control and flexibility, provide a callback function
283 by using
284
285 SSL_CTX_set_tlsext_opaque_prf_input_callback(ctx, cb)
286 SSL_CTX_set_tlsext_opaque_prf_input_callback_arg(ctx, arg)
287
288 where
289
290 int (*cb)(SSL *, void *peerinput, size_t len, void *arg);
291 void *arg;
292
293 Callback function 'cb' will be called in handshakes, and is
294 expected to use SSL_set_tlsext_opaque_prf_input() as appropriate.
295 Argument 'arg' is for application purposes (the value as given to
296 SSL_CTX_set_tlsext_opaque_prf_input_callback_arg() will directly
297 be provided to the callback function). The callback function
298 has to return non-zero to report success: usually 1 to use opaque
299 PRF input just if possible, or 2 to enforce use of the opaque PRF
300 input. In the latter case, the library will abort the handshake
301 if opaque PRF input is not successfully negotiated.
302
303 Arguments 'peerinput' and 'len' given to the callback function
304 will always be NULL and 0 in the case of a client. A server will
305 see the client's opaque PRF input through these variables if
306 available (NULL and 0 otherwise). Note that if the server
307 provides an opaque PRF input, the length must be the same as the
308 length of the client's opaque PRF input.
309
310 Note that the callback function will only be called when creating
311 a new session (session resumption can resume whatever was
312 previously negotiated), and will not be called in SSL 2.0
313 handshakes; thus, SSL_CTX_set_options(ctx, SSL_OP_NO_SSLv2) or
314 SSL_set_options(ssl, SSL_OP_NO_SSLv2) is especially recommended
315 for applications that need to enforce opaque PRF input.
316
317 [Bodo Moeller]
318
81025661
DSH
319 *) Update ssl code to support digests other than SHA1+MD5 for handshake
320 MAC.
321
322 [Victor B. Wagner <vitus@cryptocom.ru>]
323
6434abbf
DSH
324 *) Add RFC4507 support to OpenSSL. This includes the corrections in
325 RFC4507bis. The encrypted ticket format is an encrypted encoded
326 SSL_SESSION structure, that way new session features are automatically
327 supported.
328
ba0e826d
DSH
329 If a client application caches session in an SSL_SESSION structure
330 support is transparent because tickets are now stored in the encoded
331 SSL_SESSION.
332
333 The SSL_CTX structure automatically generates keys for ticket
334 protection in servers so again support should be possible
6434abbf
DSH
335 with no application modification.
336
337 If a client or server wishes to disable RFC4507 support then the option
338 SSL_OP_NO_TICKET can be set.
339
340 Add a TLS extension debugging callback to allow the contents of any client
341 or server extensions to be examined.
ec5d7473
DSH
342
343 This work was sponsored by Google.
6434abbf
DSH
344 [Steve Henson]
345
3c07d3a3
DSH
346 *) Final changes to avoid use of pointer pointer casts in OpenSSL.
347 OpenSSL should now compile cleanly on gcc 4.2
348 [Peter Hartley <pdh@utter.chaos.org.uk>, Steve Henson]
349
b948e2c5
DSH
350 *) Update SSL library to use new EVP_PKEY MAC API. Include generic MAC
351 support including streaming MAC support: this is required for GOST
352 ciphersuite support.
353 [Victor B. Wagner <vitus@cryptocom.ru>, Steve Henson]
354
9cfc8a9d
DSH
355 *) Add option -stream to use PKCS#7 streaming in smime utility. New
356 function i2d_PKCS7_bio_stream() and PEM_write_PKCS7_bio_stream()
357 to output in BER and PEM format.
358 [Steve Henson]
359
47b71e6e
DSH
360 *) Experimental support for use of HMAC via EVP_PKEY interface. This
361 allows HMAC to be handled via the EVP_DigestSign*() interface. The
362 EVP_PKEY "key" in this case is the HMAC key, potentially allowing
2022cfe0
DSH
363 ENGINE support for HMAC keys which are unextractable. New -mac and
364 -macopt options to dgst utility.
47b71e6e
DSH
365 [Steve Henson]
366
d952c79a
DSH
367 *) New option -sigopt to dgst utility. Update dgst to use
368 EVP_Digest{Sign,Verify}*. These two changes make it possible to use
369 alternative signing paramaters such as X9.31 or PSS in the dgst
370 utility.
371 [Steve Henson]
372
fd5bc65c
BM
373 *) Change ssl_cipher_apply_rule(), the internal function that does
374 the work each time a ciphersuite string requests enabling
375 ("foo+bar"), moving ("+foo+bar"), disabling ("-foo+bar", or
376 removing ("!foo+bar") a class of ciphersuites: Now it maintains
377 the order of disabled ciphersuites such that those ciphersuites
378 that most recently went from enabled to disabled not only stay
379 in order with respect to each other, but also have higher priority
380 than other disabled ciphersuites the next time ciphersuites are
381 enabled again.
382
383 This means that you can now say, e.g., "PSK:-PSK:HIGH" to enable
384 the same ciphersuites as with "HIGH" alone, but in a specific
385 order where the PSK ciphersuites come first (since they are the
386 most recently disabled ciphersuites when "HIGH" is parsed).
387
388 Also, change ssl_create_cipher_list() (using this new
389 funcionality) such that between otherwise identical
390 cihpersuites, ephemeral ECDH is preferred over ephemeral DH in
391 the default order.
392 [Bodo Moeller]
393
0a05123a
BM
394 *) Change ssl_create_cipher_list() so that it automatically
395 arranges the ciphersuites in reasonable order before starting
396 to process the rule string. Thus, the definition for "DEFAULT"
397 (SSL_DEFAULT_CIPHER_LIST) now is just "ALL:!aNULL:!eNULL", but
398 remains equivalent to "AES:ALL:!aNULL:!eNULL:+aECDH:+kRSA:+RC4:@STRENGTH".
399 This makes it much easier to arrive at a reasonable default order
400 in applications for which anonymous ciphers are OK (meaning
401 that you can't actually use DEFAULT).
402 [Bodo Moeller; suggested by Victor Duchovni]
403
52b8dad8
BM
404 *) Split the SSL/TLS algorithm mask (as used for ciphersuite string
405 processing) into multiple integers instead of setting
406 "SSL_MKEY_MASK" bits, "SSL_AUTH_MASK" bits, "SSL_ENC_MASK",
407 "SSL_MAC_MASK", and "SSL_SSL_MASK" bits all in a single integer.
408 (These masks as well as the individual bit definitions are hidden
409 away into the non-exported interface ssl/ssl_locl.h, so this
410 change to the definition of the SSL_CIPHER structure shouldn't
411 affect applications.) This give us more bits for each of these
412 categories, so there is no longer a need to coagulate AES128 and
413 AES256 into a single algorithm bit, and to coagulate Camellia128
414 and Camellia256 into a single algorithm bit, which has led to all
415 kinds of kludges.
416
417 Thus, among other things, the kludge introduced in 0.9.7m and
418 0.9.8e for masking out AES256 independently of AES128 or masking
419 out Camellia256 independently of AES256 is not needed here in 0.9.9.
420
421 With the change, we also introduce new ciphersuite aliases that
422 so far were missing: "AES128", "AES256", "CAMELLIA128", and
423 "CAMELLIA256".
424 [Bodo Moeller]
425
357d5de5
NL
426 *) Add support for dsa-with-SHA224 and dsa-with-SHA256.
427 Use the leftmost N bytes of the signature input if the input is
428 larger than the prime q (with N being the size in bytes of q).
429 [Nils Larsch]
430
11d8cdc6
DSH
431 *) Very *very* experimental PKCS#7 streaming encoder support. Nothing uses
432 it yet and it is largely untested.
433 [Steve Henson]
434
06e2dd03
NL
435 *) Add support for the ecdsa-with-SHA224/256/384/512 signature types.
436 [Nils Larsch]
437
de121164 438 *) Initial incomplete changes to avoid need for function casts in OpenSSL
297e6f19 439 some compilers (gcc 4.2 and later) reject their use. Safestack is
a6fbcb42 440 reimplemented. Update ASN1 to avoid use of legacy functions.
de121164
DSH
441 [Steve Henson]
442
3189772e
AP
443 *) Win32/64 targets are linked with Winsock2.
444 [Andy Polyakov]
445
010fa0b3
DSH
446 *) Add an X509_CRL_METHOD structure to allow CRL processing to be redirected
447 to external functions. This can be used to increase CRL handling
448 efficiency especially when CRLs are very large by (for example) storing
449 the CRL revoked certificates in a database.
450 [Steve Henson]
451
5d20c4fb
DSH
452 *) Overhaul of by_dir code. Add support for dynamic loading of CRLs so
453 new CRLs added to a directory can be used. New command line option
454 -verify_return_error to s_client and s_server. This causes real errors
455 to be returned by the verify callback instead of carrying on no matter
456 what. This reflects the way a "real world" verify callback would behave.
457 [Steve Henson]
458
459 *) GOST engine, supporting several GOST algorithms and public key formats.
460 Kindly donated by Cryptocom.
461 [Cryptocom]
462
bc7535bc
DSH
463 *) Partial support for Issuing Distribution Point CRL extension. CRLs
464 partitioned by DP are handled but no indirect CRL or reason partitioning
465 (yet). Complete overhaul of CRL handling: now the most suitable CRL is
466 selected via a scoring technique which handles IDP and AKID in CRLs.
467 [Steve Henson]
468
469 *) New X509_STORE_CTX callbacks lookup_crls() and lookup_certs() which
470 will ultimately be used for all verify operations: this will remove the
471 X509_STORE dependency on certificate verification and allow alternative
472 lookup methods. X509_STORE based implementations of these two callbacks.
473 [Steve Henson]
474
f6e7d014
DSH
475 *) Allow multiple CRLs to exist in an X509_STORE with matching issuer names.
476 Modify get_crl() to find a valid (unexpired) CRL if possible.
477 [Steve Henson]
478
edc54021
DSH
479 *) New function X509_CRL_match() to check if two CRLs are identical. Normally
480 this would be called X509_CRL_cmp() but that name is already used by
481 a function that just compares CRL issuer names. Cache several CRL
482 extensions in X509_CRL structure and cache CRLDP in X509.
483 [Steve Henson]
484
450ea834
DSH
485 *) Store a "canonical" representation of X509_NAME structure (ASN1 Name)
486 this maps equivalent X509_NAME structures into a consistent structure.
487 Name comparison can then be performed rapidly using memcmp().
488 [Steve Henson]
489
454dbbc5
DSH
490 *) Non-blocking OCSP request processing. Add -timeout option to ocsp
491 utility.
c1c6c0bf
DSH
492 [Steve Henson]
493
b7683e3a
DSH
494 *) Allow digests to supply their own micalg string for S/MIME type using
495 the ctrl EVP_MD_CTRL_MICALG.
496 [Steve Henson]
497
498 *) During PKCS7 signing pass the PKCS7 SignerInfo structure to the
499 EVP_PKEY_METHOD before and after signing via the EVP_PKEY_CTRL_PKCS7_SIGN
500 ctrl. It can then customise the structure before and/or after signing
501 if necessary.
502 [Steve Henson]
503
0ee2166c
DSH
504 *) New function OBJ_add_sigid() to allow application defined signature OIDs
505 to be added to OpenSSLs internal tables. New function OBJ_sigid_free()
506 to free up any added signature OIDs.
507 [Steve Henson]
508
5ba4bf35
DSH
509 *) New functions EVP_CIPHER_do_all(), EVP_CIPHER_do_all_sorted(),
510 EVP_MD_do_all() and EVP_MD_do_all_sorted() to enumerate internal
511 digest and cipher tables. New options added to openssl utility:
512 list-message-digest-algorithms and list-cipher-algorithms.
513 [Steve Henson]
514
c4e7870a
BM
515 *) Change the array representation of binary polynomials: the list
516 of degrees of non-zero coefficients is now terminated with -1.
517 Previously it was terminated with 0, which was also part of the
518 value; thus, the array representation was not applicable to
519 polynomials where t^0 has coefficient zero. This change makes
520 the array representation useful in a more general context.
521 [Douglas Stebila]
522
89bbe14c
BM
523 *) Various modifications and fixes to SSL/TLS cipher string
524 handling. For ECC, the code now distinguishes between fixed ECDH
525 with RSA certificates on the one hand and with ECDSA certificates
526 on the other hand, since these are separate ciphersuites. The
527 unused code for Fortezza ciphersuites has been removed.
528
529 For consistency with EDH, ephemeral ECDH is now called "EECDH"
530 (not "ECDHE"). For consistency with the code for DH
531 certificates, use of ECDH certificates is now considered ECDH
532 authentication, not RSA or ECDSA authentication (the latter is
533 merely the CA's signing algorithm and not actively used in the
534 protocol).
535
536 The temporary ciphersuite alias "ECCdraft" is no longer
537 available, and ECC ciphersuites are no longer excluded from "ALL"
538 and "DEFAULT". The following aliases now exist for RFC 4492
539 ciphersuites, most of these by analogy with the DH case:
540
541 kECDHr - ECDH cert, signed with RSA
542 kECDHe - ECDH cert, signed with ECDSA
543 kECDH - ECDH cert (signed with either RSA or ECDSA)
544 kEECDH - ephemeral ECDH
545 ECDH - ECDH cert or ephemeral ECDH
546
547 aECDH - ECDH cert
548 aECDSA - ECDSA cert
549 ECDSA - ECDSA cert
550
551 AECDH - anonymous ECDH
552 EECDH - non-anonymous ephemeral ECDH (equivalent to "kEECDH:-AECDH")
553
554 [Bodo Moeller]
555
fb7b3932
DSH
556 *) Add additional S/MIME capabilities for AES and GOST ciphers if supported.
557 Use correct micalg parameters depending on digest(s) in signed message.
558 [Steve Henson]
559
01b8b3c7
DSH
560 *) Add engine support for EVP_PKEY_ASN1_METHOD. Add functions to process
561 an ENGINE asn1 method. Support ENGINE lookups in the ASN1 code.
562 [Steve Henson]
de9fcfe3 563
58aa573a 564 *) Initial engine support for EVP_PKEY_METHOD. New functions to permit
c9777d26
DSH
565 an engine to register a method. Add ENGINE lookups for methods and
566 functional reference processing.
58aa573a
DSH
567 [Steve Henson]
568
91c9e621
DSH
569 *) New functions EVP_Digest{Sign,Verify)*. These are enchance versions of
570 EVP_{Sign,Verify}* which allow an application to customise the signature
571 process.
572 [Steve Henson]
573
55311921
DSH
574 *) New -resign option to smime utility. This adds one or more signers
575 to an existing PKCS#7 signedData structure. Also -md option to use an
576 alternative message digest algorithm for signing.
577 [Steve Henson]
578
a6e7fcd1
DSH
579 *) Tidy up PKCS#7 routines and add new functions to make it easier to
580 create PKCS7 structures containing multiple signers. Update smime
581 application to support multiple signers.
582 [Steve Henson]
583
121dd39f
DSH
584 *) New -macalg option to pkcs12 utility to allow setting of an alternative
585 digest MAC.
586 [Steve Henson]
587
856640b5 588 *) Initial support for PKCS#5 v2.0 PRFs other than default SHA1 HMAC.
b8f702a0 589 Reorganize PBE internals to lookup from a static table using NIDs,
6d3a1eac
DSH
590 add support for HMAC PBE OID translation. Add a EVP_CIPHER ctrl:
591 EVP_CTRL_PBE_PRF_NID this allows a cipher to specify an alternative
592 PRF which will be automatically used with PBES2.
856640b5
DSH
593 [Steve Henson]
594
34b3c72e 595 *) Replace the algorithm specific calls to generate keys in "req" with the
959e8dfe
DSH
596 new API.
597 [Steve Henson]
598
399a6f0b
DSH
599 *) Update PKCS#7 enveloped data routines to use new API. This is now
600 supported by any public key method supporting the encrypt operation. A
601 ctrl is added to allow the public key algorithm to examine or modify
602 the PKCS#7 RecipientInfo structure if it needs to: for RSA this is
603 a no op.
604 [Steve Henson]
28e4fe34 605
03919683
DSH
606 *) Add a ctrl to asn1 method to allow a public key algorithm to express
607 a default digest type to use. In most cases this will be SHA1 but some
608 algorithms (such as GOST) need to specify an alternative digest. The
609 return value indicates how strong the prefernce is 1 means optional and
610 2 is mandatory (that is it is the only supported type). Modify
611 ASN1_item_sign() to accept a NULL digest argument to indicate it should
612 use the default md. Update openssl utilities to use the default digest
613 type for signing if it is not explicitly indicated.
614 [Steve Henson]
615
ee1d9ec0
DSH
616 *) Use OID cross reference table in ASN1_sign() and ASN1_verify(). New
617 EVP_MD flag EVP_MD_FLAG_PKEY_METHOD_SIGNATURE. This uses the relevant
618 signing method from the key type. This effectively removes the link
619 between digests and public key types.
620 [Steve Henson]
621
d2027098
DSH
622 *) Add an OID cross reference table and utility functions. Its purpose is to
623 translate between signature OIDs such as SHA1WithrsaEncryption and SHA1,
624 rsaEncryption. This will allow some of the algorithm specific hackery
625 needed to use the correct OID to be removed.
626 [Steve Henson]
627
492a9e24
DSH
628 *) Remove algorithm specific dependencies when setting PKCS7_SIGNER_INFO
629 structures for PKCS7_sign(). They are now set up by the relevant public
630 key ASN1 method.
631 [Steve Henson]
632
9ca7047d
DSH
633 *) Add provisional EC pkey method with support for ECDSA and ECDH.
634 [Steve Henson]
635
ffb1ac67
DSH
636 *) Add support for key derivation (agreement) in the API, DH method and
637 pkeyutl.
638 [Steve Henson]
639
3ba0885a
DSH
640 *) Add DSA pkey method and DH pkey methods, extend DH ASN1 method to support
641 public and private key formats. As a side effect these add additional
642 command line functionality not previously available: DSA signatures can be
643 generated and verified using pkeyutl and DH key support and generation in
644 pkey, genpkey.
645 [Steve Henson]
646
4700aea9
UM
647 *) BeOS support.
648 [Oliver Tappe <zooey@hirschkaefer.de>]
649
650 *) New make target "install_html_docs" installs HTML renditions of the
651 manual pages.
652 [Oliver Tappe <zooey@hirschkaefer.de>]
653
f5cda4cb
DSH
654 *) New utility "genpkey" this is analagous to "genrsa" etc except it can
655 generate keys for any algorithm. Extend and update EVP_PKEY_METHOD to
656 support key and parameter generation and add initial key generation
657 functionality for RSA.
658 [Steve Henson]
659
f733a5ef
DSH
660 *) Add functions for main EVP_PKEY_method operations. The undocumented
661 functions EVP_PKEY_{encrypt,decrypt} have been renamed to
662 EVP_PKEY_{encrypt,decrypt}_old.
663 [Steve Henson]
664
0b6f3c66
DSH
665 *) Initial definitions for EVP_PKEY_METHOD. This will be a high level public
666 key API, doesn't do much yet.
667 [Steve Henson]
668
0b33dac3
DSH
669 *) New function EVP_PKEY_asn1_get0_info() to retrieve information about
670 public key algorithms. New option to openssl utility:
671 "list-public-key-algorithms" to print out info.
672 [Steve Henson]
673
33273721
BM
674 *) Implement the Supported Elliptic Curves Extension for
675 ECC ciphersuites from draft-ietf-tls-ecc-12.txt.
676 [Douglas Stebila]
677
246e0931
DSH
678 *) Don't free up OIDs in OBJ_cleanup() if they are in use by EVP_MD or
679 EVP_CIPHER structures to avoid later problems in EVP_cleanup().
680 [Steve Henson]
681
3e4585c8 682 *) New utilities pkey and pkeyparam. These are similar to algorithm specific
f5cda4cb 683 utilities such as rsa, dsa, dsaparam etc except they process any key
3e4585c8 684 type.
3e84b6e1
DSH
685 [Steve Henson]
686
35208f36
DSH
687 *) Transfer public key printing routines to EVP_PKEY_ASN1_METHOD. New
688 functions EVP_PKEY_print_public(), EVP_PKEY_print_private(),
689 EVP_PKEY_print_param() to print public key data from an EVP_PKEY
690 structure.
691 [Steve Henson]
692
448be743
DSH
693 *) Initial support for pluggable public key ASN1.
694 De-spaghettify the public key ASN1 handling. Move public and private
695 key ASN1 handling to a new EVP_PKEY_ASN1_METHOD structure. Relocate
696 algorithm specific handling to a single module within the relevant
697 algorithm directory. Add functions to allow (near) opaque processing
698 of public and private key structures.
699 [Steve Henson]
700
36ca4ba6
BM
701 *) Implement the Supported Point Formats Extension for
702 ECC ciphersuites from draft-ietf-tls-ecc-12.txt.
703 [Douglas Stebila]
704
ddac1974
NL
705 *) Add initial support for RFC 4279 PSK TLS ciphersuites. Add members
706 for the psk identity [hint] and the psk callback functions to the
707 SSL_SESSION, SSL and SSL_CTX structure.
708
709 New ciphersuites:
710 PSK-RC4-SHA, PSK-3DES-EDE-CBC-SHA, PSK-AES128-CBC-SHA,
711 PSK-AES256-CBC-SHA
712
713 New functions:
714 SSL_CTX_use_psk_identity_hint
715 SSL_get_psk_identity_hint
716 SSL_get_psk_identity
717 SSL_use_psk_identity_hint
718
719 [Mika Kousa and Pasi Eronen of Nokia Corporation]
720
c7235be6
UM
721 *) Add RFC 3161 compliant time stamp request creation, response generation
722 and response verification functionality.
723