<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/sha/sha256_amd64.c, 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>2024-11-16T15:31:36+00:00</updated>
<entry>
<title>Provide a SHA-256 assembly implementation for amd64 using SHA-NI.</title>
<updated>2024-11-16T15:31:36+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-11-16T15:31:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a06b7340f2af374d4581bec7db2775ae686ce1ab'/>
<id>urn:sha1:a06b7340f2af374d4581bec7db2775ae686ce1ab</id>
<content type='text'>
This provides a SHA-256 assembly implementation for amd64, which uses
the Intel SHA Extensions (aka SHA New Instructions or SHA-NI). This
provides a 3-5x performance gain on some Intel CPUs and many AMD CPUs.

ok tb@
</content>
</entry>
<entry>
<title>Provide a replacement assembly implementation for SHA-256 on amd64.</title>
<updated>2024-11-08T15:09:48+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-11-08T15:09:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=487da616d8ed3fd6ad6c30584c6405c6979ede11'/>
<id>urn:sha1:487da616d8ed3fd6ad6c30584c6405c6979ede11</id>
<content type='text'>
Replace the perlasm generated SHA-256 assembly implementation with one that
is actually readable. Call the assembly implementation from a C wrapper
that can, in the future, dispatch to alternate implementations. Performance
is similar (or even better) on modern CPUs, while somewhat slower on older
CPUs (this is in part due to the wrapper, the impact of which is more
noticable with small block sizes).

Thanks to gkoehler@ and tb@ for testing.

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