diff options
Diffstat (limited to 'lib/crypto/doc/src/notes.xml')
-rw-r--r-- | lib/crypto/doc/src/notes.xml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/lib/crypto/doc/src/notes.xml b/lib/crypto/doc/src/notes.xml index fa5e9d5bea..16995edc88 100644 --- a/lib/crypto/doc/src/notes.xml +++ b/lib/crypto/doc/src/notes.xml @@ -31,6 +31,77 @@ </header> <p>This document describes the changes made to the Crypto application.</p> +<section><title>Crypto 5.2</title> + + <section><title>Fixed Bugs and Malfunctions</title> + <list> + <item> + <p> + Fix cmac_update aes_128_cbc for LibreSSL.</p> + <p> + Own Id: OTP-18571</p> + </item> + </list> + </section> + + + <section><title>Improvements and New Features</title> + <list> + <item> + <p> + Add support for SHAKE128 and SHAKE256.</p> + <p> + Own Id: OTP-18204 Aux Id: PR-6203 </p> + </item> + <item> + <p> + Make the <c>-DOPENSSL_API_COMPAT</c> flag work without + warnings.</p> + <p> + Own Id: OTP-18206 Aux Id: PR-6167 </p> + </item> + <item> + <p> + Replace size/1 with either tuple_size/1 or byte_size/1</p> + <p> + The <c>size/1</c> BIF is not optimized by the JIT, and + its use can result in worse types for Dialyzer.</p> + <p> + When one knows that the value being tested must be a + tuple, <c>tuple_size/1</c> should always be preferred.</p> + <p> + When one knows that the value being tested must be a + binary, <c>byte_size/1</c> should be preferred. However, + <c>byte_size/1</c> also accepts a bitstring (rounding up + size to a whole number of bytes), so one must make sure + that the call to <c>byte_size/</c> is preceded by a call + to <c>is_binary/1</c> to ensure that bitstrings are + rejected. Note that the compiler removes redundant calls + to <c>is_binary/1</c>, so if one is not sure whether + previous code had made sure that the argument is a + binary, it does not harm to add an <c>is_binary/1</c> + test immediately before the call to <c>byte_size/1</c>.</p> + <p> + Own Id: OTP-18405 Aux Id: + GH-6672,PR-6702,PR-6768,PR-6700,PR-6769,PR-6812,PR-6814 </p> + </item> + <item> + <p> Handling of <c>on_load</c> modules during boot has + been improved by adding an extra step in the boot order + for embedded mode that runs all <c>on_load</c> handlers, + instead of relying on explicit invocation of them, later, + when the kernel supervision tree starts. </p><p> This is + mostly a code improvement and OTP internal simplification + to avoid future bugs and to simplify code maintenance. + </p> + <p> + Own Id: OTP-18447</p> + </item> + </list> + </section> + +</section> + <section><title>Crypto 5.1.4</title> <section><title>Fixed Bugs and Malfunctions</title> |