Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-18 | ectest: unifdef OPENSSL_NO_EC2M | Theo Buehler | |
2023-04-17 | Skip binary curves in ec_point_conversion | Theo Buehler | |
2023-04-17 | Switch all ec tests to using dynamic linking | Theo Buehler | |
This only requires very minor changes and simplifies testing quite a bit. Some of the changes can be undone after the next bump. | |||
2023-04-17 | Simplify Makefile | Theo Buehler | |
2023-04-17 | Drop GF2m tests | Theo Buehler | |
The code they test will go away soon. | |||
2023-04-17 | Allow overriding the bc implementation used in run-bc | Theo Buehler | |
While base bc is great, it uses libcrypto's BIGNUM implementation. This implies that the independent verification of the bn_test isn't as independent as it should be. With this commit, run-bc picks up bn-gh if it is installed. This appears to work on amd64, arm64 and sparc64 (where gbc is busted). I will send PRs to the regress maintainers once I will have tested this a bit more thoroughly. Committing this early since I juggle way too many diffs already. | |||
2023-04-17 | Fix typo | Theo Buehler | |
2023-04-17 | Skip sect* curve checks | Theo Buehler | |
GF2m curves will go away soon. This reduces the pile of diffs in my jungle a tiny little bit. | |||
2023-04-15 | ec_point_conversion: do not rely on ec.h pulling in bn.h | Theo Buehler | |
2023-04-15 | ssltest: Drop more policy go from this test. | Theo Buehler | |
Hopefully that is all. What an absolutely horrid mess. | |||
2023-04-15 | ssltest: initial pass of dropping proxy cert goo | Theo Buehler | |
2023-04-15 | symbols test: drop LIBRESSL_INTERNAL | Theo Buehler | |
This tests the external API, so it should not have visibility to the inside. Silences two warnings since EC_{GROUP,POINT}_clear_free() are now wrapped in #ifndef LIBRESSL_INTERNAL. | |||
2023-04-14 | cttest: plug leak due to missing SCT_LIST_free() | Theo Buehler | |
2023-04-14 | Plug a memleak caused by an extra bump of a refcount | Theo Buehler | |
SSL_set_session() should really be called SSL_set1_session()... | |||
2023-04-14 | Cast the uint64_t SCT timestamps to (unsigned long long) for printing. | Theo Buehler | |
What a wonderful choice between this and that PRI ugliness... | |||
2023-04-14 | Make the signertest work better with the portable test framework | Theo Buehler | |
2023-04-14 | Make the apitest work better with the portable tets framework | Theo Buehler | |
2023-04-14 | Make cttest work better with the portable test harness | Theo Buehler | |
2023-04-14 | Fix cttest to use public header | Theo Buehler | |
2023-04-13 | Fix compilation on sparc64. | Moritz Buhl | |
2023-04-13 | ectest: missing error checking | Theo Buehler | |
CID 452228 | |||
2023-04-11 | bn_mod_sqrt: remove no longer necessary complications due to the | Theo Buehler | |
non-deterministic nature of the old implementation. | |||
2023-04-11 | Correct benchmark result computation on 32 bit platforms. | Joel Sing | |
2023-04-10 | Some more cleanup in bn_to_string | Theo Buehler | |
2023-04-10 | Drop BN_NO_DEPRECATED dance from bn_test | Theo Buehler | |
2023-04-10 | Provide benchmarks for BN_copy() | Joel Sing | |
2023-04-10 | bn_to_string no longer needs to be linked statically | Theo Buehler | |
2023-04-10 | Rework the bn_to_string() to use public API | Theo Buehler | |
We can use the undocumented functions {i2s,s2i}_ASN1_INTEGER(3) to exercise bn_to_string(). This way we use public API and remove the need of linking statically. | |||
2023-04-08 | bn_test: two minor style tweaks | Theo Buehler | |
2023-04-07 | bn_test: rename rc into ret as per usual | Theo Buehler | |
2023-04-07 | bn_test: pass BN_CTX into all functions | Theo Buehler | |
There is a BN_CTX at program scope. Pass it into all test functions. This simplifies memory management at the end of the functions quite a bit. | |||
2023-04-07 | bn_test: drop a few braces that are now unnecessary | Theo Buehler | |
2023-04-07 | bn_test: move rc initialization to its own line | Theo Buehler | |
2023-04-07 | bn_test: keep the error stack clean | Theo Buehler | |
Make message() print and clear the error stack. This way we can know what test errored. To make this work also clear the error stack after a handful of xfail tests. | |||
2023-04-07 | bn_test: use bn_copy() instead of BN_free/BN_dup | Theo Buehler | |
This is not only simpler but also required by an upcoming change. | |||
2023-04-07 | bn_test: a few early return would leak. goto err instead | Theo Buehler | |
2023-04-07 | bn_test: rand_neg() is not only one of the most stupidly named functions | Theo Buehler | |
in the entire code base it also has a few parentheses too many | |||
2023-04-07 | bn_test: handle rc consistently | Theo Buehler | |
Various test functions had bugs due to the fact that the return code would be set to 1 at the top so that each error would have to set rc = 0. This is silly. Fail closed instead by setting rc = 0 at the top and only flipping to 1 before the err label | |||
2023-04-07 | bn_test: inline the only use of lst[] | Theo Buehler | |
lst[] can be converted from a bit string to a hex string. Use BN_hex2bn() isntead of BN_bin2bn(). Handle this inside test_lshift() rather than doing artistic ownership dances. | |||
2023-04-07 | Improve some test failure reporting | Theo Buehler | |
2023-04-07 | Ignore ten getter and setter control macros related to proxy BIOs. | Ingo Schwarze | |
Those are not useful because such a BIO type neither exists in LibreSSL nor in OpenSSL 1.1.1. Not adding the deprecation notice to some manual page because there is no manual page that is even vaguely related. | |||
2023-04-07 | Two minor tweaks that are useful for processing bio.h, among other headers: | Ingo Schwarze | |
* ignore lines defining "__bounded__()" * ignore whitespace between "#" and "include" | |||
2023-04-06 | Move a comment to the proper place | Theo Buehler | |
2023-04-06 | wycheproof: fix copy-paste error in previous | Theo Buehler | |
2023-04-06 | wycheproof: use EVP_MD instead of importing "hash" | Theo Buehler | |
2023-04-06 | Check and assign on one line | Theo Buehler | |
2023-04-06 | Zap extra empty line | Theo Buehler | |
2023-04-05 | bn_mod_sqrt: Improve a handful of comments and a printf | Theo Buehler | |
2023-04-05 | Improve regress coverage for BN_mod_sqrt() | Theo Buehler | |
This now covers all the main branches of both the old and new BN_mod_sqrt() implementation except for negative p. | |||
2023-04-05 | Simplify mod_sqrt_test() a bit | Theo Buehler | |