<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/hmac/hmac.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>2025-01-25T17:59:44+00:00</updated>
<entry>
<title>Remove #error if OPENSSL_NO_FOO is defined</title>
<updated>2025-01-25T17:59:44+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2025-01-25T17:59:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5d52abc236226c5a47c36b07e2256e77141e373a'/>
<id>urn:sha1:5d52abc236226c5a47c36b07e2256e77141e373a</id>
<content type='text'>
discussed with jsing
</content>
</entry>
<entry>
<title>Zap HMAC_Init</title>
<updated>2024-08-31T10:42:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-08-31T10:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=49dd9dd6066796148cceffc28570ac4ba886e6f0'/>
<id>urn:sha1:49dd9dd6066796148cceffc28570ac4ba886e6f0</id>
<content type='text'>
Long deprecated, last users have been fixed.

ok beck jsing
</content>
</entry>
<entry>
<title>Add bounded attributes to hmac.h</title>
<updated>2024-07-09T07:57:57+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-07-09T07:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=aad46278badf2512dfdf3ab62ed34e70ca66b204'/>
<id>urn:sha1:aad46278badf2512dfdf3ab62ed34e70ca66b204</id>
<content type='text'>
ok beck
</content>
</entry>
<entry>
<title>Remove support for static buffers in HMAC/digests</title>
<updated>2024-06-01T07:36:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-06-01T07:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0cd26255605cab2a8643bb8585c4148069240e3c'/>
<id>urn:sha1:0cd26255605cab2a8643bb8585c4148069240e3c</id>
<content type='text'>
HMAC() and the one-step digests used to support passing a NULL buffer and
would return the digest in a static buffer. This design is firmly from the
nineties, not thread safe and it saves callers a single line. The few ports
that used to rely this were fixed with patches sent to non-hostile (and
non-dead) upstreams. It's early enough in the release cycle that remaining
uses hidden from the compiler should be caught, at least the ones that
matter.

There won't be that many since BoringSSL removed this feature in 2017.
https://boringssl-review.googlesource.com/14528

Add non-null attributes to the headers and add a few missing bounded
attributes.

ok beck jsing
</content>
</entry>
<entry>
<title>Wire up truncated SHA-2, SHA-3 and related things</title>
<updated>2023-04-25T15:48:48+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-04-25T15:48:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8c449d8a1445a23c96b8b2f389e256ea32662e36'/>
<id>urn:sha1:8c449d8a1445a23c96b8b2f389e256ea32662e36</id>
<content type='text'>
from jsing
</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>Annotate the structs that will be moved to hmac_local.h and evp_locl.h</title>
<updated>2021-12-12T21:35:47+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-12-12T21:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c2c9cf22aa6a46cfa24e29a06a5d0385ca428117'/>
<id>urn:sha1:c2c9cf22aa6a46cfa24e29a06a5d0385ca428117</id>
<content type='text'>
in an upcoming bump.  This omits EVP_AEAD_CTX which will be dealt with
separately. EVP_CIPHER_INFO internals are still publicly visible in
OpenSSL, so it won't be moved.

Move typedefs for HMAC_CTX and EVP_ENCODE_CTX to ossl_typ.h.  These
typedefs will be visible by files including only hmac.h or evp.h since
hmac.h includes evp.h and evp.h includes ossl_typ.h.

ok inoguchi
</content>
</entry>
<entry>
<title>Provide HMAC_CTX_new(), HMAC_CTX_free(), HMAC_CTX_reset() and</title>
<updated>2018-02-17T14:53:59+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-17T14:53:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fe31e083891620d38e67f59ea40fa3b92f6fcc48'/>
<id>urn:sha1:fe31e083891620d38e67f59ea40fa3b92f6fcc48</id>
<content type='text'>
HMAC_CTX_get_md().
</content>
</entry>
<entry>
<title>More KNF.</title>
<updated>2014-06-21T13:42:14+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-06-21T13:42:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=415c0aa250bb30e28ba0c8a4a5b012fff4e5bf12'/>
<id>urn:sha1:415c0aa250bb30e28ba0c8a4a5b012fff4e5bf12</id>
<content type='text'>
</content>
</entry>
</feed>
