<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/buffer, branch master</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/buffer?h=master</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/buffer?h=master'/>
<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>Explicitly test for NULL.</title>
<updated>2017-04-09T14:33:21Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2017-04-09T14:33:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d8c9e8aee4ce1268b576997166af7d9a816a2f87'/>
<id>urn:sha1:d8c9e8aee4ce1268b576997166af7d9a816a2f87</id>
<content type='text'>
ok beck@
</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>Put BUF_memdup() and BUF_reverse() under #ifndef LIBRESSL_INTERNAL.</title>
<updated>2015-06-24T10:05:14Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2015-06-24T10:05:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=78a9c1b22d7ae88eabd4e1525c2c1d3b546f9baa'/>
<id>urn:sha1:78a9c1b22d7ae88eabd4e1525c2c1d3b546f9baa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Get rid of the last remaining BUF_strdup and BUF_strlcpy and friends, use</title>
<updated>2014-10-16T03:19:02Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2014-10-16T03:19:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=34b64b5c5f840a0833b4f7f456b67d326d45eda4'/>
<id>urn:sha1:34b64b5c5f840a0833b4f7f456b67d326d45eda4</id>
<content type='text'>
intrinsic functions everywhere, and wrap these functions in an
#ifndef LIBRESSL_INTERNAL to make sure we don't bring their use back.
</content>
</entry>
<entry>
<title>unbreak build this needed to be an and..</title>
<updated>2014-07-13T14:13:27Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2014-07-13T14:13:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=40c1866a3ff94feb0d1ece7cdbe67797ec803b37'/>
<id>urn:sha1:40c1866a3ff94feb0d1ece7cdbe67797ec803b37</id>
<content type='text'>
ok jsing@
</content>
</entry>
</feed>
