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