<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/crypto/src, branch OTP-19.0</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>crypto: Deprecate rand_bytes/1</title>
<updated>2016-04-25T09:25:04+00:00</updated>
<author>
<name>Ingela Anderton Andin</name>
<email>ingela@erlang.org</email>
</author>
<published>2016-04-15T08:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1ad18832cb21fac5a5b513005f1e6a5ffd7d0329'/>
<id>1ad18832cb21fac5a5b513005f1e6a5ffd7d0329</id>
<content type='text'>
OpenSSL has deprecated the function RAND_pseudo_bytes used by
crypto:rand_bytes/1, so this function is now deprecated in OTP too.

rand_bytes/3 also used this function, but was not documented
so we can remove it right away.

This commit also removes the fallback in generate_key to use
rand_bytes/1 if strong_rand_bytes/1 throws low entropy.
This is a potential incompatibility but we think it is desirable
as crypto should provide cryptographically secure functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OpenSSL has deprecated the function RAND_pseudo_bytes used by
crypto:rand_bytes/1, so this function is now deprecated in OTP too.

rand_bytes/3 also used this function, but was not documented
so we can remove it right away.

This commit also removes the fallback in generate_key to use
rand_bytes/1 if strong_rand_bytes/1 throws low entropy.
This is a potential incompatibility but we think it is desirable
as crypto should provide cryptographically secure functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'mururu/crypto/aes-gcm-tag-len.PR-998.OTP-13483'</title>
<updated>2016-04-18T13:16:04+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2016-04-18T13:16:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=77c3110b00d7f5e80ca1da77df79650e2fa66efe'/>
<id>77c3110b00d7f5e80ca1da77df79650e2fa66efe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Enable AES-GCM tag length to change</title>
<updated>2016-03-26T03:01:36+00:00</updated>
<author>
<name>Yuki Ito</name>
<email>yuki@gnnk.net</email>
</author>
<published>2016-03-25T08:55:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f4f588683dce36c4470171cb6af74763778498ff'/>
<id>f4f588683dce36c4470171cb6af74763778498ff</id>
<content type='text'>
This commit enables AES-GCM encryption/decryption to change its tag
length between 1 to 16 bytes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit enables AES-GCM encryption/decryption to change its tag
length between 1 to 16 bytes.
</pre>
</div>
</content>
</entry>
<entry>
<title>update copyright-year</title>
<updated>2016-03-15T14:19:56+00:00</updated>
<author>
<name>Henrik Nord</name>
<email>henrik@erlang.org</email>
</author>
<published>2016-03-15T14:19:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=6664eed554974336909d3ffe03f20349cc4c38fd'/>
<id>6664eed554974336909d3ffe03f20349cc4c38fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Support 192-bit keys for AES CBC</title>
<updated>2015-12-11T17:07:47+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2015-12-11T17:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=32eb9d7d9f680d320f42186de67db65688cdd53f'/>
<id>32eb9d7d9f680d320f42186de67db65688cdd53f</id>
<content type='text'>
and deprecate aes_cbc128 and aes_cbc256 in favor of aes_cbc.

This commit is pr 832 squashed, rebased and made work on master

https://github.com/erlang/otp/pull/832/commits
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and deprecate aes_cbc128 and aes_cbc256 in favor of aes_cbc.

This commit is pr 832 squashed, rebased and made work on master

https://github.com/erlang/otp/pull/832/commits
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Refactor nif code to use EVP interface</title>
<updated>2015-11-17T11:20:52+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2015-11-16T18:40:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=cfc8f82f1f39da114574a28c57f5d4a29ebbafaf'/>
<id>cfc8f82f1f39da114574a28c57f5d4a29ebbafaf</id>
<content type='text'>
Using the generic EVP_* API makes it possible to unify
algorithm-specific nif functions to a single generic
function. Effectively the same change that took place on the Erlang
API in R16B01 is now applied to the C code.

The old implementation using the low-level API is kept
for compiling against old OpenSSL,
as parts of the EVP API were introduced in OpenSSL 1.0.0.

There are various minor improvements as well:
- supported algorithms are now provided by the nif code (not a mix of
  the C and Erlang code)
- remove unnecessary variables and macro definitions

Most of the changes in this commit comes from Dániel Szoboszlay
https://github.com/dszoboszlay/otp/commit/07f7056f955b324df4ace
which is part of his 'fips' branch.

Now also rebased on master branch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using the generic EVP_* API makes it possible to unify
algorithm-specific nif functions to a single generic
function. Effectively the same change that took place on the Erlang
API in R16B01 is now applied to the C code.

The old implementation using the low-level API is kept
for compiling against old OpenSSL,
as parts of the EVP API were introduced in OpenSSL 1.0.0.

There are various minor improvements as well:
- supported algorithms are now provided by the nif code (not a mix of
  the C and Erlang code)
- remove unnecessary variables and macro definitions

Most of the changes in this commit comes from Dániel Szoboszlay
https://github.com/dszoboszlay/otp/commit/07f7056f955b324df4ace
which is part of his 'fips' branch.

Now also rebased on master branch.
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Make ec_curves/0 return empty list if not supported</title>
<updated>2015-08-19T15:36:36+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2015-08-19T15:36:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c73a53164269fd59a205696467622699dca92d83'/>
<id>c73a53164269fd59a205696467622699dca92d83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change license text to APLv2</title>
<updated>2015-06-18T09:31:02+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-18T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=738c34d4bb8f1a3811acd00af8c6c12107f8315b'/>
<id>738c34d4bb8f1a3811acd00af8c6c12107f8315b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>crypto: Fix dialyzer error for aes_ecb_crypt/3</title>
<updated>2015-02-11T15:13:17+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2015-02-11T15:13:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=7783f908905264507e5406d7e0d70ceb2f64a278'/>
<id>7783f908905264507e5406d7e0d70ceb2f64a278</id>
<content type='text'>
by removing the spec. It's an internal function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
by removing the spec. It's an internal function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'andreaTP/added-aes-ecb-to-crypto/OTP-12403'</title>
<updated>2015-01-14T13:58:31+00:00</updated>
<author>
<name>Marcus Arendt</name>
<email>marcus@erlang.org</email>
</author>
<published>2015-01-14T13:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=9c544a43348b920896ff2062db2caa128f08af83'/>
<id>9c544a43348b920896ff2062db2caa128f08af83</id>
<content type='text'>
* andreaTP/added-aes-ecb-to-crypto/OTP-12403:
  aligned implementation following last specs
  finally fixed docs
  fixed incorrect tag
  proposal of documentation
  fixes and tests
  add aes ecb to crypto library
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* andreaTP/added-aes-ecb-to-crypto/OTP-12403:
  aligned implementation following last specs
  finally fixed docs
  fixed incorrect tag
  proposal of documentation
  fixes and tests
  add aes ecb to crypto library
</pre>
</div>
</content>
</entry>
</feed>
