<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/hmac/hmac_local.h, branch OPENBSD_7_9_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-11-26T16:08:57+00:00</updated>
<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>Remove HMAC_CTX_{init,cleanup}() and HMAC_init from public visibility</title>
<updated>2022-01-14T08:06:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=91bb5e9900c0e103adf709034df105c4f34b6bd3'/>
<id>urn:sha1:91bb5e9900c0e103adf709034df105c4f34b6bd3</id>
<content type='text'>
In OpenSSL commit 32fd54a9a3 HMAC_CTX_cleanup() was integrated into
HMAC_CTX_init(), then HMAC_CTX_init() was renamed to HMAC_CTX_reset()
in dc0099e1.

LibreSSL retained them for API compatibility with OpenSSL 1.0.
Not many things use them anymore. In fact, some projects that didn't
want to modify their code for OpenSSL 1.1 API compatibility used the
removed functions to wrap the OpenSSL 1.1 API. We had to patch some
of these and this will now no longer be necessary.

Also remove HMAC_cleanup(). Nothing uses this.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Make structs in evp.h and hmac.h opaque</title>
<updated>2022-01-14T08:04:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-01-14T08:04:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8be1fd92836a1a22c1b53e77ef08a7768e9a9b05'/>
<id>urn:sha1:8be1fd92836a1a22c1b53e77ef08a7768e9a9b05</id>
<content type='text'>
This moves most structs to evp_locl.h and moves HMAC_CTX to hmac_local.h.

ok inoguchi jsing
</content>
</entry>
<entry>
<title>Add a mostly empty hmac_local.h. HMAC_CTX and a few other things</title>
<updated>2021-12-12T21:27:38+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-12T21:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e6d34a52bf003f2e199023dc166779f5d25bfcff'/>
<id>urn:sha1:e6d34a52bf003f2e199023dc166779f5d25bfcff</id>
<content type='text'>
from hmac.h will be moved there in an umpcoming bump. Include this
file where it will be needed.

ok inoguchi
</content>
</entry>
</feed>
