Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | The policy test is no longer expected to fail | tb | 2023-04-28 | 1 | -2/+1 |
| | |||||
* | Rearrange freeing of memory in the regress test | job | 2023-04-28 | 1 | -13/+9 |
| | |||||
* | make the policy test compile on sparc64 | tb | 2023-04-28 | 1 | -5/+6 |
| | |||||
* | Add X509_REQ_add_extensions and to X509_REQ_add1_attr to DER cache test | job | 2023-04-28 | 1 | -1/+139 |
| | | | | | These new tests won't bubble up a non-zero error exit code because other libcrypto bits still need to land first. | ||||
* | Hook up the the x509 policy regression tests to x509 regress. | beck | 2023-04-28 | 2 | -3/+4 |
| | | | | | | | | | These were adapted from BoringSSL's regress tests for x509 policy. They are currently marked as expected to fail as we have not enabled LIBRESSL_HAS_POLICY_DAG by default yet, and the old tree based policy code from OpenSSL is special. These tests pass when we build with LIBRESSL_HAS_POLICY_DAG. | ||||
* | Fix copyright, convert boringssl comments to C style | beck | 2023-04-28 | 1 | -30/+51 |
| | |||||
* | KNF | beck | 2023-04-28 | 1 | -17/+15 |
| | | | | ok knfmt | ||||
* | remove unused code. | beck | 2023-04-28 | 1 | -82/+7 |
| | |||||
* | remove debugging printf | beck | 2023-04-28 | 1 | -2/+1 |
| | |||||
* | This test should not have V_EXPLICIT_POLICY set. with this | beck | 2023-04-28 | 1 | -3/+1 |
| | | | | corrected we pass | ||||
* | Add the rest of the boringssl policy unit tests. | beck | 2023-04-28 | 1 | -4/+223 |
| | | | | | We currently still fail two of these, looks like one more bug in extracting the depth for require policy from the certificate.. | ||||
* | correct test cases to add expected errors. | beck | 2023-04-27 | 1 | -2/+30 |
| | |||||
* | Start of an x509 policy regress test. test cases from BoringSSL. | beck | 2023-04-27 | 29 | -0/+801 |
| | | | | | | Still a work in progress adapting tests from boringssl x509_test.cc but dropping in here for tb to be able to look at and run as well since the new stuff still has bugs. | ||||
* | Add test for invalidation of DER cache for X509_CRL_* setter functions | job | 2023-04-26 | 1 | -15/+171 |
| | | | | | The program won't exit with a non-zero exit code if X509_CRL_set_* tests fail, as the relevant bits haven't been committed to libcrypto yet. | ||||
* | Clean up X509 memory before exit | job | 2023-04-26 | 1 | -1/+4 |
| | |||||
* | Add lookup name+function pointer table for improved diagnostics | job | 2023-04-26 | 1 | -4/+29 |
| | | | | OK tb@ | ||||
* | Parameter names are not needed | job | 2023-04-26 | 1 | -4/+4 |
| | |||||
* | Remove unneeded parentheses | job | 2023-04-26 | 1 | -4/+4 |
| | |||||
* | No need to pass around const pointer cpder2 | job | 2023-04-26 | 1 | -18/+16 |
| | | | | Suggested by tb@ | ||||
* | Shrink signature as cpder is only needed as local variable | job | 2023-04-26 | 1 | -14/+15 |
| | | | | Suggested by tb@ | ||||
* | Replace macros with functions | job | 2023-04-26 | 1 | -99/+115 |
| | | | | Requested by tb@ | ||||
* | Some more EC2M cleanup | tb | 2023-04-26 | 2 | -48/+4 |
| | |||||
* | 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 |
| |