<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/crypt, branch v1.0.2</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>add legacy functions setkey() and encrypt()</title>
<updated>2014-02-05T16:09:53+00:00</updated>
<author>
<name>Timo Teräs</name>
<email>timo.teras@iki.fi</email>
</author>
<published>2014-01-13T11:05:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=16a3580ef3a27d7f1fb0f76441a973b71a35b527'/>
<id>16a3580ef3a27d7f1fb0f76441a973b71a35b527</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>comment potentially-confusing use of struct crypt_data type</title>
<updated>2013-04-20T18:07:01+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-04-20T18:07:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=71ae0c724dd49d493621b367d17079f8cc70443c'/>
<id>71ae0c724dd49d493621b367d17079f8cc70443c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make some arrays const</title>
<updated>2013-02-02T02:19:25+00:00</updated>
<author>
<name>rofl0r</name>
<email>retnyg@gmx.net</email>
</author>
<published>2013-02-02T02:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c50925071cce9c6342597f5671e30d2970c6ff4a'/>
<id>c50925071cce9c6342597f5671e30d2970c6ff4a</id>
<content type='text'>
this way they'll go into .rodata, decreasing memory pressure.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this way they'll go into .rodata, decreasing memory pressure.
</pre>
</div>
</content>
</entry>
<entry>
<title>in crypt_des change unnecessary union keybuf into unsigned char[]</title>
<updated>2013-01-13T22:54:48+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-01-13T22:54:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=9724defdb72fdb2ae4e8a60e928d40d84fe04800'/>
<id>9724defdb72fdb2ae4e8a60e928d40d84fe04800</id>
<content type='text'>
original FreeSec code accessed keybuf as uint32* and uint8* as well
(incorrectly), this got fixed with an union, but then it seems the
uint32* access is no longer needed so the code can be simplified
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
original FreeSec code accessed keybuf as uint32* and uint8* as well
(incorrectly), this got fixed with an union, but then it seems the
uint32* access is no longer needed so the code can be simplified
</pre>
</div>
</content>
</entry>
<entry>
<title>crypt: fix the prototype of md5_sum, sha256_sum and sha512_sum</title>
<updated>2013-01-13T22:18:32+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-01-13T22:18:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=30779ee1aa7601eb4bd7409809a8a4f06d2a4360'/>
<id>30779ee1aa7601eb4bd7409809a8a4f06d2a4360</id>
<content type='text'>
the internal sha2 hash sum functions had incorrect array size
in the prototype for the message digest argument, fixed by
using pointer so it is not misleading
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the internal sha2 hash sum functions had incorrect array size
in the prototype for the message digest argument, fixed by
using pointer so it is not misleading
</pre>
</div>
</content>
</entry>
<entry>
<title>add crypt_md5 password hash</title>
<updated>2012-09-16T03:41:07+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-09-16T03:41:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6'/>
<id>93ea998c9c5a29cb34f3171f24f96d3cfe4f9cb6</id>
<content type='text'>
contributed by nsz
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
contributed by nsz
</pre>
</div>
</content>
</entry>
<entry>
<title>revert low rounds-count limits in crypt hashes</title>
<updated>2012-09-15T07:03:21+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-09-15T07:03:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=aeaceb1fa89b865eb0bca739da9c450b5a054866'/>
<id>aeaceb1fa89b865eb0bca739da9c450b5a054866</id>
<content type='text'>
it was determined in discussion that these kind of limits are not
sufficient to protect single-threaded servers against denial of
service attacks from maliciously large round counts. the time scales
simply vary too much; many users will want login passwords with rounds
counts on a scale that gives decisecond latency, while highly loaded
webservers will need millisecond latency or shorter.

still some limit is left in place; the idea is not to protect against
attacks, but to avoid the runtime of a single call to crypt being, for
all practical purposes, infinite, so that configuration errors can be
caught and fixed without bringing down whole systems. these limits are
very high, on the order of minute-long runtimes for modest systems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
it was determined in discussion that these kind of limits are not
sufficient to protect single-threaded servers against denial of
service attacks from maliciously large round counts. the time scales
simply vary too much; many users will want login passwords with rounds
counts on a scale that gives decisecond latency, while highly loaded
webservers will need millisecond latency or shorter.

still some limit is left in place; the idea is not to protect against
attacks, but to avoid the runtime of a single call to crypt being, for
all practical purposes, infinite, so that configuration errors can be
caught and fixed without bringing down whole systems. these limits are
very high, on the order of minute-long runtimes for modest systems.
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup src/linux and src/misc trees, etc.</title>
<updated>2012-09-07T04:48:25+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2012-09-07T04:48:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=b9bb8f67bbac9bab5314fb00974ad469476e936e'/>
<id>b9bb8f67bbac9bab5314fb00974ad469476e936e</id>
<content type='text'>
previously, it was pretty much random which one of these trees a given
function appeared in. they have now been organized into:

src/linux: non-POSIX linux syscalls (possibly shard with other nixen)
src/legacy: various obsolete/legacy functions, mostly wrappers
src/misc: still mostly uncategorized; some misc POSIX, some nonstd
src/crypt: crypt hash functions

further cleanup will be done later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previously, it was pretty much random which one of these trees a given
function appeared in. they have now been organized into:

src/linux: non-POSIX linux syscalls (possibly shard with other nixen)
src/legacy: various obsolete/legacy functions, mostly wrappers
src/misc: still mostly uncategorized; some misc POSIX, some nonstd
src/crypt: crypt hash functions

further cleanup will be done later.
</pre>
</div>
</content>
</entry>
</feed>
