]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
Enhance EVP code to generate random symmetric keys of the
[thirdparty/openssl.git] / CHANGES
CommitLineData
81a6c781 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
beab098d 5 Changes between 0.9.7c and 0.9.8 [xx XXX xxxx]
4d94ae00 6
216659eb
DSH
7 *) Add new EVP function EVP_CIPHER_CTX_rand_key and associated functionality.
8 This will generate a random key of the appropriate length based on the
9 cipher context. The EVP_CIPHER can provide its own random key generation
10 routine to support keys of a specific form. This is used in the des and
11 3des routines to generate a key of the correct parity. Update S/MIME
12 code to use new functions and hence generate correct parity DES keys.
13 Add EVP_CHECK_DES_KEY #define to return an error if the key is not
14 valid (weak or incorrect parity).
15 [Steve Henson]
16
e1a27eb3
DSH
17 *) Add a local set of CRLs that can be used by X509_verify_cert() as well
18 as looking them up. This is useful when the verified structure may contain
19 CRLs, for example PKCS#7 signedData. Modify PKCS7_verify() to use any CRLs
20 present unless the new PKCS7_NO_CRL flag is asserted.
21 [Steve Henson]
22
6446e0c3
DSH
23 *) Extend ASN1 oid configuration module. It now additionally accepts the
24 syntax:
25
26 shortName = some long name, 1.2.3.4
27 [Steve Henson]
28
5c98b2ca
GT
29 *) Reimplemented the BN_CTX implementation. There is now no more static
30 limitation on the number of variables it can handle nor the depth of the
31 "stack" handling for BN_CTX_start()/BN_CTX_end() pairs. The stack
32 information can now expand as required, and rather than having a single
33 static array of bignums, BN_CTX now uses a linked-list of such arrays
34 allowing it to expand on demand whilst maintaining the usefulness of
35 BN_CTX's "bundling".
36 [Geoff Thorpe]
37
46ef873f
GT
38 *) Add a missing BN_CTX parameter to the 'rsa_mod_exp' callback in RSA_METHOD
39 to allow all RSA operations to function using a single BN_CTX.
40 [Geoff Thorpe]
41
4acc3e90
DSH
42 *) Preliminary support for certificate policy evaluation and checking. This
43 is initially intended to pass the tests outlined in "Conformance Testing
44 of Relying Party Client Certificate Path Processing Logic" v1.07.
45 [Steve Henson]
46
7f663ce4
GT
47 *) bn_dup_expand() has been deprecated, it was introduced in 0.9.7 and
48 remained unused and not that useful. A variety of other little bignum
49 tweaks and fixes have also been made continuing on from the audit (see
50 below).
51 [Geoff Thorpe]
52
875a644a
RL
53 *) Constify all or almost all d2i, c2i, s2i and r2i functions, along with
54 associated ASN1, EVP and SSL functions and old ASN1 macros.
7f663ce4 55 [Richard Levitte]
875a644a 56
b6358c89
GT
57 *) BN_zero() only needs to set 'top' and 'neg' to zero for correct results,
58 and this should never fail. So the return value from the use of
59 BN_set_word() (which can fail due to needless expansion) is now deprecated;
60 if OPENSSL_NO_DEPRECATED is defined, BN_zero() is a void macro.
61 [Geoff Thorpe]
62
9e051bac
GT
63 *) BN_CTX_get() should return zero-valued bignums, providing the same
64 initialised value as BN_new().
65