Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rename dercache regress test to x509_asn1 | job | 2023-04-26 | 2 | -5/+5 | |
| | | | | Requested by jsing@ | |||||
* | Add regress test for invalidation of DER cache in select X509 setter functions | job | 2023-04-25 | 2 | -2/+200 | |
| | ||||||
* | bio_asn1: adjust for more recent churn | tb | 2023-04-25 | 2 | -2/+6 | |
| | ||||||
* | Remove a couple of temporary hacks | tb | 2023-04-25 | 2 | -17/+2 | |
| | ||||||
* | Update Wycheproof.go to exercise truncated SHA-2 and SHA-3 | tb | 2023-04-25 | 1 | -5/+27 | |
| | ||||||
* | bn_mod_exp: temporarily add a prototype for BN_mod_exp_recp() | tb | 2023-04-25 | 1 | -1/+4 | |
| | ||||||
* | bn_test: temporarily add prototypes for reciprocal functions | tb | 2023-04-25 | 1 | -1/+13 | |
| | | | | This is a hack needed until bn_local.h is updated | |||||
* | bn_test: BN_one() will become void, so stop checking it | tb | 2023-04-25 | 1 | -8/+8 | |
| | ||||||
* | bn_primes: the NIST primes will go away, so remove their tests | tb | 2023-04-25 | 1 | -41/+1 | |
| | ||||||
* | The bio_asn1 test will need to be linked statically after the bump | tb | 2023-04-25 | 1 | -1/+3 | |
| | ||||||
* | Remove CTS test | tb | 2023-04-25 | 2 | -179/+0 | |
| | ||||||
* | CTS support will go away, so unhook corresponding regress | tb | 2023-04-25 | 1 | -2/+1 | |
| | ||||||
* | Link c2sp test to build | tb | 2023-04-23 | 1 | -1/+2 | |
| | ||||||
* | Import C2SP/CCTV test | tb | 2023-04-23 | 2 | -0/+247 | |
| | | | | | | | | | | | | | This currently only covers Ed25519 using the c2sp-testvectors package and checks that our Ed25519 implementation behaves as expected from a "ref10" implementation. This test has Go and c2sp-testvectors as a hard dependency. It will optionally pick up any OpenSSL package installed on the system and test that as well. https://github.com/C2SP/CCTV https://github.com/C2SP/CCTV/tree/main/ed25519 | |||||
* | Provide initial regress for BN_{asc,dec,hex}2bn()/BN_bn2{dec,hex}() | jsing | 2023-04-22 | 2 | -1/+592 | |
| | ||||||
* | Exercise d2i_IPAddrBlocks() and X509v3_addr_subset() a little bit | tb | 2023-04-20 | 1 | -9/+34 | |
| | ||||||
* | ectest: Remove #if 1 | tb | 2023-04-18 | 1 | -3/+1 | |
| | ||||||
* | Unifdef OPENSSL_NO_EC_NISTP_64_GCC_128 | tb | 2023-04-18 | 1 | -203/+1 | |
| | ||||||
* | ectest: drop a broken #if 0 /* optional */ piece of code | tb | 2023-04-18 | 1 | -20/+5 | |
| | | | | | This places a point at infinity and then fails. Fix some wacky indentation in the vicinity. | |||||
* | ec_point_conversion: drop test for sect571k1 | tb | 2023-04-18 | 1 | -350/+2 | |
| | | | | Maybe it should be replaced by another test, although P-256 seems enough. | |||||
* | ectest: drop some gross unused macros | tb | 2023-04-18 | 1 | -49/+1 | |
| | ||||||
* | ectest: unifdef OPENSSL_NO_EC2M | tb | 2023-04-18 | 1 | -418/+1 | |
| | ||||||
* | Skip binary curves in ec_point_conversion | tb | 2023-04-17 | 1 | -3/+14 | |
| | ||||||
* | Switch all ec tests to using dynamic linking | tb | 2023-04-17 | 3 | -8/+14 | |
| | | | | | This only requires very minor changes and simplifies testing quite a bit. Some of the changes can be undone after the next bump. | |||||
* | Simplify Makefile | tb | 2023-04-17 | 1 | -12/+1 | |
| | ||||||
* | Drop GF2m tests | tb | 2023-04-17 | 1 | -647/+1 | |
| | | | | The code they test will go away soon. | |||||
* | Allow overriding the bc implementation used in run-bc | tb | 2023-04-17 | 1 | -2/+7 | |
| | | | | | | | | | | | | 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. | |||||
* | Fix typo | tb | 2023-04-17 | 1 | -2/+2 | |
| | ||||||
* | Skip sect* curve checks | tb | 2023-04-17 | 1 | -2/+2 | |
| | | | | | GF2m curves will go away soon. This reduces the pile of diffs in my jungle a tiny little bit. | |||||
* | ec_point_conversion: do not rely on ec.h pulling in bn.h | tb | 2023-04-15 | 1 | -1/+2 | |
| | ||||||
* | symbols test: drop LIBRESSL_INTERNAL | tb | 2023-04-15 | 1 | -2/+1 | |
| | | | | | | 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. | |||||
* | cttest: plug leak due to missing SCT_LIST_free() | tb | 2023-04-14 | 1 | -1/+2 | |
| | ||||||
* | Cast the uint64_t SCT timestamps to (unsigned long long) for printing. | tb | 2023-04-14 | 1 | -3/+4 | |
| | | | | What a wonderful choice between this and that PRI ugliness... | |||||
* | Make cttest work better with the portable test harness | tb | 2023-04-14 | 2 | -9/+12 | |
| | ||||||
* | Fix cttest to use public header | tb | 2023-04-14 | 2 | -5/+3 | |
| | ||||||
* | ectest: missing error checking | tb | 2023-04-13 | 1 | -5/+11 | |
| | | | | CID 452228 | |||||
* | bn_mod_sqrt: remove no longer necessary complications due to the | tb | 2023-04-11 | 1 | -15/+5 | |
| | | | | non-deterministic nature of the old implementation. | |||||
* | Correct benchmark result computation on 32 bit platforms. | jsing | 2023-04-11 | 2 | -4/+4 | |
| | ||||||
* | Some more cleanup in bn_to_string | tb | 2023-04-10 | 1 | -12/+8 | |
| | ||||||
* | Drop BN_NO_DEPRECATED dance from bn_test | tb | 2023-04-10 | 1 | -7/+1 | |
| | ||||||
* | Provide benchmarks for BN_copy() | jsing | 2023-04-10 | 2 | -1/+184 | |
| | ||||||
* | bn_to_string no longer needs to be linked statically | tb | 2023-04-10 | 1 | -2/+1 | |
| | ||||||
* | Rework the bn_to_string() to use public API | tb | 2023-04-10 | 1 | -73/+213 | |
| | | | | | | 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. | |||||
* | bn_test: two minor style tweaks | tb | 2023-04-08 | 1 | -6/+3 | |
| | ||||||
* | bn_test: rename rc into ret as per usual | tb | 2023-04-07 | 1 | -91/+91 | |
| | ||||||
* | bn_test: pass BN_CTX into all functions | tb | 2023-04-07 | 1 | -364/+297 | |
| | | | | | 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. | |||||
* | bn_test: drop a few braces that are now unnecessary | tb | 2023-04-07 | 1 | -33/+17 | |
| | ||||||
* | bn_test: move rc initialization to its own line | tb | 2023-04-07 | 1 | -9/+17 | |
| | ||||||
* | bn_test: keep the error stack clean | tb | 2023-04-07 | 1 | -1/+13 | |
| | | | | | | 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. | |||||
* | bn_test: use bn_copy() instead of BN_free/BN_dup | tb | 2023-04-07 | 1 | -3/+2 | |
| | | | | This is not only simpler but also required by an upcoming change. |