<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libssl/tls13_buffer.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libssl/tls13_buffer.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libssl/tls13_buffer.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-03-10T17:11:25Z</updated>
<entry>
<title>Add a return value check to tls13_buffer_extend().</title>
<updated>2020-03-10T17:11:25Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2020-03-10T17:11:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=96130b2dad110fb33dd5f655fc9fd1005d350d6f'/>
<id>urn:sha1:96130b2dad110fb33dd5f655fc9fd1005d350d6f</id>
<content type='text'>
In the unlikely event that the return value from the read callback is
larger than the number of bytes we asked for, we can end up incrementing
buf-&gt;len beyond capacity. Check the return value from the read callback to
prevent this.

ok inoguchi@ tb@
</content>
</entry>
<entry>
<title>Add accessors to change the buffer in a handshake message.</title>
<updated>2019-11-20T16:21:20Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2019-11-20T16:21:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7d42f7619b7ab62ae6563e52a49087db702d641f'/>
<id>urn:sha1:7d42f7619b7ab62ae6563e52a49087db702d641f</id>
<content type='text'>
Needed for doing TLS 1.3 Post Handshake Handshake messages.

ok jsing@
</content>
</entry>
<entry>
<title>Provide an extensible buffer implementation that uses a read callback.</title>
<updated>2019-01-17T06:32:12Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2019-01-17T06:32:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a80e02e19ec4481da9c394e20c725672e6a41eba'/>
<id>urn:sha1:a80e02e19ec4481da9c394e20c725672e6a41eba</id>
<content type='text'>
The read callback returns a TLS13_IO_* value on EOF, failure, want pollin
or want pollout, or a positive value indicating the number of bytes read.

This will be used by upcoming TLSv1.3 handshake message and record
processing code, both of which need the ability to read a fixed size
header, before extending the buffer to the number of bytes specified in the
header.

ok beck@ tb@
</content>
</entry>
</feed>
