<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/md5, branch OPENBSD_7_6</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_6</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_6'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-06-01T07:44:11+00:00</updated>
<entry>
<title>Reverse order of attributes</title>
<updated>2024-06-01T07:44:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-06-01T07:44:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2d4c4d8a62665e7e18f808fffc2503822482f6d7'/>
<id>urn:sha1:2d4c4d8a62665e7e18f808fffc2503822482f6d7</id>
<content type='text'>
requested by jsing on review
</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>Load in the top of the loop, as we do for other hash implementations.</title>
<updated>2024-03-28T08:00:08+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-28T08:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1c0c0921adbf436279c7a07d6495428a26e7f71e'/>
<id>urn:sha1:1c0c0921adbf436279c7a07d6495428a26e7f71e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Stop including md32_common.h in md5.c and remove unused defines.</title>
<updated>2024-03-26T05:55:15+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-26T05:55:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=552d4614f7d70b3a4f09def8dc1c5fb051682d47'/>
<id>urn:sha1:552d4614f7d70b3a4f09def8dc1c5fb051682d47</id>
<content type='text'>
This is now no longer needed.

ok tb@
</content>
</entry>
<entry>
<title>Include stdint.h for uintptr_t.</title>
<updated>2024-03-26T05:46:13+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-26T05:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e340b8decae9fd52f83119ce0ffbdf7b04b53d8d'/>
<id>urn:sha1:e340b8decae9fd52f83119ce0ffbdf7b04b53d8d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Demacro MD5 and improve data loading.</title>
<updated>2024-03-26T05:21:35+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-26T05:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=60ada654237dd4cad2245c11f7a9ecf4f6091bc5'/>
<id>urn:sha1:60ada654237dd4cad2245c11f7a9ecf4f6091bc5</id>
<content type='text'>
Use static inline functions instead of macros and improve handling of
aligned data. Also number rounds as per RFC 1321.

ok tb@
</content>
</entry>
<entry>
<title>Replace uses of endbr64 with _CET_ENDBR from cet.h</title>
<updated>2024-02-24T15:30:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2024-02-24T15:30:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c730c3b3b1845cc7c4a4aceff2031f1135faa6bb'/>
<id>urn:sha1:c730c3b3b1845cc7c4a4aceff2031f1135faa6bb</id>
<content type='text'>
cet.h is needed for other platforms to emit the relevant .gnu.properties
sections that are necessary for them to enable IBT. It also avoids issues
with older toolchains on macOS that explode on encountering endbr64.

based on a diff by kettenis
ok beck kettenis
</content>
</entry>
<entry>
<title>Clean up alignment handling.</title>
<updated>2023-08-15T08:39:27+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-08-15T08:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1dc53319f1473e26f5c135f118538753b1300c20'/>
<id>urn:sha1:1dc53319f1473e26f5c135f118538753b1300c20</id>
<content type='text'>
Instead of using HOST_{c2l,l2c} macros, provide and use
crypto_load_le32toh() and crypto_store_htole32(). In some cases just
use htole32() directly.

ok tb@
</content>
</entry>
<entry>
<title>Use MD5_LONG instead of unsigned int for consistency.</title>
<updated>2023-08-15T08:35:33+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-08-15T08:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0a3e54d78839888f249585a09a5917710af62b0d'/>
<id>urn:sha1:0a3e54d78839888f249585a09a5917710af62b0d</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Condition only on #ifdef MD5_ASM.</title>
<updated>2023-08-15T08:30:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-08-15T08:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5f786fd616680aca71e0c9311098ceabd1bab4e5'/>
<id>urn:sha1:5f786fd616680aca71e0c9311098ceabd1bab4e5</id>
<content type='text'>
There are a bunch of unnecessary preprocessor directives - just condition
on MD5_ASM, the same as we do elsewhere.

ok tb@
</content>
</entry>
</feed>
