| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
num calculations and avoids lots of ugly output to stdout. Remove
fflush(3) of stderr, it is unbuffered anyway.
with Moritz Buhl
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- add macro CHECK_GOTO
- unify function return code to rc
- add err: label for error goto
ok bcook@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
|
| |
New tests that various BIGNUM methods behave correctly on zero/even inputs.
from OpenSSL
ok beck@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
| |
The tests will fail all the same.
Fixes Coverity 78811 21659 21658 21657. Discussed with beck@
|
|
|
|
|
|
|
|
|
|
|
| |
See https://www.openssl.org/news/secadv_20150108.txt for a more detailed
discussion.
Original OpenSSL patch here:
https://github.com/openssl/openssl/commit/a7a44ba55cb4f884c6bc9ceac90072dea38e66d0
The regression test is modified a little for KNF.
ok miod@
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
RT.
|
|
|
|
| |
ok miod@
|
|
it getting siblings.
|