Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | KNF: some missing spaces after comma | tb | 2023-03-18 | 1 | -5/+5 |
| | |||||
* | Rename bn_mod_exp_zero to the more appropriate bn_mod_exp | tb | 2023-03-18 | 2 | -4/+4 |
| | |||||
* | Retire the bn_mod_exp test. | tb | 2023-03-18 | 2 | -222/+1 |
| | | | | Its is fully covered by bn_mod_exp_zero now. | ||||
* | Reimplement a variant of the bn_mod_exp tests from scratch | tb | 2023-03-18 | 1 | -2/+202 |
| | | | | | This exercises the same corner cases as bn_mod_exp and a few more. With input from jsing | ||||
* | Include tests with negative values in BN_mod_exp* regress. | jsing | 2023-03-15 | 1 | -2/+15 |
| | | | | This currently fails. | ||||
* | bn_mod_exp_zero: rename result into got | tb | 2023-03-15 | 1 | -14/+14 |
| | |||||
* | Add OPENSSL_cleanup() calls to some regress. | jsing | 2023-03-11 | 2 | -2/+6 |
| | | | | This gets us some minimal test coverage. | ||||
* | Add regress coverage for BN_{add,sub,mul,div,mod}_word(). | jsing | 2023-03-11 | 2 | -1/+619 |
| | | | | | | | This also provides some indirect coverage for BN_hex2bn(), BN_bn2hex() and BN_get_word(). Two of these tests are currently failing and will be fixed shortly. | ||||
* | Mark test table as static const. | jsing | 2023-03-11 | 1 | -2/+2 |
| | |||||
* | Use BN_free() instead of BN_clear_free() | tb | 2023-03-08 | 1 | -2/+2 |
| | |||||
* | reduce number of tests in bn_rand_interval. | tb | 2023-03-08 | 1 | -2/+2 |
| | | | | | This is only testing basic functionality anyway, so 10000 tests are more than enough. | ||||
* | bn_isqrt: reduce number of tests to 100. | tb | 2023-03-08 | 1 | -2/+2 |
| | | | | | | The runtime is roughly quadratic in N_TESTS. While it only takes 1-2s on modern machines, this test takes a long time on slow machines. A reduction of runtime by a factor of ~16 is significant. | ||||
* | Process up to four test vector files concurrently. | jsing | 2023-03-08 | 1 | -4/+30 |
| | | | | | | | | | This avoids having a slow down when processing test vector files that only have a single group. Note that the processing of test vector files is in turn going to be rate limited by the number of concurrent test groups, which means we do not need variable limits for vectors. Reduces a Wycheproof regress run down to ~8 seconds on an Apple M1. | ||||
* | Run test groups concurrently. | jsing | 2023-03-08 | 1 | -144/+151 |
| | | | | | | | Add a basic test coordinator, that allows for Wycheproof test groups to be run concurrently. This can be further improved (especially for vectors that have limited test groups), however it already reduces the regress duration by about half on an Apple M1. | ||||
* | zap more audit remnants | tb | 2023-03-08 | 1 | -6/+1 |
| | |||||
* | Remove acceptable audit. | jsing | 2023-03-08 | 1 | -94/+1 |
| | | | | | | | This code would need changes to be safe to use concurrently - remove it since it is somewhat incomplete and needs reworking. Requested by tb@ | ||||
* | bio_chain test: fix error message | tb | 2023-03-04 | 1 | -2/+2 |
| | |||||
* | Simplify the ct Makefile slightly | tb | 2023-03-02 | 1 | -7/+3 |
| | |||||
* | Clean up the x509 regress make file a little | tb | 2023-03-02 | 1 | -27/+10 |
| | |||||
* | Remove a few more unnecessary line continuations | tb | 2023-03-02 | 1 | -4/+4 |
| | |||||
* | Nitpick error checks of BN_get_mem_data() | tb | 2023-03-02 | 1 | -15/+27 |
| | | | | | BN_get_mem_data() returns a non-positive long on error, so assigning it to a size_t and displaying that in error messages is incorrect. | ||||
* | Some more Makefile cosmetics | tb | 2023-03-02 | 1 | -10/+15 |
| | | | | | The verbose evp test actually depends on the evptest binary. Use consistent spacing and indentation. | ||||
* | The evp_ecx_test no longer needs static linking | tb | 2023-03-02 | 1 | -3/+1 |
| | |||||
* | Hide the hexdumps behind a verbose flags. Should have been part of | tb | 2023-03-02 | 1 | -26/+45 |
| | | | | the previous commit. | ||||
* | Simplify evp test Makefile. | tb | 2023-03-02 | 1 | -18/+5 |
| | | | | | Make evptest silent by default: these pages of hexdumps are useless noise. Add a verbose target for debugging. | ||||
* | evp_pkey_check: make this test silent on success | tb | 2023-03-02 | 1 | -18/+13 |
| | |||||
* | Remove a few unnecessary line continuations | tb | 2023-03-02 | 1 | -7/+7 |
| | |||||
* | Comment out glob for JSON webcrypto tests for now | tb | 2023-03-01 | 1 | -2/+3 |
| | | | | | Allows test to pass with the old version of the wycheproof-testvectors package. | ||||
* | Explicitly skip the json_web* tests now. | tb | 2023-02-28 | 1 | -1/+2 |
| | |||||
* | Add a few missing NIDs for new Wycheproof tests. | tb | 2023-02-28 | 1 | -1/+12 |
| | |||||
* | Skip FRP256v1 curve in ECDH tests. We do not support it. | tb | 2023-02-28 | 1 | -1/+6 |
| | |||||
* | Add regress coverage for BN_num_bits_word() | tb | 2023-02-14 | 1 | -1/+25 |
| | |||||
* | asn1x509 test: Remove unnecessary line continuations | tb | 2023-02-13 | 1 | -24/+24 |
| | |||||
* | Revise for negative zero changes. | jsing | 2023-02-13 | 1 | -2/+2 |
| | |||||
* | Add currently failing negative zero check to BN_rshift() regress. | jsing | 2023-02-13 | 1 | -1/+5 |
| | |||||
* | Sync function prototypes and declarations to satisfy clang 15. | anton | 2023-02-02 | 1 | -3/+3 |
| | | | | ok jsing@ | ||||
* | Don't run session tests with openssl 3.0 - these tests aren't TLSv1.3 ready | tb | 2023-02-01 | 1 | -2/+2 |
| | |||||
* | Hopefully the last one. | tb | 2023-02-01 | 1 | -4/+4 |
| | |||||
* | One more openssl 1.0.2 thing missed. | tb | 2023-02-01 | 1 | -4/+4 |
| | |||||
* | Switch from eopenssl to eopenssl30. Missed in both previous commits | tb | 2023-02-01 | 1 | -4/+4 |
| | | | | for some reason. | ||||
* | Retire OpenSSL 1.0.2 interop | tb | 2023-02-01 | 7 | -93/+13 |
| | | | | | | Now that the OpenSSL 1.0.2 port is gone, there's no need to keep the interop tests anymore. anton's and bluhm's regress tests will switch to testing interoperability with OpenSSL 3.0. | ||||
* | Add bn/arch/${MACHINE_CPU} to the include path. | jsing | 2023-01-31 | 1 | -1/+2 |
| | | | | This will be needed once headers pull in bn_arch.h. | ||||
* | Add more regress tests for BN_usub(). | jsing | 2023-01-31 | 1 | -1/+22 |
| | | | | | | This adds more tests for BN_usub(), particularly where b > a, which should be an error condition. One of these currently succeeds and produces incorrect results. | ||||
* | Use utime in order to make benchmarks less noisy and more consistent. | jsing | 2023-01-29 | 1 | -5/+14 |
| | |||||
* | Set BN_FLG_CONSTTIME on benchmark inputs. | jsing | 2023-01-29 | 1 | -1/+4 |
| | | | | | The public APIs still change behaviour based on BN_FLG_CONSTTIME - set it to avoid benchmark noise. | ||||
* | Add benchmarks for BN_div() | jsing | 2023-01-29 | 1 | -10/+147 |
| | |||||
* | Correct setup for BN_mul/BN_sqr benchmarks. | jsing | 2023-01-29 | 1 | -4/+4 |
| | | | | BN_rand() takes a bit length, not the top bit. | ||||
* | Rename bn_mul.c regress to bn_mul_div.c. | jsing | 2023-01-29 | 2 | -5/+5 |
| | |||||
* | Switch regress to using x509_verify.h from libcrypto instead of the | tb | 2023-01-28 | 4 | -8/+12 |
| | | | | one in /usr/include/openssl. | ||||
* | Add openssl 3.0 interop tests | tb | 2023-01-27 | 5 | -12/+70 |
| | | | | | | | | | | The plan is to retire the 1.0.2 interop tests soon so as to be able to drop the dead and dangerous OpenSSL 1.0.2 port. The cert part is extremely slow on arm64: the whole interop test on an m1 is about 10x slower (~45 min!) than on a modern amd64 laptop, so people running regress may want to wait a bit with adding OpenSSL 3 to their test boxes until this is sorted out. |