<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/crypto, branch OTP_R14B03</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Prepare release</title>
<updated>2011-05-24T11:16:24+00:00</updated>
<author>
<name>Erlang/OTP</name>
<email>otp@erlang.org</email>
</author>
<published>2011-05-24T11:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4a5a75811e2cd590b5c94f71864a5245fd511ccf'/>
<id>4a5a75811e2cd590b5c94f71864a5245fd511ccf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years</title>
<updated>2011-05-20T14:11:43+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>psyeugenic@gmail.com</email>
</author>
<published>2011-05-20T14:11:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ad5a1519e74d79218c0dd2ef79a39d75bd0155bf'/>
<id>ad5a1519e74d79218c0dd2ef79a39d75bd0155bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'sverker/crypto-aes-ctr-stream/OTP-9275' into dev</title>
<updated>2011-05-19T16:51:24+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2011-05-19T16:51:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=69d71bef9ce00c0982fc2a92adcad40b3968e166'/>
<id>69d71bef9ce00c0982fc2a92adcad40b3968e166</id>
<content type='text'>
* sverker/crypto-aes-ctr-stream/OTP-9275:
  Stepping vsn for R14B03
  Add true streaming AES (CTR) encryption and streaming HMAC operations
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* sverker/crypto-aes-ctr-stream/OTP-9275:
  Stepping vsn for R14B03
  Add true streaming AES (CTR) encryption and streaming HMAC operations
</pre>
</div>
</content>
</entry>
<entry>
<title>Stepping vsn for R14B03</title>
<updated>2011-05-18T14:42:25+00:00</updated>
<author>
<name>Sverker Eriksson</name>
<email>sverker@erlang.org</email>
</author>
<published>2011-05-18T14:42:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=5815cc9355b26292ee066a01fb35668482973e06'/>
<id>5815cc9355b26292ee066a01fb35668482973e06</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add true streaming AES (CTR) encryption and streaming HMAC operations</title>
<updated>2011-05-18T13:44:47+00:00</updated>
<author>
<name>Travis Jensen</name>
<email>Travis.Jensen@gmail.com</email>
</author>
<published>2011-05-06T18:36:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b74ff4f6df28405222752fb2b1089f11e96e5406'/>
<id>b74ff4f6df28405222752fb2b1089f11e96e5406</id>
<content type='text'>
The current crypto module implementations require all of the data
being encrypted or authenticated to be in memory at one time. When
trying to encrypt or authenticate a large file (on order of GBs),
this is problematic.

The implementation of AES CTR uses the same underlying implementation
as aes_ctr_[en|de]crypt, but hands the state back to the client
after every operation.

The HMAC implementation differs from the previous implementations of
sha_mac and md5_mac. The old implementations did not utilize the
OpenSSL HMAC implementation. In order to ensure that I didn't
implement something incorrectly, I chose to use the OpenSSL HMAC
implementation directly, since it handles streaming as well. This
has the added side benefit of allowing other hash functions to be
used as desired (for instances, I added support for ripemd160
hashing).

While I haven't done this, it seems like the existing md5_mac and
sha_mac functions could either be depricated or redefined in terms
of the new hmac_ functions.

Update AES CTR and HMAC streaming with code review input

Ensure that memcpy operations in hmac operations are being size
checked properly. Rename aes_ctr_XXX_with_state to
aes_ctr_stream_XXX. Remove redundant hmac_init_[sha|md5|ripemd160]
functions. Fix documentation for hmac_final_n.

Fix possible error using negative value as a marker on an unsigned int

Now, use a separate marker and add a unit test to test specifically for
a case where HashLen is larger than the underlying resultant hash.

Revert "Fix possible error using negative value as a marker on an unsigned int"

This reverts commit 59cb177aa96444c0fd3ace6d01f7b8a70dd69cc9.

Resolve buffer overflow posibility on an unsigned int.

