<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/regress/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-02-23T14:14:37+00:00</updated>
<entry>
<title>Check return value of every BN_* functions in bntest</title>
<updated>2017-02-23T14:14:37+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2017-02-23T14:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=12f3b5d4e332869652488564f0d8546899965af5'/>
<id>urn:sha1:12f3b5d4e332869652488564f0d8546899965af5</id>
<content type='text'>
- add macro CHECK_GOTO
- unify function return code to rc
- add err: label for error goto
ok bcook@
</content>
</entry>
<entry>
<title>Remove unused variable in C source to make the test compile and pass.</title>
<updated>2017-02-07T14:24:34+00:00</updated>
<author>
<name>bluhm</name>
<email></email>
</author>
<published>2017-02-07T14:24:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=2db995a8c0290425b390cdb915b2586eb31dcad4'/>
<id>urn:sha1:2db995a8c0290425b390cdb915b2586eb31dcad4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>LibreSSL : regress for carry bug in mulx4x_mont and sqr8x_mont</title>
<updated>2017-01-31T13:19:05+00:00</updated>
<author>
<name>inoguchi</name>
<email></email>
</author>
<published>2017-01-31T13:19:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=246deb4bbd4aa0deb89c6c0051f717622541248e'/>
<id>urn:sha1:246deb4bbd4aa0deb89c6c0051f717622541248e</id>
<content type='text'>
This regress bntest.c patch is originally from master branch of OpenSSL.
- dca2e0e test/bntest.c: regression test for CVE-2016-7055.
- 3e7a496 test/bntest.c: regression test for carry bug in bn_sqr8x_internal.

These tests were added for these commit.
- 2fac86d bn/asm/x86_64-mont.pl: fix for CVE-2016-7055 (Low severity).
- 3f4bcf5 bn/asm/x86_64-mont5.pl: fix carry bug in bn_sqr8x_internal.

ok beck@
</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>Update libcrypto regress to handle header and non-exported symbol changes.</title>
<updated>2016-12-21T15:51:05+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2016-12-21T15:51:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=e8afa36258d3a8aa37c43dd1c5e2e7410f2c007f'/>
<id>urn:sha1:e8afa36258d3a8aa37c43dd1c5e2e7410f2c007f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>import new BN tests from OpenSSL</title>
<updated>2016-09-03T17:32:06+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-09-03T17:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c0fcb806af94407aeda5f49a7df9ecf880b3ff57'/>
<id>urn:sha1:c0fcb806af94407aeda5f49a7df9ecf880b3ff57</id>
<content type='text'>
New tests that various BIGNUM methods behave correctly on zero/even inputs.
from OpenSSL

ok beck@
</content>
</entry>
<entry>
<title>remove extra assignment of s from 1.11, fix regression test</title>
<updated>2016-07-05T03:55:34+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-07-05T03:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=24fcd6e6bf0cd2070542f46e5dd665d4427bd895'/>
<id>urn:sha1:24fcd6e6bf0cd2070542f46e5dd665d4427bd895</id>
<content type='text'>
</content>
</entry>
<entry>
<title>On systems where we do not have BN_ULLONG defined (most 64-bit systems),</title>
<updated>2016-07-05T02:54:35+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-07-05T02:54:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=29ecf1f5b4cb5a580dcac440216b7127a56e3f84'/>
<id>urn:sha1:29ecf1f5b4cb5a580dcac440216b7127a56e3f84</id>
<content type='text'>
BN_mod_word() can return incorrect results if the supplied modulus is
too big, so we need to fall back to BN_div_word.

Now that BN_mod_word may fail, handle errors properly update the man page.

Thanks to Brian Smith for pointing out these fixes from BoringSSL:

https://boringssl.googlesource.com/boringssl/+/67cb49d045f04973ddba0f92fe8a8ad483c7da89
https://boringssl.googlesource.com/boringssl/+/44bedc348d9491e63c7ed1438db100a4b8a830be

ok beck@
</content>
</entry>
<entry>
<title>check return value for BN_hex2bn in regression tests</title>
<updated>2016-03-13T18:22:43+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2016-03-13T18:22:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=4f318dbd3fc00556c0c150ffedea1853d3b4c9b4'/>
<id>urn:sha1:4f318dbd3fc00556c0c150ffedea1853d3b4c9b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove mysterious, decorative comment blocklets</title>
<updated>2015-07-18T17:36:50+00:00</updated>
<author>
<name>bcook</name>
<email></email>
</author>
<published>2015-07-18T17:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cd74a2dfb50e2b51fdd49889459fc393f05ec3d0'/>
<id>urn:sha1:cd74a2dfb50e2b51fdd49889459fc393f05ec3d0</id>
<content type='text'>
</content>
</entry>
</feed>
