<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/ec/ecp_mont.c, 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>2018-11-05T20:18:21+00:00</updated>
<entry>
<title>Implement coordinate blinding for EC_POINT.</title>
<updated>2018-11-05T20:18:21+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-11-05T20:18:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ea31526c33ba6c4d95aeecabfffcba9455d6b4de'/>
<id>urn:sha1:ea31526c33ba6c4d95aeecabfffcba9455d6b4de</id>
<content type='text'>
Based on OpenSSL commit 875ba8b21ecc65ad9a6bdc66971e50
by Billy Brumley, Sohaib ul Hassan and Nicola Tuveri.

ok beck jsing

commit 875ba8b21ecc65ad9a6bdc66971e50461660fcbb
Author: Sohaib ul Hassan &lt;soh.19.hassan@gmail.com&gt;
Date:   Sat Jun 16 17:07:40 2018 +0300

    Implement coordinate blinding for EC_POINT

    This commit implements coordinate blinding, i.e., it randomizes the
    representative of an elliptic curve point in its equivalence class, for
    prime curves implemented through EC_GFp_simple_method,
    EC_GFp_mont_method, and EC_GFp_nist_method.

    This commit is derived from the patch
    https://marc.info/?l=openssl-dev&amp;m=131194808413635 by Billy Brumley.

    Coordinate blinding is a generally useful side-channel countermeasure
    and is (mostly) free. The function itself takes a few field
    multiplicationss, but is usually only necessary at the beginning of a
    scalar multiplication (as implemented in the patch). When used this way,
    it makes the values that variables take (i.e., field elements in an
    algorithm state) unpredictable.

    For instance, this mitigates chosen EC point side-channel attacks for
    settings such as ECDH and EC private key decryption, for the
    aforementioned curves.

    For EC_METHODs using different coordinate representations this commit
    does nothing, but the corresponding coordinate blinding function can be
    easily added in the future to extend these changes to such curves.

    Co-authored-by: Nicola Tuveri &lt;nic.tuv@gmail.com&gt;
    Co-authored-by: Billy Brumley &lt;bbrumley@gmail.com&gt;

    Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
    Reviewed-by: Nicola Tuveri &lt;nic.tuv@gmail.com&gt;
    Reviewed-by: Andy Polyakov &lt;appro@openssl.org&gt;
    (Merged from https://github.com/openssl/openssl/pull/6526)
</content>
</entry>
<entry>
<title>Recommit Billy Brumley's ECC constant time patch with a fix for sparc64</title>
<updated>2018-07-16T17:32:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-07-16T17:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=6660b13e9adcfa5e38779a7026a3a21bcb065c2d'/>
<id>urn:sha1:6660b13e9adcfa5e38779a7026a3a21bcb065c2d</id>
<content type='text'>
from Nicola Tuveri (who spotted the omission of ecp_nist.c from the PR).

discussed with jsing
tested by jsg
</content>
</entry>
<entry>
<title>recommit label indentation part of the backout; clearly unrelated to the</title>
<updated>2018-07-15T16:27:39+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-07-15T16:27:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e2da96a71555180892d2e924d66c06a17b7a86e5'/>
<id>urn:sha1:e2da96a71555180892d2e924d66c06a17b7a86e5</id>
<content type='text'>
breakage.
</content>
</entry>
<entry>
<title>back out ecc constant time changes</title>
<updated>2018-07-15T05:38:48+00:00</updated>
<author>
<name>jsg</name>
<email></email>
</author>
<published>2018-07-15T05:38:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ccbfd1fe05749d4f08db7f45fe5db1fac8d14d6b'/>
<id>urn:sha1:ccbfd1fe05749d4f08db7f45fe5db1fac8d14d6b</id>
<content type='text'>
after the constant time commits various regress tests started failing
on sparc64 ssh t9, libcrypto ec ecdh ecdsa and trying to ssh out
resulted in 'invalid elliptic curve value'

ok tb@
</content>
</entry>
<entry>
<title>Indent labels by a space so they don't obliterate function names in diffs.</title>
<updated>2018-07-10T22:06:14+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-07-10T22:06:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a7fe13b565d141da544ee36178a90bb52f4939d1'/>
<id>urn:sha1:a7fe13b565d141da544ee36178a90bb52f4939d1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ECC constant time scalar multiplication support. First step in overhauling</title>
<updated>2018-07-10T21:55:49+00:00</updated>
<author>
<name>tb</name>
<email></email>
</author>
<published>2018-07-10T21:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=b62b7e947c1bd8c9c63ae48ad7c4bb7943fe2269'/>
<id>urn:sha1:b62b7e947c1bd8c9c63ae48ad7c4bb7943fe2269</id>
<content type='text'>
the EC module.

From Billy Brumley and his team, via
https://github.com/libressl-portable/openbsd/pull/94

With tweaks from jsing and me.

ok jsing
</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>fix leaking of bn, coverity issue 105351</title>
<updated>2015-02-13T00:46:03+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2015-02-13T00:46:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=17f71011dbdc7843cd4ccd2adcf653f7affcbda4'/>
<id>urn:sha1:17f71011dbdc7843cd4ccd2adcf653f7affcbda4</id>
<content type='text'>
ok doug@
</content>
</entry>
<entry>
<title>if (x) FOO_free(x) -&gt; FOO_free(x).</title>
<updated>2014-07-12T16:03:37+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-12T16:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=068bf464df6ef084067943863d776f59762bfaf0'/>
<id>urn:sha1:068bf464df6ef084067943863d776f59762bfaf0</id>
<content type='text'>
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review &amp; ok deraadt@
</content>
</entry>
<entry>
<title>tags as requested by miod and tedu</title>
<updated>2014-06-12T15:49:31+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-06-12T15:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59f4f2c61d71e266d37dd2fc97615b3fd35b4721'/>
<id>urn:sha1:59f4f2c61d71e266d37dd2fc97615b3fd35b4721</id>
<content type='text'>
</content>
</entry>
</feed>
