<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/man/BN_add.3, branch OPENBSD_7_9</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_7_9'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2025-06-08T22:37:23+00:00</updated>
<entry>
<title>remove some "intentionally undocumented" comments regarding stuff</title>
<updated>2025-06-08T22:37:23+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2025-06-08T22:37:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cbf57819789cbe26f15f3050c6894686760f37ff'/>
<id>urn:sha1:cbf57819789cbe26f15f3050c6894686760f37ff</id>
<content type='text'>
that no longer exists, and add .Lb;
OK tb@
</content>
</entry>
<entry>
<title>One more reciprocal thing hid in here (yay for consistent naming)</title>
<updated>2023-04-27T09:47:03+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-04-27T09:47:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=98ee9f346e790aa2bfa3807d4d61f94eefae0b08'/>
<id>urn:sha1:98ee9f346e790aa2bfa3807d4d61f94eefae0b08</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove stale references to BN reciprocal stuff</title>
<updated>2023-04-27T09:45:56+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2023-04-27T09:45:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9e269ddd46241119fdcc3af369e2edd762d49df6'/>
<id>urn:sha1:9e269ddd46241119fdcc3af369e2edd762d49df6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Correctly detect b &lt; a in BN_usub().</title>
<updated>2023-01-31T05:16:52+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2023-01-31T05:16:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1577bb088bd6ac8a2578ab2e8af7f0ed8cbb1584'/>
<id>urn:sha1:1577bb088bd6ac8a2578ab2e8af7f0ed8cbb1584</id>
<content type='text'>
BN_usub() requires that a &gt;= b and should return an error in the case that
b &lt; a. This is currently only detected by checking the number of words in
a versus b - if they have the same number of words, the top word is not
checked and b &lt; a, which then succeeds and produces an incorrect result.

Fix this by checking for the case where a and b have an equal number of
words, yet there is a borrow returned from bn_sub_words().

ok miod@ tb@
</content>
</entry>
<entry>
<title>Mark BN_mod_exp2_mont() as intentionally undocumented.</title>
<updated>2022-11-16T14:19:22+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2022-11-16T14:19:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=77a3b20bb6667875feeabcc3a6d0ce661a7e86b8'/>
<id>urn:sha1:77a3b20bb6667875feeabcc3a6d0ce661a7e86b8</id>
<content type='text'>
It appears to be intended for internal use by DSA_do_verify(3) and using
codesearch.debian.net, i found nothing outside OpenSSL/LibreSSL using it.

In April 2018, jsing@ questioned whether the five related functions
BN_mod_exp_mont() and friends should even be exposed by &lt;openssl/bn.h&gt;,
so we decided to not document them.  Now tb@ agrees that there is no
reason to document BN_mod_exp2_mont() as long as we don't want to
document BN_mod_exp_mont().
</content>
</entry>
<entry>
<title>document BN_mod_add_quick(3), BN_mod_sub_quick(3), BN_mod_lshift(3),</title>
<updated>2021-12-20T15:02:13+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-12-20T15:02:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f14d20faee1233d876501169cdc7e9801e5484fd'/>
<id>urn:sha1:f14d20faee1233d876501169cdc7e9801e5484fd</id>
<content type='text'>
BN_mod_lshift_quick(3), BN_mod_lshift1(3), and BN_mod_lshift1_quick(3)
</content>
</entry>
<entry>
<title>document BN_uadd(3) and BN_usub(3)</title>
<updated>2021-12-19T18:39:32+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2021-12-19T18:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9cf4ce2a85aec873af2651aa5b17e00dceb55dc3'/>
<id>urn:sha1:9cf4ce2a85aec873af2651aa5b17e00dceb55dc3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add missing const qualifiers in a number of BN_* manuals.</title>
<updated>2021-11-30T18:34:35+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2021-11-30T18:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=dde92987aa87589258a2bf0945bd631409a3006d'/>
<id>urn:sha1:dde92987aa87589258a2bf0945bd631409a3006d</id>
<content type='text'>
ok schwarze
</content>
</entry>
<entry>
<title>In view of the recent BN_FLG_CONSTTIME vulnerabilities in OpenSSL,</title>
<updated>2018-04-29T15:58:21+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2018-04-29T15:58:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0cafa356a8c4c7fcd0ceea551f687c5d7fbef24e'/>
<id>urn:sha1:0cafa356a8c4c7fcd0ceea551f687c5d7fbef24e</id>
<content type='text'>
carefully document constant time vs. non-constant time operation
of BN_div(3), BN_mod_exp(3), and BN_mod_inverse(3).

Until the work that is required on the ill-designed BN_exp(3) and
BN_gcd(3) interfaces can be undertaken, also document the imperfections
in their behaviour, for now.  Finally, mention BN_mod_exp(3) behaviour
for even moduli.

Delete the vague statement about some functions automatically
setting BN_FLG_CONSTTIME.  It created a false sense of security.
Do not rely on it: not all relevant functions do that.

Topic brought up by beck@, significant feedback and OK jsing@.
</content>
</entry>
<entry>
<title>found a complete archive of SSLeay-0.4 to SSLeay-0.8.1b tarballs</title>
<updated>2018-03-27T17:35:50+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2018-03-27T17:35:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=30d10c511917e0e339dec931667fc4b6eb014430'/>
<id>urn:sha1:30d10c511917e0e339dec931667fc4b6eb014430</id>
<content type='text'>
on the web, so fix up SSLeay HISTORY accordingly
</content>
</entry>
</feed>
