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