<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/alpha, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-05T14:25:05Z</updated>
<entry>
<title>Implement cpu_rnd_messybits() as a read of the cycle counter register.</title>
<updated>2020-06-05T14:25:05Z</updated>
<author>
<name>naddy</name>
<email>naddy@openbsd.org</email>
</author>
<published>2020-06-05T14:25:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4f1155a8e1b8d56b62802304c62b79d4e918eb9a'/>
<id>urn:sha1:4f1155a8e1b8d56b62802304c62b79d4e918eb9a</id>
<content type='text'>
ok dlg@, powerpc/sparc64 ok kettenis@, sparc64/alpha tested by deraadt@
</content>
</entry>
<entry>
<title>introduce "cpu_rnd_messybits" for use instead of nanotime in dev/rnd.c.</title>
<updated>2020-05-31T06:23:56Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-05-31T06:23:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=01802d2cc63d886227ab3b39e923ff13cf516166'/>
<id>urn:sha1:01802d2cc63d886227ab3b39e923ff13cf516166</id>
<content type='text'>
rnd.c uses nanotime to get access to some bits that change quickly
between events that it can mix into the entropy pool. it doesn't
use nanotime to get a monotonically increasing set or ordered and
accurate timestamps, it just wants something with bits that change.

there's been discussions for years about letting rnd use a clock
that's super fast to read, but not necessarily accurate, but it
wasn't until recently that i figured out it wasn't interested in
time at all, so things like keeping a fast clock coherent between
cpu cores or correct according to ntp is unecessary. this means we
can just let rnd read the cycle counters on cpus and things will
be fine.  cpus with cycle counters that vary in their speed and
arent kept consistent between cores may even be desirable in this
context.

so this is the first step in converting rnd.c to reading cycle
counter. it copies the nanotime backend to each arch, and they can
replace it with something MD as a second step later on.

djm@ suggested rnd_messybytes, but we landed on cpu_rnd_messybits.
thanks to visa for his eyes.
ok deraadt@ visa@
deraadt@ says he will help handle any MD fallout that occurs.
</content>
</entry>
<entry>
<title>dev/rndvar.h no longer has statistical interfaces (removed during various</title>
<updated>2020-05-29T04:42:23Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-29T04:42:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c8f27247b9f5f282483daaddbfd1267ad73569c5'/>
<id>urn:sha1:c8f27247b9f5f282483daaddbfd1267ad73569c5</id>
<content type='text'>
conversion steps).  it only contains kernel prototypes for 4 interfaces,
all of which legitimately belong in sys/systm.h, which are already included
by all enqueue_randomness() users.
</content>
</entry>
<entry>
<title>Retire &lt;machine/varargs.h&gt;.</title>
<updated>2020-05-27T15:16:04Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-05-27T15:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9df0f941a91e9f67cc4e63514cb174cb2a5783fd'/>
<id>urn:sha1:9df0f941a91e9f67cc4e63514cb174cb2a5783fd</id>
<content type='text'>
Nothing uses the header anymore.

OK deraadt@ mpi@
</content>
</entry>
<entry>
<title>/etc/random.seed reuse can now be detected.  The stat +T bit marks the file</title>
<updated>2020-05-26T13:47:27Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-26T13:47:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e4a6744d811c9dacc6cbd14518ea6671acce58e9'/>
<id>urn:sha1:e4a6744d811c9dacc6cbd14518ea6671acce58e9</id>
<content type='text'>
(fchmod +T by bootcode, chmod 600 by /etc/rc).  If the seed is reused, and
HWRNG isn't available, the kernel won't get RB_GOODSEED indication...
</content>
</entry>
<entry>
<title>make loadrandom() return 0 for success, -1 for failure.  While here,</title>
<updated>2020-05-25T15:49:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-25T15:49:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a872426c0e19cd2db852b132ac3ba4865f303e4a'/>
<id>urn:sha1:a872426c0e19cd2db852b132ac3ba4865f303e4a</id>
<content type='text'>
relax the fstat() check because the system will have left the file
in the right mode.
ok visa kettenis
</content>
</entry>
<entry>
<title>Pass boothowto from bootblock to kernel</title>
<updated>2020-05-25T15:00:22Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-25T15:00:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c2afdefe37f83deee120e110e5e299de81813289'/>
<id>urn:sha1:c2afdefe37f83deee120e110e5e299de81813289</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add support for write operations to diskstrategy().</title>
<updated>2020-05-25T02:04:48Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2020-05-25T02:04:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=77b219e0ed44c82d1eade27be3a0a0910c0035b1'/>
<id>urn:sha1:77b219e0ed44c82d1eade27be3a0a0910c0035b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove ifdef'd out tc fb cnattach bits</title>
<updated>2020-05-23T08:40:55Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-05-23T08:40:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8151741673711c48340cfc872d9779b0327adbb2'/>
<id>urn:sha1:8151741673711c48340cfc872d9779b0327adbb2</id>
<content type='text'>
miod@ agrees this can go
</content>
</entry>
<entry>
<title>remove more cfb and sfb bits</title>
<updated>2020-05-23T06:28:29Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2020-05-23T06:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=998fd26cd35836de5ded8468ae9e096a47a23f66'/>
<id>urn:sha1:998fd26cd35836de5ded8468ae9e096a47a23f66</id>
<content type='text'>
</content>
</entry>
</feed>
