<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/buffer/buffer.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/buffer/buffer.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/buffer/buffer.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2017-05-02T03:59:44Z</updated>
<entry>
<title>use freezero() instead of memset/explicit_bzero + free.  Substantially</title>
<updated>2017-05-02T03:59:44Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2017-05-02T03:59:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7de8a6843ca16b4f1c9d2a7eab4c71e8af96a4e6'/>
<id>urn:sha1:7de8a6843ca16b4f1c9d2a7eab4c71e8af96a4e6</id>
<content type='text'>
reduces conditional logic (-218, +82).

MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH cache alignment calculation bn/bn_exp.c
wasn'tt quite right.  Two other tricky bits with ASN1_STRING_FLAG_NDEF and
BN_FLG_STATIC_DATA where the condition cannot be collapsed completely.

Passes regress.  ok beck
</content>
</entry>
<entry>
<title>Simplify/clean up BUF_MEM_grow_clean().</title>
<updated>2017-04-09T15:06:20Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2017-04-09T15:06:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7f2c4a2bceadf5ab1cfcfc982ac2f57552b4a1e9'/>
<id>urn:sha1:7f2c4a2bceadf5ab1cfcfc982ac2f57552b4a1e9</id>
<content type='text'>
ok beck@
</content>
</entry>
<entry>
<title>With recallocarray() BUF_MEM_grow() is essentially the same as</title>
<updated>2017-04-09T15:03:54Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2017-04-09T15:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=027ccf5329c0a626d5f824374ef6ff2fa3f4b437'/>
<id>urn:sha1:027ccf5329c0a626d5f824374ef6ff2fa3f4b437</id>
<content type='text'>
BUF_MEM_grow_clean() (the only difference is clearing on internal down
sizing), so make it a wrapper.

ok beck@ deraadt@
</content>
</entry>
<entry>
<title>Convert BUF_MEM_grow() and BUF_MEM_grow_clean() to recallocarray(),</title>
<updated>2017-03-16T13:29:56Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2017-03-16T13:29:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=33497392331332de6a8976beabee1bb694603e0f'/>
<id>urn:sha1:33497392331332de6a8976beabee1bb694603e0f</id>
<content type='text'>
ensuring that the buffer contents are zeroed on allocation and not leaked
when resizing.

It is worth noting that BUF_MEM_grow_clean() already did this manually by
avoiding realloc().

ok beck@ inoguchi@
</content>
</entry>
<entry>
<title>Use calloc() instead of malloc() followed by manually zeroing fields.</title>
<updated>2017-03-16T13:15:06Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2017-03-16T13:15:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e21846dbfd5ef8d7f4278a6ea76ba27f90b68cdb'/>
<id>urn:sha1:e21846dbfd5ef8d7f4278a6ea76ba27f90b68cdb</id>
<content type='text'>
ok beck@ inoguchi@
</content>
</entry>
<entry>
<title>Send the function codes from the error functions to the bit bucket,</title>
<updated>2017-01-29T17:49:22Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2017-01-29T17:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5067ae9f807f8af9e6350e51e6a54619386c06ba'/>
<id>urn:sha1:5067ae9f807f8af9e6350e51e6a54619386c06ba</id>
<content type='text'>
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:47Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2014-07-11T08:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90'/>
<id>urn:sha1:b6ab114e77db2581d5bda2ca4b0aa0d68b2e0f90</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Stop including standard headers via cryptlib.h - pull in the headers that</title>
<updated>2014-07-10T13:58:21Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2014-07-10T13:58:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a8913c44aee6c78b4770e56ab6afb429afabee6d'/>
<id>urn:sha1:a8913c44aee6c78b4770e56ab6afb429afabee6d</id>
<content type='text'>
are needed in the source files that actually require them.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Replace memset(a, 0, ...); free(a); by explicit_bzero(a, ...); free(a); in</title>
<updated>2014-07-09T16:51:09Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2014-07-09T16:51:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7588eaaf30efec0015fc0920a451ac65df2c2c35'/>
<id>urn:sha1:7588eaaf30efec0015fc0920a451ac65df2c2c35</id>
<content type='text'>
fear a smartass-optimizing compiler decides memset is useless immediately
before free().

ok jsing@ deraadt@ tedu@
</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>
</feed>
