<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/dsa, branch libressl-v2.6.5</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.6.5</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.6.5'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2018-06-13T15:07:19+00:00</updated>
<entry>
<title>MFC: Avoid a timing side-channel leak when generating DSA and ECDSA</title>
<updated>2018-06-13T15:07:19+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2018-06-13T15:07:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b7f92fb83a3deedd2af121feaaaa3e70fae56eca'/>
<id>urn:sha1:b7f92fb83a3deedd2af121feaaaa3e70fae56eca</id>
<content type='text'>
signatures.

This is caused by an attempt to do fast modular arithmetic, which
introduces branches that leak information regarding secret values.

Issue identified and reported by Keegan Ryan of NCC Group.

ok beck@ tb@
</content>
</entry>
<entry>
<title>use freezero() instead of memset/explicit_bzero + free.  Substantially</title>
<updated>2017-05-02T03:59:45+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2017-05-02T03:59:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5904cc0e04409fde39a97e6580535da34eeb4291'/>
<id>urn:sha1:5904cc0e04409fde39a97e6580535da34eeb4291</id>
<content type='text'>
reduces conditional logic (-218, +82).

MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH cache alignment calculation bn/bn_exp.c
wasn'tt quite right.  Two other tricky bits with ASN1_STRING_FLAG_NDEF and
BN_FLG_STATIC_DATA where the condition cannot be collapsed completely.

Passes regress.  ok beck
</content>
</entry>
<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>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>Expand ASN1_ITEM_rptr macro - no change in generated assembly.</title>
<updated>2016-12-30T15:28:42+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-12-30T15:28:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9abb4e3e6af169bb9250abceb9ac5f988efd027d'/>
<id>urn:sha1:9abb4e3e6af169bb9250abceb9ac5f988efd027d</id>
<content type='text'>
</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>Kill a bunch of OLD_ASN1 usage by replacing ASN1_{d2i,i2d}_* with</title>
<updated>2016-11-04T18:35:30+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-11-04T18:35:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=1f8672c818cfdd9f4dd34f5ab1bdc1bbf575321d'/>
<id>urn:sha1:1f8672c818cfdd9f4dd34f5ab1bdc1bbf575321d</id>
<content type='text'>
ASN1_item_{d2i,i2d}_* equivalents.

ok guenther@ miod@
</content>
</entry>
<entry>
<title>unifdef OPENSSL_NO_CMS</title>
<updated>2016-10-19T16:49:11+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-10-19T16:49:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2a3b8c956b102b5686a0e8569612a0edb275f365'/>
<id>urn:sha1:2a3b8c956b102b5686a0e8569612a0edb275f365</id>
<content type='text'>
</content>
</entry>
</feed>
