<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn/arch, branch OPENBSD_7_7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2024-03-26T06:09:25+00:00</updated>
<entry>
<title>Provide an optimised bn_subw() for amd64.</title>
<updated>2024-03-26T06:09:25+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2024-03-26T06:09:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=76fb2cf7d456ff89c43a9f58c3b1142078060c79'/>
<id>urn:sha1:76fb2cf7d456ff89c43a9f58c3b1142078060c79</id>
<content type='text'>
bn_subw() will be used more widely in an upcoming change.
</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>Mark read/write registers as non-overlapping for bn_qwmulw_{addqw_,}addw()</title>
<updated>2023-07-24T10:21:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-24T10:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4c10fa62f800291a02f5e14311eec1a14d18057b'/>
<id>urn:sha1:4c10fa62f800291a02f5e14311eec1a14d18057b</id>
<content type='text'>
This does not cause an issue currently, however if called differently to
their current usage, it can lead to an input being overwritten and
incorrect results being generated.
</content>
</entry>
<entry>
<title>Provide optimised bn_subw() for riscv64.</title>
<updated>2023-07-09T10:37:32+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-09T10:37:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=28c5ee8a29423ac4e370b5f92748954d0c5e2ec5'/>
<id>urn:sha1:28c5ee8a29423ac4e370b5f92748954d0c5e2ec5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide optimised bn_addw() for riscv64.</title>
<updated>2023-07-09T10:36:53+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-09T10:36:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=7c9d7c86e6114e6a51e2894d616a32b4adb71a51'/>
<id>urn:sha1:7c9d7c86e6114e6a51e2894d616a32b4adb71a51</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide optimised bn_mulw() for riscv64.</title>
<updated>2023-07-07T16:10:32+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-07-07T16:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=66ac57d506be0af957abeb5a5a7334a8d2a36c9b'/>
<id>urn:sha1:66ac57d506be0af957abeb5a5a7334a8d2a36c9b</id>
<content type='text'>
This provides a 1.5-2x performance gain for BN multiplication, with a
similar improvement being seen for RSA operations.
</content>
</entry>
<entry>
<title>Rewrite and simplify bn_sqr()/bn_sqr_normal().</title>
<updated>2023-06-24T16:01:44+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-06-24T16:01:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3180c8185bba7d792127e1b9bc87f11e439ba0fb'/>
<id>urn:sha1:3180c8185bba7d792127e1b9bc87f11e439ba0fb</id>
<content type='text'>
Rework bn_sqr()/bn_sqr_normal() so that it is less convoluted and more
readable. Instead of recomputing values that the caller has already
computed, pass it as an argument. Avoid branching and remove duplication
of variables. Consistently use a_len and r_len naming for lengths.

ok tb@
</content>
</entry>
<entry>
<title>Provide optimised bn_subw() and bn_subw_subw() for arm.</title>
<updated>2023-06-24T15:51:47+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-06-24T15:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d88d3c7eb1bc4b0da2212f0020a52430971c7e74'/>
<id>urn:sha1:d88d3c7eb1bc4b0da2212f0020a52430971c7e74</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide optimised bn_clzw() for aarch64.</title>
<updated>2023-06-21T07:56:43+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-06-21T07:56:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ad88bf2f67997bb60ec7841577bd3253b872853e'/>
<id>urn:sha1:ad88bf2f67997bb60ec7841577bd3253b872853e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimise bn_mul2_mulw_addtw() for aarch64.</title>
<updated>2023-06-17T15:40:46+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-06-17T15:40:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c4cf90a6f9bdc4c2b5bf83876448ace95db0376a'/>
<id>urn:sha1:c4cf90a6f9bdc4c2b5bf83876448ace95db0376a</id>
<content type='text'>
This provides significant performance gains for bn_sqr_comba4() and
bn_sqr_comba8().
</content>
</entry>
</feed>
