<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/chacha, branch jd/simplify-queueing</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/chacha?h=jd%2Fsimplify-queueing</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/chacha?h=jd%2Fsimplify-queueing'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-01-22T00:59:21Z</updated>
<entry>
<title>add support for xchacha20 and xchacha20-poly1305</title>
<updated>2019-01-22T00:59:21Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2019-01-22T00:59:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=64bf23976d44f1dec50f86a3ac43a0945d6605be'/>
<id>urn:sha1:64bf23976d44f1dec50f86a3ac43a0945d6605be</id>
<content type='text'>
xchacha is a chacha stream that allows for an extended nonce, which
in turn makes it feasible to use random nonces.

ok tb@
</content>
</entry>
<entry>
<title>Convert the sigma and tau initialisers to byte arrays, rather than using</title>
<updated>2017-08-13T16:55:31Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2017-08-13T16:55:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2890ee3ddf02abfb7bb52c9cb911ca24a73a6547'/>
<id>urn:sha1:2890ee3ddf02abfb7bb52c9cb911ca24a73a6547</id>
<content type='text'>
strings. The original code is perfectly valid C, however it causes some
compilers to complain since it lacks room for a string NUL terminator and
the compiler is not smart enough to realise that these are only used as
byte arrays and never treated as strings.

ok bcook@ beck@ inoguchi@
</content>
</entry>
<entry>
<title>Change the counter argument for CRYPTO_chacha_20 to be 64-bits on all platforms.</title>
<updated>2015-12-09T14:07:55Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2015-12-09T14:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fac5bb4f638242227893433c019a8841edcb8207'/>
<id>urn:sha1:fac5bb4f638242227893433c019a8841edcb8207</id>
<content type='text'>
The recently-added EVP_aead_chacha20_poly1305_ietf() function, which implements
informational RFC 7539, "ChaCha20 and Poly1305 for IETF Protocols", needs a
64-bit counter to avoid truncation on 32-bit platforms.

The existing TLS ChaCha20-Poly1305 ciphersuite is not impacted by this, but
making this change requires an ABI bump.

ok jsing@, "Looks sane" beck@
</content>
</entry>
<entry>
<title>Add missing year to copyright.</title>
<updated>2014-07-25T14:04:51Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2014-07-25T14:04:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7a13518141d2d9e57ae189ed5bb7485eb7513bbd'/>
<id>urn:sha1:7a13518141d2d9e57ae189ed5bb7485eb7513bbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace u_int8_t with uint8_t</title>
<updated>2014-07-11T08:47:47Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-11T08:47:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bef316a166d8a261bfd3a32e3682b5a4719adac7'/>
<id>urn:sha1:bef316a166d8a261bfd3a32e3682b5a4719adac7</id>
<content type='text'>
ok beck@
</content>
</entry>
<entry>
<title>add missing stdint. include for uint32_t, etc.</title>
<updated>2014-07-08T14:30:23Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2014-07-08T14:30:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e693045f0effea3e02a4d042a5c4e91562cedb53'/>
<id>urn:sha1:e693045f0effea3e02a4d042a5c4e91562cedb53</id>
<content type='text'>
ok beck@ jsing@
</content>
</entry>
<entry>
<title>If a chacha operation does not consume all of the generated key stream,</title>
<updated>2014-06-24T18:12:09Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2014-06-24T18:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=61bfdc17bc6088c6118a56366ced983452cbf3d1'/>
<id>urn:sha1:61bfdc17bc6088c6118a56366ced983452cbf3d1</id>
<content type='text'>
ensure that we save it and consume it on subsequent writes. Otherwise we
end up discarding part of the key stream and instead generate a new block
at the start of the next write.

This was only an issue for callers that did multiple writes that are not
multiples of 64 bytes - in particular, the ChaCha20Poly1305 usage does not
hit this problem since it performs encryption in a single-shot. For the
same reason, this is also a non-issue when openssl(1) is used to encrypt
with ChaCha.

Issue identified by insane coder; reported to bugs@ by Joseph M. Schwartz.

ok beck@
</content>
</entry>
<entry>
<title>Some KNF.</title>
<updated>2014-06-24T17:48:30Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2014-06-24T17:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=21f5cfdbca663587bbc30d7596ffc2f8e8731f44'/>
<id>urn:sha1:21f5cfdbca663587bbc30d7596ffc2f8e8731f44</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tags as requested by miod and tedu</title>
<updated>2014-06-12T15:49:27Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-06-12T15:49:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c3d6a26af7455bccce87985ff78ef0efc39b65e1'/>
<id>urn:sha1:c3d6a26af7455bccce87985ff78ef0efc39b65e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get the public headers from the official place with &lt;openssl/ &gt;</title>
<updated>2014-05-31T23:33:32Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-05-31T23:33:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6d6bb18994334260a699979d2d2e50b33951a156'/>
<id>urn:sha1:6d6bb18994334260a699979d2d2e50b33951a156</id>
<content type='text'>
from Brent Cook
</content>
</entry>
</feed>
