<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn, branch OPENBSD_6_1_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_1_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_1_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2017-01-29T17:49:23+00:00</updated>
<entry>
<title>Send the function codes from the error functions to the bit bucket,</title>
<updated>2017-01-29T17:49:23+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-29T17:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1f47bd292f36094480caa49ada36b99a69c59b0'/>
<id>urn:sha1:d1f47bd292f36094480caa49ada36b99a69c59b0</id>
<content type='text'>
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
</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>use BN_div_nonct where it is safe to do so.</title>
<updated>2017-01-21T23:02:53+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-21T23:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9936e217a29ea9f6450025fa200ac9b8088071b0'/>
<id>urn:sha1:9936e217a29ea9f6450025fa200ac9b8088071b0</id>
<content type='text'>
ok guenther@
</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>/usr/bin/unifdef -D MONT_MUL_MOD -D MONT_EXP_WORD -D RECP_MUL_MOD -m bn_exp.c</title>
<updated>2017-01-21T04:34:16+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-21T04:34:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=31dfbaab5a16857bb52fb54f901acd28b7fd7906'/>
<id>urn:sha1:31dfbaab5a16857bb52fb54f901acd28b7fd7906</id>
<content type='text'>
with some style cleanup after. no binary change
ok jsing@
</content>
</entry>
<entry>
<title>Remove superfluous datatype that is 32 by default.  Clang complains</title>
<updated>2017-01-04T16:52:26+00:00</updated>
<author>
<name>patrick</name>
<email></email>
</author>
<published>2017-01-04T16:52:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=02c91f86be763af7bbb6213b03780bfda07eb6cb'/>
<id>urn:sha1:02c91f86be763af7bbb6213b03780bfda07eb6cb</id>
<content type='text'>
about it and it's ok to remove it.  This only came up as our clang
is targeted at armv7 which enables the NEON instructions.

ok kettenis@
</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>Reduce the ternary operator abuse</title>
<updated>2016-11-08T01:40:22+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2016-11-08T01:40:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1f38dda93111b1ec56d5ed138f7f20ba529857d6'/>
<id>urn:sha1:1f38dda93111b1ec56d5ed138f7f20ba529857d6</id>
<content type='text'>
ok miod@
</content>
</entry>
</feed>
