From 0118046f9bda8dcf3594184fa439b79267db8017 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Mon, 25 Mar 2019 18:25:04 +0100 Subject: Prepare release --- lib/crypto/doc/src/notes.xml | 113 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/notes.xml b/lib/crypto/doc/src/notes.xml index c0b302734e..bbfb60ff30 100644 --- a/lib/crypto/doc/src/notes.xml +++ b/lib/crypto/doc/src/notes.xml @@ -31,6 +31,119 @@

This document describes the changes made to the Crypto application.

+
Crypto 4.5 + +
Fixed Bugs and Malfunctions + + +

+ Fixed a bug in error return for crypto:poly1305/2. + It returned the atom notsup instead of the + exception notsup.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15677

+
+ +

+ The cipher chacha20 was introduced in OpenSSL 1.1.0. + However, it could in a very odd situation fail for + versions less than OpenSSL 1.1.0d. It is therefore not + available if the linked cryptolib is OpenSSL of version + 1.1.0c or earlier.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15678

+
+
+
+ + +
Improvements and New Features + + +

A new rand module algorithm, exro928ss + (Xoroshiro928**), has been implemented. It has got a + really long period and good statistical quality for all + output bits, while still being only about 50% slower than + the default algorithm.

The same generator is also + used as a long period counter in a new crypto + plugin for the rand module, algorithm + crypto_aes. This plugin uses AES-256 to scramble + the counter which buries any detectable statistical + artifacts. Scrambling is done in chunks which are cached + to get good amortized speed (about half of the default + algorithm).

+

+ Own Id: OTP-14461 Aux Id: PR-1857

+
+ +

+ Crypto's single C-file is splitted into multiple files. + The different coding styles in the different parts are + unified into a single style.

+

+ Own Id: OTP-14732 Aux Id: PR-2068, PR-2095

+
+ +

+ Build configuration of the crypto application has + been moved from the erts application into the + crypto application.

+

+ Own Id: OTP-15129

+
+ +

+ Adds two hash functions blake2b and blake2s (64 bit hash + and 32 bit hash respectively). These are modern and + standard hash functions used in blockchains and encrypted + communication protocols. The hash functions are available + in OpenSSL since version 1.1.1.

+

+ Own Id: OTP-15564 Aux Id: PR-2129

+
+ +

+ A new API is implemented in crypto. So far it is not + published but used for implementing the + crypto:block_* and crypto:stream_* + interfaces.

+

+ Please note that since the error checking is more + thorough, there might be arguments with faulty lengths + that are no longer accepted.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15644 Aux Id: OTP-14732 , OTP-15451, PR-1857 + , PR-2068, PR-2095

+
+ +

+ The new hash_info/1 and cipher_info/1 functions returns + maps with information about the hash or cipher in the + argument.

+

+ Own Id: OTP-15655 Aux Id: PR-2173, ERL-864, PR-2186

+
+ +

+ Obey the OpenSSL flags -no-rc2, -no-rc4, + -no-rc5, -no-md4, -no-rmd160, + -no-blake2, -no-chacha and -no-cmac + -no-poly1305 when compiling the C-part of the crypto + application.

+

+ Own Id: OTP-15683

+
+
+
+ +
+
Crypto 4.4.1
Fixed Bugs and Malfunctions -- cgit v1.2.3