Change handling the marker for HashLen to use the fact that a second
parameter that has to be the the HashLen was passed. Also, ensure
that HashLen parameter is positive.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current crypto module implementations require all of the data
being encrypted or authenticated to be in memory at one time. When
trying to encrypt or authenticate a large file (on order of GBs),
this is problematic.

The implementation of AES CTR uses the same underlying implementation
as aes_ctr_[en|de]crypt, but hands the state back to the client
after every operation.

The HMAC implementation differs from the previous implementations of
sha_mac and md5_mac. The old implementations did not utilize the
OpenSSL HMAC implementation. In order to ensure that I didn't
implement something incorrectly, I chose to use the OpenSSL HMAC
implementation directly, since it handles streaming as well. This
has the added side benefit of allowing other hash functions to be
used as desired (for instances, I added support for ripemd160
hashing).

While I haven't done this, it seems like the existing md5_mac and
sha_mac functions could either be depricated or redefined in terms
of the new hmac_ functions.

Update AES CTR and HMAC streaming with code review input

Ensure that memcpy operations in hmac operations are being size
checked properly. Rename aes_ctr_XXX_with_state to
aes_ctr_stream_XXX. Remove redundant hmac_init_[sha|md5|ripemd160]
functions. Fix documentation for hmac_final_n.

Fix possible error using negative value as a marker on an unsigned int

Now, use a separate marker and add a unit test to test specifically for
a case where HashLen is larger than the underlying resultant hash.

Revert "Fix possible error using negative value as a marker on an unsigned int"

This reverts commit 59cb177aa96444c0fd3ace6d01f7b8a70dd69cc9.

Resolve buffer overflow posibility on an unsigned int.

Change handling the marker for HashLen to use the fact that a second
parameter that has to be the the HashLen was passed. Also, ensure
that HashLen parameter is positive.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update OpenSSL license text in crypto</title>
<updated>2011-05-10T12:52:34+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2011-05-10T10:31:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=168535441f6be241adaba34b4971e7a580ad17d8'/>
<id>168535441f6be241adaba34b4971e7a580ad17d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Link OpenSSL libraries static on Windows</title>
<updated>2011-05-10T12:52:20+00:00</updated>
<author>
<name>Patrik Nyblom</name>
<email>pan@erlang.org</email>
</author>
<published>2011-05-10T10:30:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=20c9d6e23f3572873c32daf7053819a844427a4b'/>
<id>20c9d6e23f3572873c32daf7053819a844427a4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'maint-r14' into dev</title>
<updated>2011-04-20T16:19:31+00:00</updated>
<author>
<name>Niclas Eklund</name>
<email>nick@erlang.org</email>
</author>
<published>2011-04-20T16:19:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f228601de45c5b53241b103af6616453c50885a5'/>
<id>f228601de45c5b53241b103af6616453c50885a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Renamed the function strong_rand_uniform to strong_rand_mpint.</title>
<updated>2011-04-19T11:35:29+00:00</updated>
<author>
<name>Niclas Eklund</name>
<email>nick@erlang.org</email>
</author>
<published>2011-04-19T11:35:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=afe36b58bb77012f94b19213ed9602c2eb9fd420'/>
<id>afe36b58bb77012f94b19213ed9602c2eb9fd420</id>
<content type='text'>
Added some checks in crypto.erl and crypto.c.
Changed ssh_bits to use strong_rand_mpint.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added some checks in crypto.erl and crypto.c.
Changed ssh_bits to use strong_rand_mpint.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed SSH appup, copyright headers SSH vsn and SSH release note.</title>
<updated>2011-04-18T12:58:18+00:00</updated>
<author>
<name>Niclas Eklund</name>
<email>nick@erlang.org</email>
</author>
<published>2011-04-18T12:58:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=c31065c750e37d5368398e9e2a741a1d4ec0588c'/>
<id>c31065c750e37d5368398e9e2a741a1d4ec0588c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
