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