]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
Typo.
[thirdparty/openssl.git] / CHANGES
CommitLineData
81a6c781 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
7b3a9b00 5 Changes between 1.0.1 and 1.1.0 [xx XXX xxxx]
aaf35f11 6
23916810
DSH
7 *) Initial untested CCM support via EVP. Interface is very similar to GCM
8 case except we must supply all data in one chunk (i.e. no update, final)
9 and the message length must be supplied if AAD is used.
10 [Steve Henson]
11
ac892b7a
DSH
12 *) Initial version of POST overhaul. Add POST callback to allow the status
13 of POST to be monitored and/or failures induced. Modify fips_test_suite
14 to use callback. Always run all selftests even if one fails.
15 [Steve Henson]
16
06b7e5a0
DSH
17 *) XTS support including algorithm test driver in the fips_gcmtest program.
18 Note: this does increase the maximum key length from 32 to 64 bytes but
19 there should be no binary compatibility issues as existing applications
20 will never use XTS mode.
32a2d8dd
DSH
21 [Steve Henson]
22
05e24c87
DSH
23 *) Extensive reorganisation of FIPS PRNG behaviour. Remove all dependencies
24 to OpenSSL RAND code and replace with a tiny FIPS RAND API which also
25 performs algorithm blocking for unapproved PRNG types. Also do not
26 set PRNG type in FIPS_mode_set(): leave this to the application.
27 Add default OpenSSL DRBG handling: sets up FIPS PRNG and seeds with
d7a3ce98 28 the standard OpenSSL PRNG: set additional data to a date time vector.
05e24c87
DSH
29 [Steve Henson]
30
cab0595c
DSH
31 *) Rename old X9.31 PRNG functions of the form FIPS_rand* to FIPS_x931*.
32 This shouldn't present any incompatibility problems because applications
33 shouldn't be using these directly and any that are will need to rethink
34 anyway as the X9.31 PRNG is now deprecated by FIPS 140-2
35 [Steve Henson]
36
96ec46f7
DSH
37 *) Extensive self tests and health checking required by SP800-90 DRBG.
38 Remove strength parameter from FIPS_drbg_instantiate and always
39 instantiate at maximum supported strength.
40 [Steve Henson]
41
0deea0e0 42 *) Add SRP support.
d4f3dd5f 43 [Tom Wu <tjw@cs.stanford.edu> and Ben Laurie]
0deea0e0 44
8857b380
DSH
45 *) Add ECDH code to fips module and fips_ecdhvs for primitives only testing.
46 [Steve Henson]
47
11e80de3
DSH
48 *) New algorithm test program fips_dhvs to handle DH primitives only testing.
49 [Steve Henson]
50
51 *) New function DH_compute_key_padded() to compute a DH key and pad with
52 leading zeroes if needed: this complies with SP800-56A et al.
53 [Steve Henson]
54
591cbfae
DSH
55 *) Initial implementation of SP800-90 DRBGs for Hash and CTR. Not used by
56 anything, incomplete, subject to change and largely untested at present.
57 [Steve Henson]
58
eead69f5
DSH
59 *) Modify fipscanisteronly build option to only build the necessary object
60 files by filtering FIPS_EX_OBJ through a perl script in crypto/Makefile.
61 [Steve Henson]
62
017bc57b
DSH
63 *) Add experimental option FIPSSYMS to give all symbols in
64 fipscanister.o and FIPS or fips prefix. This will avoid
5d439d69
DSH
65 conflicts with future versions of OpenSSL. Add perl script
66 util/fipsas.pl to preprocess assembly language source files
67 and rename any affected symbols.
017bc57b
DSH
68 [Steve Henson]
69
25c65429
DSH
70 *) Add selftest checks and algorithm block of non-fips algorithms in
71 FIPS mode. Remove DES2 from selftests.
72 [Steve Henson]
73
fe26d066
DSH
74 *) Add ECDSA code to fips module. Add tiny fips_ecdsa_check to just
75 return internal method without any ENGINE dependencies. Add new
25c65429 76 tiny fips sign and verify functions.
fe26d066
DSH
77 [Steve Henson]
78
b3310161
DSH
79 *) New build option no-ec2m to disable characteristic 2 code.
80 [Steve Henson]
81
30b56225
DSH
82 *) New build option "fipscanisteronly". This only builds fipscanister.o
83 and (currently) associated fips utilities. Uses the file Makefile.fips
84 instead of Makefile.org as the prototype.
85 [Steve Henson]
86
b3d8022e
DSH
87 *) Add some FIPS mode restrictions to GCM. Add internal IV generator.
88 Update fips_gcmtest to use IV generator.
89 [Steve Henson]
90
bdaa5415
DSH
91 *) Initial, experimental EVP support for AES-GCM. AAD can be input by
92 setting output buffer to NULL. The *Final function must be
93 called although it will not retrieve any additional data. The tag
94 can be set or retrieved with a ctrl. The IV length is by default 12
95 bytes (96 bits) but can be set to an alternative value. If the IV
96 length exceeds the maximum IV length (currently 16 bytes) it cannot be
97 set before the key.
98 [Steve Henson]
99
3da0ca79
DSH
100 *) New flag in ciphers: EVP_CIPH_FLAG_CUSTOM_CIPHER. This means the
101 underlying do_cipher function handles all cipher semantics itself
102 including padding and finalisation. This is useful if (for example)
103 an ENGINE cipher handles block padding itself. The behaviour of
104 do_cipher is subtly changed if this flag is set: the return value
105 is the number of characters written to the output buffer (zero is
106 no longer an error code) or a negative error code. Also if the
d45087c6 107 input buffer is NULL and length 0 finalisation should be performed.
3da0ca79
DSH
108 [Steve Henson]
109
2b3936e8
DSH
110 *) If a candidate issuer certificate is already part of the constructed
111 path ignore it: new debug notification X509_V_ERR_PATH_LOOP for this case.
112 [Steve Henson]
113
7c2d4fee
BM
114 *) Improve forward-security support: add functions
115
116 void SSL_CTX_set_not_resumable_session_callback(SSL_CTX *ctx, int (*cb)(SSL *ssl, int is_forward_secure))
117 void SSL_set_not_resumable_session_callback(SSL *ssl, int (*cb)(SSL *ssl, int is_forward_secure))
118
119 for use by SSL/TLS servers; the callback function will be called whenever a
120 new session is created, and gets to decide whether the session may be
121 cached to make it resumable (return 0) or not (return 1). (As by the
122 SSL/TLS protocol specifications, the session_id sent by the server will be
123 empty to indicate that the session is not resumable; also, the server will
124 not generate RFC 4507 (RFC 5077) session tickets.)
125
126 A simple reasonable callback implementation is to return is_forward_secure.
127 This parameter will be set to 1 or 0 depending on the ciphersuite selected
128 by the SSL/TLS server library, indicating whether it can provide forward
129 security.
130