<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn/bn.h, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2019-08-25T19:24:00+00:00</updated>
<entry>
<title>Change generating and checking of primes so that the error rate of</title>
<updated>2019-08-25T19:24:00+00:00</updated>
<author>
<name>schwarze</name>
<email></email>
</author>
<published>2019-08-25T19:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=0fd355ae5ac95f1b4265d2c28d096b63de52a902'/>
<id>urn:sha1:0fd355ae5ac95f1b4265d2c28d096b63de52a902</id>
<content type='text'>
not being prime depends on the intended use based on the size of
the input.  For larger primes this will result in more rounds of
Miller-Rabin.  The maximal error rate for primes with more than
1080 bits is lowered to 2^-128.
Patch from Kurt Roeckx &lt;kurt@roeckx.be&gt; and Annie Yousar
via OpenSSL commit feac7a1c Jul 25 18:55:16 2018 +0200,
still under a free license.
OK tb@.
</content>
</entry>
<entry>
<title>Provide BN_GENCB_new(), BN_GENCB_free() and BN_GENCB_get_arg()</title>
<updated>2018-02-20T17:13:14+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-20T17:13:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=293a70c9811459080f491f606e3ce48530401462'/>
<id>urn:sha1:293a70c9811459080f491f606e3ce48530401462</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Provide BN_get_rfc2409_prime_*() and BN_get_rfc3526_prime_*().</title>
<updated>2018-02-20T17:02:30+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-02-20T17:02:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b647d28a68beee37f49a7301d01f2895030f0682'/>
<id>urn:sha1:b647d28a68beee37f49a7301d01f2895030f0682</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Construct a BN_gcd_nonct, based on BN_mod_inverse_no_branch, as suggested</title>
<updated>2017-01-25T06:15:44+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-25T06:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f741256ec38e0e3f1664f26f154e27323aa56472'/>
<id>urn:sha1:f741256ec38e0e3f1664f26f154e27323aa56472</id>
<content type='text'>
by Alejandro Cabrera &lt;aldaya@gmail.com&gt; to avoid the possibility of a
sidechannel timing attack during RSA private key generation.

Modify BN_gcd to become not visible under LIBRESSL_INTERNAL and force
the use of the _ct or _nonct versions of the function only within
the library.

ok jsing@
</content>
</entry>
<entry>
<title>Add ct and nonct versions of BN_mod_inverse for internal use</title>
<updated>2017-01-21T11:00:47+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-21T11:00:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=48df727a3547375dae8622c34fb55bdf5ef2c44c'/>
<id>urn:sha1:48df727a3547375dae8622c34fb55bdf5ef2c44c</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Split out BN_div and BN_mod into ct and nonct versions for Internal use.</title>
<updated>2017-01-21T10:38:29+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-21T10:38:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=55a172a1ed5b0cd8f7de3628fcc2e56df6716d59'/>
<id>urn:sha1:55a172a1ed5b0cd8f7de3628fcc2e56df6716d59</id>
<content type='text'>
ok jsing@
</content>
</entry>
<entry>
<title>Make explicit _ct and _nonct versions of bn_mod_exp funcitons that</title>
<updated>2017-01-21T09:38:59+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-21T09:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a0a595cda97de2b217b0582cfa601ee4c746bfce'/>
<id>urn:sha1:a0a595cda97de2b217b0582cfa601ee4c746bfce</id>
<content type='text'>
matter for constant time, and make the public interface only used
external to the library.

This moves us to a model where the important things are constant time
versions unless you ask for them not to be, rather than the opposite.
I'll continue with this method by method.

Add regress tests for same.
ok jsing@
</content>
</entry>
<entry>
<title>Explicitly export a list of symbols from libcrypto.</title>
<updated>2016-12-21T15:49:29+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-12-21T15:49:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=18adabd97858ed28289c9dc31e8042c515840be4'/>
<id>urn:sha1:18adabd97858ed28289c9dc31e8042c515840be4</id>
<content type='text'>
Move the "internal" BN functions from bn.h to bn_lcl.h and stop exporting
the bn_* symbols. These are documented as only being intended for internal
use, so why they were placed in a public header is beyond me...

This hides 363 previously exported symbols, most of which exist in headers
that are not installed and were never intended to be public. This also
removes a few crusty old things that should have died long ago (like
_ossl_old_des_read_pw). But don't worry... there are still 3451 symbols
exported from the library.

With input and testing from inoguchi@.

ok beck@ inoguchi@
</content>
</entry>
<entry>
<title>graduate bn_expand() to a real function.  the openssl version of this</title>
<updated>2016-03-04T16:23:30+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2016-03-04T16:23:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5a8200b9524c9bceedeb01dec021bdfe4b411500'/>
<id>urn:sha1:5a8200b9524c9bceedeb01dec021bdfe4b411500</id>
<content type='text'>
uses a macro with multiple-evaluations of arguments (different amount
than the previous version..), but doug/bcook's inline version makes
BIGNUM not opaque [problem spotted by naddy]
ok doug
</content>
</entry>
<entry>
<title>Revert bn_expand until there's consensus on a fix.</title>
<updated>2016-03-04T16:06:38+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2016-03-04T16:06:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=53e590cd0b88d318840cd7b01b428951c8a35458'/>
<id>urn:sha1:53e590cd0b88d318840cd7b01b428951c8a35458</id>
<content type='text'>
</content>
</entry>
</feed>
