<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libc/crypt, branch OPENBSD_4_6_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_4_6_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_4_6_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2008-12-23T18:31:02+00:00</updated>
<entry>
<title>repair the ARC4 story; ok jmc djm millert</title>
<updated>2008-12-23T18:31:02+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2008-12-23T18:31:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=79eae3468ef3216f558705406485fa84c61ff505'/>
<id>urn:sha1:79eae3468ef3216f558705406485fa84c61ff505</id>
<content type='text'>
</content>
</entry>
<entry>
<title>zap __arc4_getbyte(), it was only used by the old malloc; ok millert@</title>
<updated>2008-10-03T18:46:04+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2008-10-03T18:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d26107bdc7f7e4975b08b9a7ab12e941e4cb9308'/>
<id>urn:sha1:d26107bdc7f7e4975b08b9a7ab12e941e4cb9308</id>
<content type='text'>
kurt@
</content>
</entry>
<entry>
<title>fix an Xr, and use a more appropriate macro;</title>
<updated>2008-06-09T06:04:02+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2008-06-09T06:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f'/>
<id>urn:sha1:f8a6cc0c54595fc7b66a29e5c4423c6d2b6e9a3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>arc4random_stir() does not use /dev/arandom anymore, but sysctl kern.arandom</title>
<updated>2008-06-08T18:37:09+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2008-06-08T18:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=05a412742403894d384795fc7b3358c5278d7f31'/>
<id>urn:sha1:05a412742403894d384795fc7b3358c5278d7f31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix math screwup that reintroduced a bias for upper_bounds in range</title>
<updated>2008-06-04T00:50:23+00:00</updated>
<author>
<name>djm</name>
<email></email>
</author>
<published>2008-06-04T00:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9cb2819066edcb7bd907e9809cc6a87dbf7b3a71'/>
<id>urn:sha1:9cb2819066edcb7bd907e9809cc6a87dbf7b3a71</id>
<content type='text'>
(2^30,2^31). Nothing in the tree yet requests random numbers bounded
by this range.

report jakob!deraadt; ok deraadt@
</content>
</entry>
<entry>
<title>Zero state buffers on return.  OK deraadt@</title>
<updated>2008-04-02T19:54:05+00:00</updated>
<author>
<name>millert</name>
<email></email>
</author>
<published>2008-04-02T19:54:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe435898d593343d7d9fdc31aa597c1c40026222'/>
<id>urn:sha1:fe435898d593343d7d9fdc31aa597c1c40026222</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- add NAME entries for arc4random_buf and arc4random_uniform</title>
<updated>2008-03-16T22:18:24+00:00</updated>
<author>
<name>jmc</name>
<email></email>
</author>
<published>2008-03-16T22:18:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=52d13c97d509b4115ee09ed44a8768febdca78ec'/>
<id>urn:sha1:52d13c97d509b4115ee09ed44a8768febdca78ec</id>
<content type='text'>
- simplify a macro call (Do/Dc -&gt; Dq)
</content>
</entry>
<entry>
<title>Add missing MLINKS</title>
<updated>2008-03-16T22:08:12+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2008-03-16T22:08:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cc2989c6f0e0f7187e56a15e8c1d81f679b4a6a6'/>
<id>urn:sha1:cc2989c6f0e0f7187e56a15e8c1d81f679b4a6a6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>diff from djm@ committed at his request:</title>
<updated>2008-03-16T19:47:43+00:00</updated>
<author>
<name>otto</name>
<email></email>
</author>
<published>2008-03-16T19:47:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e045e819cf6c3f1795515c3f3f6d661b69e1f66b'/>
<id>urn:sha1:e045e819cf6c3f1795515c3f3f6d661b69e1f66b</id>
<content type='text'>
introduce two new APIs for requesting strong random numbers:

arc4random_buf() - fill an arbitrary memory range with random numbers

arc4random_uniform() - return a uniformly distributed random number
below
a specified upper bound, avoiding the bias that comes from a naive
"arc4random() % upper_bound" construction.

these mirror similarly-named functions in the kernel;
lots of discussion deraadt@ mcbride@
</content>
</entry>
<entry>
<title>- make arc4random*() functions thread safe. Use a custom spinlock function</title>
<updated>2008-01-01T00:43:39+00:00</updated>
<author>
<name>kurt</name>
<email></email>
</author>
<published>2008-01-01T00:43:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d08c4e4910d78ef0ddd9e7917c1f2d61b0021d4a'/>
<id>urn:sha1:d08c4e4910d78ef0ddd9e7917c1f2d61b0021d4a</id>
<content type='text'>
instead of the generic pthread macros since free(3) uses __arc4_getbyte()
when freeing small sized allocations and the generic pthread macros call
malloc(3).
- eliminate passing pointers to a static variable with global scope (rs)
for additional code clarity and reduction.
- shlib minor bumps for libc and libpthread due to new functions.
From andreas@ with some bits from me. okay tedu@ marc@ w/some spot
checking from millert@
</content>
</entry>
</feed>
