Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Some of these functions no longer exist or are no longer public | tb | 2023-07-28 | 1 | -4/+1 | |
| | ||||||
* | DSO has left the building | tb | 2023-07-28 | 1 | -4/+1 | |
| | ||||||
* | dhtest: simplify printing and make the output slightly less ugly | tb | 2023-07-28 | 1 | -34/+29 | |
| | | | | CID 463174 | |||||
* | Annotate bogus output as incorrect | tb | 2023-07-27 | 1 | -1/+2 | |
| | | | | | | Some people already have way too many simple and not too important diffs in their inbox. This isn't worth kicking something more important out of the queue. | |||||
* | Prepare this test for the upcoming bump | tb | 2023-07-26 | 1 | -1/+3 | |
| | ||||||
* | Remove comment containing an outdated path | tb | 2023-07-26 | 1 | -2/+1 | |
| | ||||||
* | Fix EC_POINT_is_on_curve() checks. | tb | 2023-07-24 | 1 | -9/+9 | |
| | | | | If not even the idiot who invented this API gets this right... | |||||
* | bio_asn1 tests: drop unneeded variable | tb | 2023-07-21 | 1 | -3/+2 | |
| | ||||||
* | Remove a few workarounds that are no longer necessary | tb | 2023-07-20 | 1 | -4/+1 | |
| | ||||||
* | Add missing commas to test vectors | joshua | 2023-07-19 | 1 | -26/+26 | |
| | | | | ok tb@ | |||||
* | Add test coverage for SHA3 | joshua | 2023-07-19 | 1 | -27/+344 | |
| | | | | ok tb@ | |||||
* | ecc_cdh: plug leak of peer public key | tb | 2023-07-16 | 1 | -1/+2 | |
| | ||||||
* | ecdhtest: Drop unnecessary constant and unneeded includes | tb | 2023-07-16 | 1 | -10/+6 | |
| | ||||||
* | ecdhtest: fix a couple bugs plus some cosmetic tweaks | tb | 2023-07-16 | 1 | -6/+6 | |
| | ||||||
* | Rework the ecdhtest | tb | 2023-07-15 | 1 | -260/+252 | |
| | | | | | | | | | Test keyshare for all built-in curves and simplify, especially printing on failure. Incorporate known answer tests from RFC 5114 and RFC 5903. All in all, this is a lot less code and a lot more test coverage and hopefully a little less eyebleed. Very loosely based on OpenSSL b438f0ed by Billy Brumley | |||||
* | Fix return value check for ECDH_compute_key() | tb | 2023-07-15 | 1 | -5/+5 | |
| | | | | | | ECDH_compute_key() usually returns -1 on error (but sometimes 0). This was also the case in OpenSSL when these tests were written. This will soon change. The check for <= 0 will still be correct. | |||||
* | Add test coverage for cofactor ECDH using NIST test vectors | tb | 2023-07-15 | 2 | -2/+2509 | |
| | | | | | | | | | Since all non-binary NIST curves have cofactor 1, this is in effect plain ECDH. Current regress coverage of ECDH is quite lacking on architectures where Go isn't available. This fixes that. Actual cofactor ECDH support may be added soon to libcrypto, at which point I will also add testcases with cofactor > 1. | |||||
* | Add test case for negative number with highest bit of top octet set | tb | 2023-07-10 | 1 | -1/+13 | |
| | | | | | This currently adds an incorrect 00: padding, consistent with OpenSSL's behavior. | |||||
* | Fix whitespace | tb | 2023-07-08 | 1 | -2/+2 | |
| | ||||||
* | partial fix for make -j8 (bluhm@ is sitting right next to me and agreeing) | espie | 2023-07-08 | 1 | -5/+4 | |
| | | | | | there is a subtler issue with make regress/make all that will be way more of a headache to sort ! | |||||
* | upstream portable fix for ocsp_test | bcook | 2023-07-07 | 1 | -1/+6 | |
| | ||||||
* | Add test coverage for leading zero octet dance | tb | 2023-07-07 | 1 | -1/+15 | |
| | ||||||
* | fixup for MS compilers | bcook | 2023-07-07 | 1 | -1/+8 | |
| | ||||||
* | bn_print: remove unused bio, plug leak | tb | 2023-07-06 | 1 | -5/+3 | |
| | ||||||
* | Add regress coverage for bn_printf | tb | 2023-07-06 | 2 | -1/+283 | |
| | | | | | This must be one of the ugliest tests I've ever written, but I can't think of a better way of doing it. | |||||
* | Codify BN_asc2bn(NULL, *) behavior in regress. | tb | 2023-06-23 | 1 | -1/+11 | |
| | ||||||
* | symbols: Tweak this test so it works with -j N | tb | 2023-06-22 | 1 | -6/+4 | |
| | ||||||
* | Add tests for BN_sqr() corner cases. | jsing | 2023-06-21 | 1 | -1/+81 | |
| | | | | | Test BN_sqr() with a newly allocated BN, a BN explicitly set to zero and small values that fit in a single BN_ULONG. | |||||
* | Add BN_cmp()/BN_ucmp() tests with zero padded inputs. | jsing | 2023-06-21 | 1 | -1/+25 | |
| | | | | | Currently BN_hex2bn() removes the leading zeros, however this will not be the case in the future. | |||||
* | Add a BN_num_bits() with zero padded input. | jsing | 2023-06-21 | 1 | -4/+13 | |
| | | | | | Currently BN_hex2bn() removes the leading zeros, however this will not be the case in the future. | |||||
* | Fix copy-paste error | tb | 2023-06-20 | 1 | -2/+2 | |
| | ||||||
* | Add regress coverage for BN_num_bits() | jsing | 2023-06-20 | 1 | -1/+35 | |
| | ||||||
* | Make enginetest work with disabled engine support | tb | 2023-06-19 | 1 | -1/+10 | |
| | ||||||
* | Fix GOST test with disabled engine | tb | 2023-06-19 | 1 | -1/+5 | |
| | ||||||
* | Fix copy+paste error in x509 asn regress | job | 2023-06-05 | 1 | -3/+3 | |
| | ||||||
* | bn_mod_inverse tweaks | tb | 2023-06-04 | 1 | -2/+4 | |
| | | | | | Provide prototype that is hidden behind LIBRESSL_INTERNAL for portable and or in result for future extensibility. | |||||
* | Add regress coverage for BN_mod_inverse() | tb | 2023-06-03 | 2 | -1/+387 | |
| | | | | | This would detect the aliasing issue reported by Guido Vranken fixed in bn_gcd.c r1.28. Most testcases are from BoringSSL's regress test. | |||||
* | fix typo | tb | 2023-06-02 | 1 | -2/+2 | |
| | ||||||
* | Correct test that was pasto'ed incorrectly | beck | 2023-05-29 | 1 | -3/+7 | |
| | | | | This now tests what the comment says it does | |||||
* | Make X509_NAME_get_text_by[NID|OBJ] safer. | beck | 2023-05-29 | 1 | -2/+77 | |
| | | | | | | | | | | | | | | | | This is an un-revert with nits of the previously landed change to do this which broke libtls. libtls has now been changed to not use this function. This change ensures that if something is returned it is "text" (UTF-8) and a C string not containing a NUL byte. Historically callers to this function assume the result is text and a C string however the OpenSSL version simply hands them the bytes from an ASN1_STRING and expects them to know bad things can happen which they almost universally do not check for. Partly inspired by goings on in boringssl. ok jsing@ tb@ | |||||
* | Add coverage for calling BN_{dec,hex}2bn() with NULL inputs. | jsing | 2023-05-27 | 1 | -9/+37 | |
| | ||||||
* | Add empty line for consistency | tb | 2023-05-23 | 1 | -1/+2 | |
| | ||||||
* | Add regress coverage for obj_dat.c r1.52 | tb | 2023-05-23 | 1 | -1/+44 | |
| | ||||||
* | ecdhtest: Fix indent | tb | 2023-05-20 | 1 | -2/+2 | |
| | ||||||
* | ecdhtest: check malloc() return values | tb | 2023-05-16 | 1 | -4/+7 | |
| | | | | From Ilya Chipitsine | |||||
* | Assert that test->want != NULL at this point | tb | 2023-05-13 | 1 | -1/+3 | |
| | | | | Should make coverity happier | |||||
* | asn1oct: add a couple more tests | tb | 2023-05-12 | 1 | -1/+10 | |
| | ||||||
* | asn1oct: minor tweak in error message | tb | 2023-05-12 | 1 | -3/+3 | |
| | ||||||
* | Add regress coverage for {s2i,i2s}_ASN1_OCTET_STRING | tb | 2023-05-12 | 2 | -1/+271 | |
| | ||||||
* | Add regress coverage for -1 modulus as well. | tb | 2023-05-09 | 1 | -25/+38 | |
| |