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