<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/sha, branch OPENBSD_7_4</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_4</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-08-11T15:27:28+00:00</updated>
<entry>
<title>Stop including md32_common.h.</title>
<updated>2023-08-11T15:27:28+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-08-11T15:27:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2ea556a1c666b7176ccef64d78e376f1bfabef7c'/>
<id>urn:sha1:2ea556a1c666b7176ccef64d78e376f1bfabef7c</id>
<content type='text'>
Now that we're no longer dependent on md32_common.h, stop including it.
Remove various defines that only existed for md32_common.h usage.
</content>
</entry>
<entry>
<title>Demacro sha256.</title>
<updated>2023-08-11T15:25:36+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-08-11T15:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e5c37e5e9f9d7f447090e5f144afac1bcc9341d9'/>
<id>urn:sha1:e5c37e5e9f9d7f447090e5f144afac1bcc9341d9</id>
<content type='text'>
Replace macros with static inline functions, as well as writing out the
variable rotations instead of trying to outsmart the compiler. Also pull
the message schedule update up and complete it prior to commencement of
the round. Also use rotate right, rather than transposed rotate left.

Overall this is more readable and more closely follows the specification.
On some platforms (e.g. aarch64) there is no noteable change in
performance, while on others there is a significant improvement (more than
25% on arm).

ok miod@ tb@
</content>
</entry>
<entry>
<title>Remove MD32_REG_T.</title>
<updated>2023-08-10T07:15:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-08-10T07:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=13ecebf7d6c58d65f6df008731bbb41f4c2be2f6'/>
<id>urn:sha1:13ecebf7d6c58d65f6df008731bbb41f4c2be2f6</id>
<content type='text'>
This is a hack that is only enabled on a handful of 64 bit platforms, as
a workaround for poor compiler optimisation. If you're running an archiac
compiler on an archiac architecture, then you can deal with slightly lower
performance.

ok tb@
</content>
</entry>
<entry>
<title>Hide symbols in sha</title>
<updated>2023-07-08T12:24:10+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2023-07-08T12:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f46ac389a5f2c573c854a6c2b50156ca974ea892'/>
<id>urn:sha1:f46ac389a5f2c573c854a6c2b50156ca974ea892</id>
<content type='text'>
ok tb@
</content>
</entry>
<entry>
<title>Remove unused SHA-1 implementation.</title>
<updated>2023-07-08T07:58:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-08T07:58:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b73d110b33338f5dd55f8edf8a6c9a557c4c5d06'/>
<id>urn:sha1:b73d110b33338f5dd55f8edf8a6c9a557c4c5d06</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove now unnecessary "do { } while (0)"</title>
<updated>2023-07-08T07:52:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-08T07:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=51192ea4c1ff26a1f6ae8dab8e9bb1f465c01aaa'/>
<id>urn:sha1:51192ea4c1ff26a1f6ae8dab8e9bb1f465c01aaa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Inline HASH_MAKE_STRING macro.</title>
<updated>2023-07-08T07:49:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-08T07:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a8e05970851a5ad651999ea1a9e8216dd8f3d06e'/>
<id>urn:sha1:a8e05970851a5ad651999ea1a9e8216dd8f3d06e</id>
<content type='text'>
No change to generated assembly.
</content>
</entry>
<entry>
<title>Reorder functions.</title>
<updated>2023-07-08T07:43:44+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-08T07:43:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=69c2702dd169f2187e540d7feaec5a0dabbcaaa3'/>
<id>urn:sha1:69c2702dd169f2187e540d7feaec5a0dabbcaaa3</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title>style(9)</title>
<updated>2023-07-08T07:08:11+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-08T07:08:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ed40d3cca6345815b45a8b09197f9d7d29369445'/>
<id>urn:sha1:ed40d3cca6345815b45a8b09197f9d7d29369445</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement SHA1_{Update,Transform,Final}() directly in sha1.c.</title>
<updated>2023-07-07T15:09:45+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-07T15:09:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=22c789d71b31efbf40ba30721eb7379bb92a2600'/>
<id>urn:sha1:22c789d71b31efbf40ba30721eb7379bb92a2600</id>
<content type='text'>
Copy the update, transform and final functions from md32_common.h, manually
expanding the macros for SHA1. This will allow for further clean up to
occur.

No change in generated assembly.
</content>
</entry>
</feed>
