<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/arc4random/arc4random_win.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/arc4random/arc4random_win.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/arc4random/arc4random_win.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-06-30T12:17:29Z</updated>
<entry>
<title>Tighten behavior of _rs_allocate on Windows.</title>
<updated>2016-06-30T12:17:29Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-06-30T12:17:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=81f0184cf44aca58c623858ff45e1cd13e9b4d8e'/>
<id>urn:sha1:81f0184cf44aca58c623858ff45e1cd13e9b4d8e</id>
<content type='text'>
For Windows, we are simply using calloc, which has two annoyances:
the memory has more permissions than needed by default, and it comes
from the process heap, which looks like a memory leak since this memory
is rightfully never freed.

This switches _rs_alloc on Windows to use VirtualAlloc, which restricts the
memory to READ|WRITE and keeps the memory out of the process heap.

ok deraadt@
</content>
</entry>
<entry>
<title>back in september I did the large abstraction refactoring to allow these</title>
<updated>2015-01-15T06:57:18Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-01-15T06:57:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=08735ac4b083dc7098339320478e0474aa968b75'/>
<id>urn:sha1:08735ac4b083dc7098339320478e0474aa968b75</id>
<content type='text'>
other systems to fit into the same mold, so add copyright
</content>
</entry>
<entry>
<title>Move more OS-specific functionality to arc4random.h headers.</title>
<updated>2014-07-20T20:51:13Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-20T20:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d976644eacfa6d27cbbf4dafdfa72a873e2f234a'/>
<id>urn:sha1:d976644eacfa6d27cbbf4dafdfa72a873e2f234a</id>
<content type='text'>
Move &lt;sys/mman.h&gt; and raise(SIGKILL) calls to OS-specific headers.
On OpenBSD, move thread_private.h as well to arc4random.h.
On Windows, use TerminateProcess on getentropy failure.

ok deraadt@
</content>
</entry>
<entry>
<title>initial win32 ARC4_LOCK/UNLOCK implementation.</title>
<updated>2014-07-20T16:59:31Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-20T16:59:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=91d36ec91d3b174fd269bc1b2932b6c8ed21864e'/>
<id>urn:sha1:91d36ec91d3b174fd269bc1b2932b6c8ed21864e</id>
<content type='text'>
It may make sense to later replace this with a Critical Section later.
ok guenther@
</content>
</entry>
<entry>
<title>Change _rs_allocate so it can combine the two regions (rs and rsx)</title>
<updated>2014-07-19T00:08:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-07-19T00:08:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=40e6dbbdc23344efa760fda25be954a21633f69b'/>
<id>urn:sha1:40e6dbbdc23344efa760fda25be954a21633f69b</id>
<content type='text'>
into one if a system has an awesome getentropy().  In that case it
is valid to totally throw away the rsx state in the child.  If the
getentropy() is not very good and has a lazy reseed operation, this
combining is a bad idea, and the reseed should probably continue to
use the "something old, something new" mix.  _rs_allocate() can
accomodate either method, but not on the fly.
ok matthew
</content>
</entry>
<entry>
<title>Seperate arc4random's os-dependent parts into static inline functions,</title>
<updated>2014-07-18T02:05:55Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-07-18T02:05:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2ef411b6e1bd2b91e3dd3b5db37e17563a7081b9'/>
<id>urn:sha1:2ef411b6e1bd2b91e3dd3b5db37e17563a7081b9</id>
<content type='text'>
making it much easier for libressl -portable to fill in the gaps.
ok bcook beck
</content>
</entry>
</feed>
