31
31
<p>This document describes the changes made to the Crypto application.</p>
33
<section><title>Crypto 2.0.2.1</title>
35
<section><title>Improvements and New Features</title>
48
<section><title>Crypto 2.0.2</title>
50
<section><title>Improvements and New Features</title>
54
AES CTR encryption support in <c>crypto</c>.</p>
56
Own Id: OTP-8752 Aux Id: seq11642 </p>
63
<section><title>Crypto 2.0.1</title>
65
<section><title>Fixed Bugs and Malfunctions</title>
69
Crypto dialyzer type error in md5_mac and sha_mac.</p>
75
RC4 stream cipher didn't work. This since the new NIF
76
implementation of <c>crypto:rc4_encrypt_with_state/2</c>
77
introduced in <c>crypto-2.0</c> didn't return an updated
78
state. (Thanks to Paul Guyot)</p>
84
A number of memory leaks in the crypto NIF library have
93
<section><title>Improvements and New Features</title>
97
Added erlang:system_info(build_type) which makes it
98
easier to chose drivers, NIF libraries, etc based on
99
build type of the runtime system.</p>
101
The NIF library for crypto can now be built for valgrind
102
and/or debug as separate NIF libraries that will be
103
automatically loaded if the runtime system has been built
104
with a matching build type.</p>
113
<section><title>Crypto 2.0</title>
115
<section><title>Improvements and New Features</title>
119
crypto application changed to use NIFs instead of driver.</p>
125
des_ecb_encrypt/2 and des_ecb_decrypt/2 has been added to
126
the crypto module. The crypto:md4/1 function has been
132
<p>The undocumented, unsupport, and deprecated function
133
<c>lists:flat_length/1</c> has been removed.</p>
139
New variants of <c>crypto:dss_sign</c> and
140
<c>crypto:dss_verify</c> with an extra argument to
141
control how the digest is calculated.</p>
150
<section><title>Crypto 1.6.4</title>
152
<section><title>Improvements and New Features</title>
155
<p>Cross compilation improvements and other build system
157
<p>Most notable:</p> <list><item> Lots of cross
158
compilation improvements. The old cross compilation
159
support was more or less non-existing as well as broken.
160
Please, note that the cross compilation support should
161
still be considered as experimental. Also note that old
162
cross compilation configurations cannot be used without
163
modifications. For more information on cross compiling
164
Erlang/OTP see the <c>$ERL_TOP/INSTALL-CROSS.md</c> file.
165
</item><item> Support for staged install using <url
166
href="http://www.gnu.org/prep/standards/html_node/DESTDIR.html">DESTDIR</url>.
167
The old broken <c>INSTALL_PREFIX</c> has also been fixed.
168
For more information see the <c>$ERL_TOP/INSTALL.md</c>
169
file. </item><item> Documentation of the <c>release</c>
170
target of the top <c>Makefile</c>. For more information
171
see the <c>$ERL_TOP/INSTALL.md</c> file. </item><item>
172
<c>make install</c> now by default creates relative
173
symbolic links instead of absolute ones. For more
174
information see the <c>$ERL_TOP/INSTALL.md</c> file.
175
</item><item> <c>$ERL_TOP/configure --help=recursive</c>
176
now works and prints help for all applications with
177
<c>configure</c> scripts. </item><item> Doing <c>make
178
install</c>, or <c>make release</c> directly after
179
<c>make all</c> no longer triggers miscellaneous
180
rebuilds. </item><item> Existing bootstrap system is now
181
used when doing <c>make install</c>, or <c>make
182
release</c> without a preceding <c>make all</c>.
183
</item><item> The <c>crypto</c> and <c>ssl</c>
184
applications use the same runtime library path when
185
dynamically linking against <c>libssl.so</c> and
186
<c>libcrypto.so</c>. The runtime library search path has
187
also been extended. </item><item> The <c>configure</c>
188
scripts of <c>erl_interface</c> and <c>odbc</c> now
189
search for thread libraries and thread library quirks the
190
same way as <c>erts</c> do. </item><item> The
191
<c>configure</c> script of the <c>odbc</c> application
192
now also looks for odbc libraries in <c>lib64</c> and
193
<c>lib/64</c> directories when building on a 64-bit
194
system. </item><item> The <c>config.h.in</c> file in the
195
<c>erl_interface</c> application is now automatically
196
generated in instead of statically updated which reduces
197
the risk of <c>configure</c> tests without any effect.
199
<p>(Thanks to Henrik Riomar for suggestions and
201
<p>(Thanks to Winston Smith for the AVR32-Linux cross
202
configuration and testing)</p>
204
*** POTENTIAL INCOMPATIBILITY ***</p>
210
The crypto module now supports Blowfish in ECB, CBC and
211
OFB modes. (Thanks to Paul Oliver.)</p>
216
<p>The documentation is now possible to build in an open
217
source environment after a number of bugs are fixed and
218
some features are added in the documentation build
220
<p>- The arity calculation is updated.</p>
221
<p>- The module prefix used in the function names for
222
bif's are removed in the generated links so the links
224
"http://www.erlang.org/doc/man/erlang.html#append_element-2"
226
"http://www.erlang.org/doc/man/erlang.html#erlang:append_element-2".</p>
227
<p>- Enhanced the menu positioning in the html
228
documentation when a new page is loaded.</p>
229
<p>- A number of corrections in the generation of man
230
pages (thanks to Sergei Golovan)</p>
231
<p>- The legal notice is taken from the xml book file so
232
OTP's build process can be used for non OTP
33
242
<section><title>Crypto 1.6.3</title>
35
244
<section><title>Fixed Bugs and Malfunctions</title>