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