<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/amd64/stand/libsa/biosdev.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64/stand/libsa/biosdev.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64/stand/libsa/biosdev.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-12-16T08:33:16Z</updated>
<entry>
<title>Avoid using a too big bounce buffer by splitting up large reads. Allows</title>
<updated>2018-12-16T08:33:16Z</updated>
<author>
<name>otto</name>
<email>otto@openbsd.org</email>
</author>
<published>2018-12-16T08:33:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6ab058fbe2fceafdb56e1cea089b1952bf618936'/>
<id>urn:sha1:6ab058fbe2fceafdb56e1cea089b1952bf618936</id>
<content type='text'>
for booting using large (64k) blocksize filesystems. ok tedu@
</content>
</entry>
<entry>
<title>Retry on incorrect passphrase for softraid crypto boot.</title>
<updated>2018-08-10T16:41:35Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2018-08-10T16:41:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=27bea9a3c7fdba43cfa7c5fb6f268efe98f7720b'/>
<id>urn:sha1:27bea9a3c7fdba43cfa7c5fb6f268efe98f7720b</id>
<content type='text'>
Historically, the softraid crypto support in the boot loaders has only
given one attempt to provide the correct passphrase. There were a
few reasons for this, including the fact that pkcs5_pbkdf2() allows an
empty passphrase and that returning EPERM allowed for another attempt.

With the event of KARL and the need for bsd.booted with hibernate resumption,
this becomes much more of an issue - if you get the passphrase wrong you
fail to resume. There are also other situations like using /etc/boot.conf
to switch serial console, but an incorrect passphrase results in the config
not being read. Also, bcrypt_pbkdf() does not permit empty passphrases.

This reworks the softraid crypto support in the boot loaders so that it
loops requesting a valid passphrase until one is provided, or an empty
passphrase is entered (at which point it will abort).

ok mortimer@ tb@
</content>
</entry>
<entry>
<title>Check the hibernation signature for softraid disks and select valid bsd</title>
<updated>2017-07-21T01:21:42Z</updated>
<author>
<name>yasuoka</name>
<email>yasuoka@openbsd.org</email>
</author>
<published>2017-07-21T01:21:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6ce082ffda5e581dc8fc2743e66be9547215be6f'/>
<id>urn:sha1:6ce082ffda5e581dc8fc2743e66be9547215be6f</id>
<content type='text'>
for unhibernation.  reported by Natasha Kerensikova.  tested by Theo Buehler.

ok deraadt
</content>
</entry>
<entry>
<title>Fix a bug in the bounce buffer handling of BIOS disk I/O.</title>
<updated>2016-09-18T15:13:10Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2016-09-18T15:13:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=be4b99ebbc6baf245618779f9ab265795347c75e'/>
<id>urn:sha1:be4b99ebbc6baf245618779f9ab265795347c75e</id>
<content type='text'>
Currently, if a buffer crosses a 64KB boundary, a bounce buffer is
allocated, however it is assumed that this new buffer does not cross the
64KB boundary. In the case of i386 fdboot, it just so happens that (due to
the size of fdboot and heap allocations) UFS gets allocated a 4KB buffer
that crosses a 64KB boundary, then biosd_io() allocates a bounce buffer,
which also crosses a 64KB boundary. At this point the BIOS gets grumpy and
refuses to read from the disk.

Further clean up to come from tom@.
</content>
</entry>
<entry>
<title>Switch amd64 to libsa MI softraid.</title>
<updated>2016-09-11T17:51:21Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2016-09-11T17:51:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e876def93a7396ebf9f0ccc15a64f5183a0895f4'/>
<id>urn:sha1:e876def93a7396ebf9f0ccc15a64f5183a0895f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename softraid boot files, which are currently in an MD location. This</title>
<updated>2016-09-11T15:54:11Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2016-09-11T15:54:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=65f4a3c79f6fe3d16cdebd7c796a7c9cc671dfe6'/>
<id>urn:sha1:65f4a3c79f6fe3d16cdebd7c796a7c9cc671dfe6</id>
<content type='text'>
will allow us to bring in a MI softraid.{c,h} in lib/libsa.
</content>
</entry>
<entry>
<title>Use DOS_LABELSECTOR rather than LABELSECTOR to indicate offset into an</title>
<updated>2015-10-01T20:28:12Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-10-01T20:28:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e746c3946514232fd2b3fd0e4561d1a6713cd00'/>
<id>urn:sha1:9e746c3946514232fd2b3fd0e4561d1a6713cd00</id>
<content type='text'>
OpenBSD partition when accessing the disklabel. For these files both
are '1', but this makes the usage consistent across all archs.

ok guenther@ miod@
</content>
</entry>
<entry>
<title>Remove yet more blinding whitespace.</title>
<updated>2015-10-01T16:16:23Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-10-01T16:16:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=70aaba56851fe4bb1eedda4398d4c773ced754b7'/>
<id>urn:sha1:70aaba56851fe4bb1eedda4398d4c773ced754b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove more blinding trailing whitespace.</title>
<updated>2015-10-01T16:08:19Z</updated>
<author>
<name>krw</name>
<email>krw@openbsd.org</email>
</author>
<published>2015-10-01T16:08:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=da1a53a868a44e8251cd0d6187d38bc5a5db1570'/>
<id>urn:sha1:da1a53a868a44e8251cd0d6187d38bc5a5db1570</id>
<content type='text'>
</content>
</entry>
<entry>
<title>trivial "if(x) free(x)" replacement by "free(x)"</title>
<updated>2015-09-19T21:07:04Z</updated>
<author>
<name>semarie</name>
<email>semarie@openbsd.org</email>
</author>
<published>2015-09-19T21:07:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=11db8caaadb72556a4c48c0d3927c4fa7c9ff197'/>
<id>urn:sha1:11db8caaadb72556a4c48c0d3927c4fa7c9ff197</id>
<content type='text'>
ok miod@
</content>
</entry>
</feed>
