<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/crypto/sha1.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/crypto/sha1.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/crypto/sha1.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2014-12-28T10:04:35Z</updated>
<entry>
<title>convert bcopy to memcpy in md5 and sha1. also be consistent about clearing</title>
<updated>2014-12-28T10:04:35Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-28T10:04:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2f7c17dc487c24a3b8b19d81470c8a5cbc302ce6'/>
<id>urn:sha1:2f7c17dc487c24a3b8b19d81470c8a5cbc302ce6</id>
<content type='text'>
context and making digest required to Final.
</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>
<entry>
<title>in SHA1Final(), explicitly clear the local buffer</title>
<updated>2011-01-11T15:50:40Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2011-01-11T15:50:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=40af59a9654e8267f15319430f73eb14e979e276'/>
<id>urn:sha1:40af59a9654e8267f15319430f73eb14e979e276</id>
<content type='text'>
ok mikeb
</content>
</entry>
<entry>
<title>Make the hmac ipad/opad globals "const" and fixup the crypto functions</title>
<updated>2007-09-10T22:19:42Z</updated>
<author>
<name>henric</name>
<email>henric@openbsd.org</email>
</author>
<published>2007-09-10T22:19:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3fccb9893ef1d6ab37a93fdb0c895bba0b0c7981'/>
<id>urn:sha1:3fccb9893ef1d6ab37a93fdb0c895bba0b0c7981</id>
<content type='text'>
to match.

ok deraadt@
</content>
</entry>
<entry>
<title>unbreak landisk kernel sha1 by working around a compiler bug;</title>
<updated>2007-07-20T19:54:01Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2007-07-20T19:54:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4210aaae0409711d5ef630b15536d4dc205a5229'/>
<id>urn:sha1:4210aaae0409711d5ef630b15536d4dc205a5229</id>
<content type='text'>
also brings kernel sha1 more in line with userland;
discussed with miod@ and millert@;
</content>
</entry>
<entry>
<title>``it's'' -&gt; ``its'' when the grammar gods require this change.</title>
<updated>2007-04-10T17:47:52Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2007-04-10T17:47:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0f1683a6cf238b3bcb0751de160eac08216b3072'/>
<id>urn:sha1:0f1683a6cf238b3bcb0751de160eac08216b3072</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some KNF, made bit count u_int64_t instead of u_int32_t (similar to libc).</title>
<updated>2004-04-28T20:39:35Z</updated>
<author>
<name>hshoexer</name>
<email>hshoexer@openbsd.org</email>
</author>
<published>2004-04-28T20:39:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=159e62b68d579d3ff92edc289e17f8959c82c10e'/>
<id>urn:sha1:159e62b68d579d3ff92edc289e17f8959c82c10e</id>
<content type='text'>
Added constants for buffer lengths.

ok millert@
</content>
</entry>
<entry>
<title>remove sparc64/gcc2 workaround.</title>
<updated>2004-03-31T23:41:53Z</updated>
<author>
<name>brad</name>
<email>brad@openbsd.org</email>
</author>
<published>2004-03-31T23:41:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4a638cc7a5946bf286ddfb5e988882cf26f5f2e0'/>
<id>urn:sha1:4a638cc7a5946bf286ddfb5e988882cf26f5f2e0</id>
<content type='text'>
ok millert@ deraadt@ jason@
</content>
</entry>
<entry>
<title>Move the rounds into separate functions on sparc64 so gcc's optimizer</title>
<updated>2003-01-08T19:53:59Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2003-01-08T19:53:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f2bd9ca899406c62bcec1803f648406fe9da7e7f'/>
<id>urn:sha1:f2bd9ca899406c62bcec1803f648406fe9da7e7f</id>
<content type='text'>
doesn't blow up.  This is a hack but is better than compiling sha1.c
with -O0 on sparc64.  From NetBSD (mrg).
deraadt@ OK
</content>
</entry>
<entry>
<title>better indent for easier searching</title>
<updated>2000-06-04T16:37:02Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2000-06-04T16:37:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=afb14b73a45ff986cad21bb671e637ff14aecbe2'/>
<id>urn:sha1:afb14b73a45ff986cad21bb671e637ff14aecbe2</id>
<content type='text'>
</content>
</entry>
</feed>
