#
24882d0a |
| 19-Oct-2023 |
tb <tb@openbsd.org> |
Add a few more test cases for mod_exp aliasing
|
#
7849ca55 |
| 19-Oct-2023 |
tb <tb@openbsd.org> |
Add test case checking aliasing of the result with other arguments
These are expected failures for BN_mod_exp_simple() and the internal BN_mod_exp_recp(), which will be fixed shortly.
|
#
b5847372 |
| 09-May-2023 |
tb <tb@openbsd.org> |
Add regress coverage for -1 modulus as well.
|
#
8f4cde5d |
| 25-Apr-2023 |
tb <tb@openbsd.org> |
Remove a couple of temporary hacks
|
#
9870d2f6 |
| 25-Apr-2023 |
tb <tb@openbsd.org> |
bn_mod_exp: temporarily add a prototype for BN_mod_exp_recp()
|
#
a0987236 |
| 06-Apr-2023 |
tb <tb@openbsd.org> |
Check and assign on one line
|
#
58a53292 |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Rework test failure printing
Make sure it's always printed to stderr. Use a wrapper for printing a BIGNUM rather than repeating the same ugly pattern over and over again.
|
#
7d8f44b3 |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Dedup print functions on test failure
|
#
1cb00aeb |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Fix printfs that escaped defensive grepping
|
#
e0bdcda1 |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Dedup generate_test_triple() and generate_test_quintuple()
|
#
17db9b10 |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Use more consistent names for the main test functions
|
#
f5f16a4e |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Remove one of those ugly function tables
The only reason there were two of them was to avoid some pointless comparisons. The gain is not worth the price.
|
#
c0423487 |
| 29-Mar-2023 |
tb <tb@openbsd.org> |
Rename a few variables for readability
|
#
4141cafd |
| 27-Mar-2023 |
tb <tb@openbsd.org> |
bn_mod_exp: make this test a bit less noisy on failure
While it is good to run more tests on failure, it is pointless to try broken things thousands of times.
|
#
8e84e241 |
| 27-Mar-2023 |
tb <tb@openbsd.org> |
Switch regress to using bn_copy()
|
#
39f402e9 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Fold the small BN_mod_exp2_mont() crash test into bn_mod_exp.c
|
#
a3971f08 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Test negative modulus as well.
Lower the number of rounds. These tests are expensive.
|
#
9cd3ae5c |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Align bn_mod_exp_zero_test() with bn_mod_exp_test()
|
#
f1a5dec3 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Fix copy-paste error
|
#
1b10e4e5 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Fix a typo in dump_exp_results()
|
#
f34e85ac |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Add more extensive regress coverage for BN_mod_exp2_mont()
|
#
1becb5f0 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Rename dump_results() into dump_exp_results()
This prepares for consistency with an upcoming diff. While here fix an argument order bug.
|
#
36cb5e34 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Move the N_MOD_EXP_TESTS up to where it belongs
|
#
3baba9ac |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
Add regress coverage for an issue with BN_mod_exp2_mont() reported by Guido Vranken in ossfuzz #55997. This test currently fails and will be fixed momentarily.
This also checks sensible behavior wit
Add regress coverage for an issue with BN_mod_exp2_mont() reported by Guido Vranken in ossfuzz #55997. This test currently fails and will be fixed momentarily.
This also checks sensible behavior with respect to zero exponents for this functions.
show more ...
|
#
4dc4dc58 |
| 26-Mar-2023 |
tb <tb@openbsd.org> |
bn_mod_exp_ret() fix stupid logic error
|