<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn, branch OPENBSD_7_2</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_2'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2022-08-31T21:34:14+00:00</updated>
<entry>
<title>Add an empty line for consistency.</title>
<updated>2022-08-31T21:34:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-31T21:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6d2b7349d4d2b2a2cda9c056a499da4cb8c64986'/>
<id>urn:sha1:6d2b7349d4d2b2a2cda9c056a499da4cb8c64986</id>
<content type='text'>
</content>
</entry>
<entry>
<title>missing period</title>
<updated>2022-08-29T18:54:06+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-08-29T18:54:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1d9cee78ea462ea59903e576fe1b6ae3fc717afe'/>
<id>urn:sha1:1d9cee78ea462ea59903e576fe1b6ae3fc717afe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidy up some of BN_nist_mod_*</title>
<updated>2022-07-31T14:38:38+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-07-31T14:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=793f0bf715b2ea3e05fd70bb8a65e34b684be562'/>
<id>urn:sha1:793f0bf715b2ea3e05fd70bb8a65e34b684be562</id>
<content type='text'>
Shuffle variables around for consistency, also ensuring appropriate and
consistent initialisation.

ok tb@
</content>
</entry>
<entry>
<title>Use named initialisers for BIGNUMs.</title>
<updated>2022-07-30T18:03:36+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2022-07-30T18:03:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f3de425bf0a752c3b8218d6bc706a25e9fdcca95'/>
<id>urn:sha1:f3de425bf0a752c3b8218d6bc706a25e9fdcca95</id>
<content type='text'>
Also move the _bignum_nist_p_.*_sqr static BIGNUMs out of individual
functions.

ok tb@
</content>
</entry>
<entry>
<title>Having a perfect square at this point is not an error. Rather it is</title>
<updated>2022-07-29T08:37:33+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-29T08:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=913491c1c23978164f1a30fec59f69cdd98ff366'/>
<id>urn:sha1:913491c1c23978164f1a30fec59f69cdd98ff366</id>
<content type='text'>
a shortcut bypassing expensive computation, so change goto err to
goto done. Bug introduced in last refactoring before commit.
</content>
</entry>
<entry>
<title>Tweak some comments and whitespace around comments</title>
<updated>2022-07-29T08:32:20+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-29T08:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=523c0c6c53509dfcd42a189b00dd3864cb9d524d'/>
<id>urn:sha1:523c0c6c53509dfcd42a189b00dd3864cb9d524d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid unnecessary loops in BN_generate_prime_ex()</title>
<updated>2022-07-19T16:19:19+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-19T16:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4a1f63cad5fa65cd18bc4210bda6874a5a94f3d5'/>
<id>urn:sha1:4a1f63cad5fa65cd18bc4210bda6874a5a94f3d5</id>
<content type='text'>
Since there is nothing randomized in bn_is_prime_bpsw(), the concept
of rounds makes no sense. Apply a minimal change for now that avoids
expensive loops that won't change the outcome in case we found a
probable prime.

ok jsing
</content>
</entry>
<entry>
<title>Expand the comment explaining the for loop with bn_lucas_step() a bit.</title>
<updated>2022-07-15T06:19:27+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-15T06:19:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2bc04a5c63b7594d7a7dfc9e582538e7a9267baf'/>
<id>urn:sha1:2bc04a5c63b7594d7a7dfc9e582538e7a9267baf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Comment for factorization of n - 1 = k * 2^s in bn_miller_rabin_base_2()</title>
<updated>2022-07-15T06:14:17+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-15T06:14:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5dce31308f8bddcf5f734188d881c33980c60937'/>
<id>urn:sha1:5dce31308f8bddcf5f734188d881c33980c60937</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename is_perfect_square to out_perfect in prototype to match</title>
<updated>2022-07-15T06:10:00+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2022-07-15T06:10:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=11bf9c5088a25f7f5afe1b201ee2e9a287e5a790'/>
<id>urn:sha1:11bf9c5088a25f7f5afe1b201ee2e9a287e5a790</id>
<content type='text'>
the code in bn_isqrt.c.
</content>
</entry>
</feed>
