<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/crypto/sha2.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/crypto/sha2.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/crypto/sha2.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-03-14T03:38:46Z</updated>
<entry>
<title>Remove some includes include-what-you-use claims don't</title>
<updated>2015-03-14T03:38:46Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2015-03-14T03:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=21dab745d772244ad59a415114e48be2888cfbc8'/>
<id>urn:sha1:21dab745d772244ad59a415114e48be2888cfbc8</id>
<content type='text'>
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@
</content>
</entry>
<entry>
<title>recent changes broke alignment requirements on arm.</title>
<updated>2014-12-31T16:56:55Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-31T16:56:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df0156b579dd57f5a1cdcd086473e1ae821f07e2'/>
<id>urn:sha1:df0156b579dd57f5a1cdcd086473e1ae821f07e2</id>
<content type='text'>
simplify a bit more, swapping only aligned values and then using memcpy
to fill the digest. fix confirmed by jsg.
ok jsg kettenis millert
</content>
</entry>
<entry>
<title>as in libc, always assume digest is passed to Final. no null allowed.</title>
<updated>2014-12-23T20:40:06Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-23T20:40:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=19ec9138c0990e082494b8792d458a1e35a31b22'/>
<id>urn:sha1:19ec9138c0990e082494b8792d458a1e35a31b22</id>
<content type='text'>
</content>
</entry>
<entry>
<title>as in libc, there's no need to check for calling Init on null context</title>
<updated>2014-12-23T20:34:41Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-23T20:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=df3c826f71b4e5a1d03551814d9a1c044c2cf109'/>
<id>urn:sha1:df3c826f71b4e5a1d03551814d9a1c044c2cf109</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use endian.h swap macros instead of home grown versions</title>
<updated>2014-12-23T19:21:58Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-23T19:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=79d4ada2319af7f4e355bf399d12e82227920045'/>
<id>urn:sha1:79d4ada2319af7f4e355bf399d12e82227920045</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make the code look more like libc by changing Transform to take the state</title>
<updated>2014-12-19T17:16:57Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-19T17:16:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ba35811e26e5862ff7e69562727bed4cde23ec54'/>
<id>urn:sha1:ba35811e26e5862ff7e69562727bed4cde23ec54</id>
<content type='text'>
ok millert
</content>
</entry>
<entry>
<title>convert bcopy/zero to memcpy. ok deraadt djm</title>
<updated>2014-12-19T02:50:27Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-19T02:50:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=832968b283f1f8c70216a794b8069bef7c1b3ab3'/>
<id>urn:sha1:832968b283f1f8c70216a794b8069bef7c1b3ab3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>only unroll on i386 and amd64 (where confirmed to be much faster).</title>
<updated>2014-12-18T20:29:08Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-18T20:29:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=44e3b1d3edb9001661f0ec29c69eddc872c874e3'/>
<id>urn:sha1:44e3b1d3edb9001661f0ec29c69eddc872c874e3</id>
<content type='text'>
naddy found sparc64 gets a little slower when unrolled.
ok deraadt
</content>
</entry>
<entry>
<title>unroll loops for sha2. quite a bit faster for amd64.</title>
<updated>2014-12-17T19:40:24Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-17T19:40:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cde69af7f30f1538102655eab223389f9a876364'/>
<id>urn:sha1:cde69af7f30f1538102655eab223389f9a876364</id>
<content type='text'>
ok deraadt millert
</content>
</entry>
<entry>
<title>Defining the interface in terms of char * means most callers are</title>
<updated>2014-11-16T17:39:09Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-11-16T17:39:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=de2d0d0b4cbe6369522bc554bb84ec764c7eb996'/>
<id>urn:sha1:de2d0d0b4cbe6369522bc554bb84ec764c7eb996</id>
<content type='text'>
required to cast their pointers, which is ugly and possibly error
prone. accidentally casting an int to a pointer, for example, instead
of the address of the int. implicit void * casting is safer.

This updates the kernel hash interfaces to use void *. Similar changes
are possible for userland. I think it's safe, but there may be some
peculiar source compatbility issues there, so let's just do the kernel
first.
ok dlg millert
</content>
</entry>
</feed>
