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