<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/crypto/arc4.c, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/crypto/arc4.c?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/crypto/arc4.c?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2007-09-11T12:07:05Z</updated>
<entry>
<title>Add __bounded__ attributes to prototypes.</title>
<updated>2007-09-11T12:07:05Z</updated>
<author>
<name>djm</name>
<email>djm@openbsd.org</email>
</author>
<published>2007-09-11T12:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=753dd0db73c7ec9c639cb6ccdbeb9ecb87962a71'/>
<id>urn:sha1:753dd0db73c7ec9c639cb6ccdbeb9ecb87962a71</id>
<content type='text'>
Use (x &amp; 0xff) rather than (x % 256) - compilers generate faster code.
Add arc4_getbytes function to extract raw keystream
ok markus@ tom@
</content>
</entry>
<entry>
<title>add rc4_skip() function that can be used to discard bytes from</title>
<updated>2007-07-24T19:35:20Z</updated>
<author>
<name>damien</name>
<email>damien@openbsd.org</email>
</author>
<published>2007-07-24T19:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c5823ff2899dc23bf01c945069e4bb125c7ccd19'/>
<id>urn:sha1:c5823ff2899dc23bf01c945069e4bb125c7ccd19</id>
<content type='text'>
the arc4 key stream.

rc4_skip(ctx, len);
is equivalent to:
u_int8_t dummy[len];
rc4_crypt(ctx, dummy, dummy, len);

except that is does not require storage space and that it saves
some cpu cycles.

ok deraadt@
</content>
</entry>
<entry>
<title>arc4 support; ok millert@, fgsch@</title>
<updated>2003-10-07T07:07:14Z</updated>
<author>
<name>markus</name>
<email>markus@openbsd.org</email>
</author>
<published>2003-10-07T07:07:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=38553144ce29f8febdfe3705a0d62a0e3cbba3c1'/>
<id>urn:sha1:38553144ce29f8febdfe3705a0d62a0e3cbba3c1</id>
<content type='text'>
</content>
</entry>
</feed>
