<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcrypto/asn1/a_object.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/asn1/a_object.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcrypto/asn1/a_object.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-04-25T11:48:21Z</updated>
<entry>
<title>Add const to functions in asn1/asn1.h as they did in OpenSSL.</title>
<updated>2018-04-25T11:48:21Z</updated>
<author>
<name>tb</name>
<email>tb@openbsd.org</email>
</author>
<published>2018-04-25T11:48:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b3891c73c550d75274c40aa68329a04f91c2de4'/>
<id>urn:sha1:9b3891c73c550d75274c40aa68329a04f91c2de4</id>
<content type='text'>
BIO_f_asn1() will be taken care of later.

Tested in a bulk by sthen
ok bcook jca jsing
</content>
</entry>
<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>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>don't dereference a if NULL</title>
<updated>2016-11-06T17:04:48Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-11-06T17:04:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=cc1afe3e6be813bd81fdf05c3a35c978cb7f0491'/>
<id>urn:sha1:cc1afe3e6be813bd81fdf05c3a35c978cb7f0491</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simplify error handling in c2i_ASN1_OBJECT</title>
<updated>2016-11-06T14:00:49Z</updated>
<author>
<name>bcook</name>
<email>bcook@openbsd.org</email>
</author>
<published>2016-11-06T14:00:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=16290f2a1ca6928b490068003bc8c614a1a8509e'/>
<id>urn:sha1:16290f2a1ca6928b490068003bc8c614a1a8509e</id>
<content type='text'>
ok beck@, miod@
</content>
</entry>
<entry>
<title>explicit_bzero for asn1 objects on free. Too often these contain sensitive information</title>
<updated>2016-03-17T03:51:49Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2016-03-17T03:51:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=83ad5f4005b0a15641a9cd1669bcae9305e96ed3'/>
<id>urn:sha1:83ad5f4005b0a15641a9cd1669bcae9305e96ed3</id>
<content type='text'>
and they should not be a performance bottleneck
ok miod@ krw@
</content>
</entry>
<entry>
<title>explict_bzero for some asn1 free's - ok miod@</title>
<updated>2016-03-06T18:05:00Z</updated>
<author>
<name>beck</name>
<email>beck@openbsd.org</email>
</author>
<published>2016-03-06T18:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a1178666f9e8d4eacdcbcae6b1ab031b552ecbc8'/>
<id>urn:sha1:a1178666f9e8d4eacdcbcae6b1ab031b552ecbc8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>The IMPLEMENT_STACK_OF and IMPLEMENT_ASN1_SET_OF macros were turned into</title>
<updated>2015-02-10T08:33:10Z</updated>
<author>
<name>jsing</name>
<email>jsing@openbsd.org</email>
</author>
<published>2015-02-10T08:33:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c33941b7863804a3cd2c52f5322202c5e25c6bb7'/>
<id>urn:sha1:c33941b7863804a3cd2c52f5322202c5e25c6bb7</id>
<content type='text'>
noops around 15 years ago. Remove multiple occurances of both that still
exist in the code today.
</content>
</entry>
<entry>
<title>Fix CVE-2014-3508, pretty printing and OID validation:</title>
<updated>2014-08-08T04:53:43Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-08-08T04:53:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fca39bf77338b32d5264edaa28a2d4ffd38b333f'/>
<id>urn:sha1:fca39bf77338b32d5264edaa28a2d4ffd38b333f</id>
<content type='text'>
 - make sure the output buffer is always NUL terminated if buf_len
   was initially greater than zero.
 - reject OIDs that are too long, too short, or not in proper base-127

Based on
https://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=0042fb5fd1c9d257d713b15a1f45da05cf5c1c87

ok bcook@
</content>
</entry>
<entry>
<title>if (x) FOO_free(x) -&gt; FOO_free(x).</title>
<updated>2014-07-12T16:03:36Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2014-07-12T16:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=6d04a7b1e8407e9617237f4260725ef336c500fb'/>
<id>urn:sha1:6d04a7b1e8407e9617237f4260725ef336c500fb</id>
<content type='text'>
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review &amp; ok deraadt@
</content>
</entry>
</feed>
