<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn/arch/riscv64, 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>2023-07-09T10:37:32+00:00</updated>
<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>Rename bn_umul_hilo() to bn_mulw().</title>
<updated>2023-02-16T10:41:03+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-02-16T10:41:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b11f50c06cb0a98a91ab4cbfb49715c95ee07486'/>
<id>urn:sha1:b11f50c06cb0a98a91ab4cbfb49715c95ee07486</id>
<content type='text'>
This keeps the naming consistent with the other bignum primitives that have
been recently introduced. Also, use 1/0 intead of h/l (e.g. a1 instead of
ah), as this keeps consistency with other primitives and allows for naming
that works with double word, triple word and quadruple word inputs/outputs.

Discussed with tb@
</content>
</entry>
<entry>
<title>Fix output constraints for bn_umul_hilo().</title>
<updated>2023-02-04T11:48:55+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-02-04T11:48:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6c95a9f285330e88fd5a77d363441327b6d42630'/>
<id>urn:sha1:6c95a9f285330e88fd5a77d363441327b6d42630</id>
<content type='text'>
When bn_umul_hilo() is implemented using an instruction pair, mark the
first output with a constraint that prevents the output from overlapping
with the inputs ("&amp;"). Otherwise the first instruction can overwrite the
inputs, which then results in the second instruction producing incorrect
value.
</content>
</entry>
<entry>
<title>Provide inline assembly bn_umul_hilo() for alpha/powerpc64/riscv64.</title>
<updated>2023-01-31T05:57:08+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-01-31T05:57:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=679f8c4daf382efeee02c91cc81af88941779b9f'/>
<id>urn:sha1:679f8c4daf382efeee02c91cc81af88941779b9f</id>
<content type='text'>
These should work, but are currently untested and disabled.

ok tb@
</content>
</entry>
<entry>
<title>Provide a per machine bn_arch.h.</title>
<updated>2023-01-20T10:04:34+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-01-20T10:04:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=481d4dbec5e67fc8e767c554b19a84590c6c755f'/>
<id>urn:sha1:481d4dbec5e67fc8e767c554b19a84590c6c755f</id>
<content type='text'>
This will provide a location for machine specific defines, prototypes and
inline functions.

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