<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libssl/bytestring.h, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2018-08-16T18:39:37+00:00</updated>
<entry>
<title>Provide CBB_add_u32(), as needed for an upcoming conversion.</title>
<updated>2018-08-16T18:39:37+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-08-16T18:39:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=376676d240a487534ae7527150946472cd5c131b'/>
<id>urn:sha1:376676d240a487534ae7527150946472cd5c131b</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Add CBB_discard_child(), which allows for a child CBB to be discarded.</title>
<updated>2017-11-28T16:34:20+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2017-11-28T16:34:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76849a9caf0c93472d0fa91e5211a18f1b3afd18'/>
<id>urn:sha1:76849a9caf0c93472d0fa91e5211a18f1b3afd18</id>
<content type='text'>
Based on BoringSSL.
</content>
</entry>
<entry>
<title>Add an explict list of exported symbols with just the functions</title>
<updated>2016-11-04T18:28:58+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2016-11-04T18:28:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ce835f2efa54fde1b0bcb50acb340a01efb19727'/>
<id>urn:sha1:ce835f2efa54fde1b0bcb50acb340a01efb19727</id>
<content type='text'>
declared in the public headers, and use __{BEGIN,END}_HIDDEN_DECLS
in the internal headers to optimize internal functions

ok jsing@
</content>
</entry>
<entry>
<title>Add CBS_dup() to initialize a new CBS with the same values.</title>
<updated>2015-06-19T00:23:36+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-19T00:23:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=512915f28ea9c781f7fb047c687e3863fa3168b7'/>
<id>urn:sha1:512915f28ea9c781f7fb047c687e3863fa3168b7</id>
<content type='text'>
This is useful for when you need to check the data ahead and then continue
on from the same spot.

input + ok jsing@ miod@
</content>
</entry>
<entry>
<title>Extend the input types for CBB_add_*() to help catch bugs.</title>
<updated>2015-06-18T23:25:07+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-18T23:25:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d475c1337d104a1f41d2c0db1ab61eb9f8f214ed'/>
<id>urn:sha1:d475c1337d104a1f41d2c0db1ab61eb9f8f214ed</id>
<content type='text'>
While the previous types were correct, they can silently accept bad data
via truncation or signed conversion.  We now take size_t as input for
CBB_add_u*() and do a range check.

discussed with deraadt@
input + ok jsing@ miod@
</content>
</entry>
<entry>
<title>Use explicit int in bs_cbs.c.</title>
<updated>2015-06-17T07:25:56+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-17T07:25:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=57e742a1d579791e1b790335874f838b2ccc286a'/>
<id>urn:sha1:57e742a1d579791e1b790335874f838b2ccc286a</id>
<content type='text'>
ok miod@ jsing@
</content>
</entry>
<entry>
<title>Add CBS_write_bytes() to copy the remaining CBS bytes to the caller.</title>
<updated>2015-06-17T07:06:22+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-17T07:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a0e2b99538b9b1895c2d8eee148f86142f9e99f7'/>
<id>urn:sha1:a0e2b99538b9b1895c2d8eee148f86142f9e99f7</id>
<content type='text'>
This is a common operation when dealing with CBS.

ok miod@ jsing@
</content>
</entry>
<entry>
<title>Add a new function CBS_offset() to report the current offset in the data.</title>
<updated>2015-06-17T07:00:22+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-17T07:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3f41fbd5a47c722047de0a060c1e410a5fba87bb'/>
<id>urn:sha1:3f41fbd5a47c722047de0a060c1e410a5fba87bb</id>
<content type='text'>
"why not" miod@, sure jsing@
</content>
</entry>
<entry>
<title>Be more strict about BER and DER terminology.</title>
<updated>2015-06-16T06:37:58+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-16T06:37:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b87417588144066bdf43f4c7eaed221f27269c8f'/>
<id>urn:sha1:b87417588144066bdf43f4c7eaed221f27269c8f</id>
<content type='text'>
bs_ber.c does not convert BER to DER.  It's a hack to convert a DER-like
encoding with one violation (indefinite form) to strict DER.  Rename
the functions to reflect this.

ok miod@ jsing@
</content>
</entry>
<entry>
<title>Simplify cbs_get_any_asn1_element_internal based on comments from jsing@</title>
<updated>2015-06-16T06:11:39+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2015-06-16T06:11:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9df3ee5634f566b673844ce7c87d9cd5481d92c7'/>
<id>urn:sha1:9df3ee5634f566b673844ce7c87d9cd5481d92c7</id>
<content type='text'>
</content>
</entry>
</feed>
