<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/asn1, branch libressl-v3.7.0</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v3.7.0</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v3.7.0'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-11-28T07:50:47+00:00</updated>
<entry>
<title>Garbage collect the unused asn1_add_error()</title>
<updated>2022-11-28T07:50:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-28T07:50:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ef41800635f9a34052fdbd7d6aac36f608b19352'/>
<id>urn:sha1:ef41800635f9a34052fdbd7d6aac36f608b19352</id>
<content type='text'>
ok jsing
</content>
</entry>
<entry>
<title>Make internal header file names consistent</title>
<updated>2022-11-26T16:08:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-26T16:08:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=81d98bf600a381a625eb11b39a725b08c0ba547f'/>
<id>urn:sha1:81d98bf600a381a625eb11b39a725b08c0ba547f</id>
<content type='text'>
Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names
used for internal headers. Move all these headers we inherited from
OpenSSL to *_local.h, reserving the name *_internal.h for our own code.
Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h.
constant_time_locl.h is moved to constant_time.h since it's special.

Adjust all .c files in libcrypto, libssl and regress.

The diff is mechanical with the exception of tls13_quic.c, where
#include &lt;ssl_locl.h&gt; was fixed manually.

discussed with jsing,
no objection bcook
</content>
</entry>
<entry>
<title>Rename last OPENSSL_gmtime() to asn1_time_time_t_to_tm()</title>
<updated>2022-11-22T21:23:16+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-22T21:23:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5ef2519ae5a1b3e2e1661ea13d1d4ea543bc40fe'/>
<id>urn:sha1:5ef2519ae5a1b3e2e1661ea13d1d4ea543bc40fe</id>
<content type='text'>
This rename was done before commit, but one instance was missed since it
was hidden behind #ifdef SMALL_TIME_T.

Spotted by Android CI.
</content>
</entry>
<entry>
<title>Expose ASN1_buf_print() in asn1.h</title>
<updated>2022-11-13T13:59:46+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-13T13:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d18be9a8cdfbbc5b8b7a817945b4c41cec7ddc1'/>
<id>urn:sha1:6d18be9a8cdfbbc5b8b7a817945b4c41cec7ddc1</id>
<content type='text'>
This is needed to print the 32-byte Ed25519 keys which aren't handled
as BNs.
</content>
</entry>
<entry>
<title>Implement EVP interfaces for Ed25519 and X25519.</title>
<updated>2022-11-10T16:37:52+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-10T16:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a5e7fda60ab706b03226bda16120458c7adc3b34'/>
<id>urn:sha1:a5e7fda60ab706b03226bda16120458c7adc3b34</id>
<content type='text'>
ok beck@ tb@
</content>
</entry>
<entry>
<title>Port EVP raw key API from OpenSSL.</title>
<updated>2022-11-10T14:46:44+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-10T14:46:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=548ffc79d647d3545a6f616923b00fc4d5a3fed8'/>
<id>urn:sha1:548ffc79d647d3545a6f616923b00fc4d5a3fed8</id>
<content type='text'>
This will be needed to deal with Curve25519 based keys.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Port ASN1_buf_print() from OpenSSL 1.1.</title>
<updated>2022-11-10T13:09:34+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-10T13:09:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3e587d01f755ee611b79ab5682870870b28d7bc2'/>
<id>urn:sha1:3e587d01f755ee611b79ab5682870870b28d7bc2</id>
<content type='text'>
This is needed to print byte array based keys, such as Ed25519 and X25519.

ok beck@ tb@
</content>
</entry>
<entry>
<title>Clean up EVP_PKEY_ASN1_METHOD related tables and code.</title>
<updated>2022-11-09T18:17:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-09T18:17:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7cbad7d3dd80fdd1276c8da7015092fdae0055f2'/>
<id>urn:sha1:7cbad7d3dd80fdd1276c8da7015092fdae0055f2</id>
<content type='text'>
Rather than messing around with an OBJ_bsearch() for a table that contains
16 entries (and a stack find for any application added methods), simply do
a reverse linear scan. This maintains the application method first
behaviour, while removing a chunk of code.

While here rename some variables and do some style clean up.

ok tb@
</content>
</entry>
<entry>
<title>Sort EVP_PKEY_ASN1_METHOD externs.</title>
<updated>2022-11-09T16:14:15+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-11-09T16:14:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=bdb0c0a6839c32c83ada845da7f6cfbc063ba1ec'/>
<id>urn:sha1:bdb0c0a6839c32c83ada845da7f6cfbc063ba1ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid signed integer overflow in i2c_ASN1_BIT_STRING()</title>
<updated>2022-11-08T16:48:28+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-11-08T16:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5ed2797e16ed77887f9cb43d738b38a970f7d192'/>
<id>urn:sha1:5ed2797e16ed77887f9cb43d738b38a970f7d192</id>
<content type='text'>
If the length of the bitstring is INT_MAX, adding 1 to it is undefined
behavior, so error out before doing so.

Based on BoringSSL eeb3333f by davidben

ok beck joshua
</content>
</entry>
</feed>
