<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/lib/libcrypto/bn, branch OPENBSD_7_3</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_3</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_3'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2023-03-18T13:04:02+00:00</updated>
<entry>
<title>KNF: some missing spaces after comma</title>
<updated>2023-03-18T13:04:02+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-18T13:04:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=3c86f372381379066a1b80aa0aa5e95b193cc900'/>
<id>urn:sha1:3c86f372381379066a1b80aa0aa5e95b193cc900</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename bn_mod_exp_zero to the more appropriate bn_mod_exp</title>
<updated>2023-03-18T09:09:11+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-18T09:09:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5995b4e27f65af5f8952d1405501878e220c61a0'/>
<id>urn:sha1:5995b4e27f65af5f8952d1405501878e220c61a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Retire the bn_mod_exp test.</title>
<updated>2023-03-18T09:04:05+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-18T09:04:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c98dda4260dfbef437a748f43b7e47870f92f556'/>
<id>urn:sha1:c98dda4260dfbef437a748f43b7e47870f92f556</id>
<content type='text'>
Its is fully covered by bn_mod_exp_zero now.
</content>
</entry>
<entry>
<title>Reimplement a variant of the bn_mod_exp tests from scratch</title>
<updated>2023-03-18T08:55:42+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-18T08:55:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=478157e7374424e68db6542de73b21717ba9e227'/>
<id>urn:sha1:478157e7374424e68db6542de73b21717ba9e227</id>
<content type='text'>
This exercises the same corner cases as bn_mod_exp and a few more.
With input from jsing
</content>
</entry>
<entry>
<title>Include tests with negative values in BN_mod_exp* regress.</title>
<updated>2023-03-15T04:26:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-03-15T04:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ff8b9955b55cdb95151225a1cdf20fe993f2085e'/>
<id>urn:sha1:ff8b9955b55cdb95151225a1cdf20fe993f2085e</id>
<content type='text'>
This currently fails.
</content>
</entry>
<entry>
<title>bn_mod_exp_zero: rename result into got</title>
<updated>2023-03-15T00:41:04+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-15T00:41:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=95dc15ad075d5f5b9ccf5e7f5e62d226a729a40d'/>
<id>urn:sha1:95dc15ad075d5f5b9ccf5e7f5e62d226a729a40d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add regress coverage for BN_{add,sub,mul,div,mod}_word().</title>
<updated>2023-03-11T14:04:21+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-03-11T14:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=fa84d7922034e108e9bcd911f395501553a0a874'/>
<id>urn:sha1:fa84d7922034e108e9bcd911f395501553a0a874</id>
<content type='text'>
This also provides some indirect coverage for BN_hex2bn(), BN_bn2hex() and
BN_get_word().

Two of these tests are currently failing and will be fixed shortly.
</content>
</entry>
<entry>
<title>Mark test table as static const.</title>
<updated>2023-03-11T14:02:26+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-03-11T14:02:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2a954232ec5e12d1b069305badf158243cde4e1c'/>
<id>urn:sha1:2a954232ec5e12d1b069305badf158243cde4e1c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>reduce number of tests in bn_rand_interval.</title>
<updated>2023-03-08T06:44:45+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-08T06:44:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=61553ad84a963afb2cb5178598c44ed09d4a4f08'/>
<id>urn:sha1:61553ad84a963afb2cb5178598c44ed09d4a4f08</id>
<content type='text'>
This is only testing basic functionality anyway, so 10000 tests are more
than enough.
</content>
</entry>
<entry>
<title>bn_isqrt: reduce number of tests to 100.</title>
<updated>2023-03-08T06:28:08+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-03-08T06:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d00b93818b38166ff03a7f9dcf6993c5acd8edbe'/>
<id>urn:sha1:d00b93818b38166ff03a7f9dcf6993c5acd8edbe</id>
<content type='text'>
The runtime is roughly quadratic in N_TESTS. While it only takes 1-2s on
modern machines, this test takes a long time on slow machines. A reduction
of runtime by a factor of ~16 is significant.
</content>
</entry>
</feed>
