Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | This test does not terminate if malloc conf is preconfigured with | bluhm | 2018-11-29 | 1 | -2/+6 | |
| | | | | | J. Clear that option to allow running full regress with paranoid malloc flags. This is the same fix as for malloc_ulimit1. | |||||
* | We're manipulating malloc flags ourselves, start with restting them all. | otto | 2018-11-29 | 1 | -1/+5 | |
| | | | | ok bluhm@ | |||||
* | This test does not terminate if malloc conf is preconfigured with | bluhm | 2018-11-28 | 1 | -4/+8 | |
| | | | | | | J. Clear that option to allow running full regress with paranoid malloc flags. Also fix whitespace. OK otto@ | |||||
* | Just err if we can't create secrets | beck | 2018-11-13 | 1 | -2/+2 | |
| | ||||||
* | Rework the sm3 regress based on a suggestion by jsing. Zap the weird | tb | 2018-11-12 | 1 | -30/+36 | |
| | | | | | | hex_encode() function and use byte arrays instead of strings to store the expected values. Snatch and tweak hexdump() from beck's key_schedule test to pretty-print data in case of failure. | |||||
* | Fix a race in libssl interop regress. The success messages from | bluhm | 2018-11-11 | 3 | -6/+9 | |
| | | | | | the server child could be delayed. In this case wait a second and check again. | |||||
* | Hook up sm3 regress tests. | tb | 2018-11-11 | 1 | -1/+2 | |
| | ||||||
* | Add sm3 regress tests. | tb | 2018-11-11 | 2 | -0/+101 | |
| | ||||||
* | Add automatic threading initialization for libcrypto. | bcook | 2018-11-11 | 1 | -56/+0 | |
| | | | | | | | | | | | | | | This implements automatic thread support initialization in libcrypto. This does not remove any functions from the ABI, but does turn them into no-ops. Stub implementations of pthread_mutex_(init|lock|unlock) are provided for ramdisks. This does not implement the new OpenSSL 1.1 thread API internally, keeping the original CRYTPO_lock / CRYPTO_add_lock functions for library locking. For -portable, crypto_lock.c can be reimplemented with OS-specific primitives as needed. ok beck@, tb@, looks sane guenther@ | |||||
* | Reorganize libssl interop tests. Move netcat tests into separate | bluhm | 2018-11-11 | 9 | -148/+197 | |
| | | | | | directory. Keep all log files for easier debugging. Name regress target names consistently. | |||||
* | Speling | beck | 2018-11-10 | 1 | -2/+2 | |
| | ||||||
* | Regress client and server can do session reuse now. Test this with | bluhm | 2018-11-10 | 6 | -129/+220 | |
| | | | | | all combinations of LibreSSL, OpenSSL 1.0.2, and OpenSSL 1.1. It is currently disabled for TLS 1.3 as this needs more setup. | |||||
* | Make sure the interop test happen last (since they take a long time) | beck | 2018-11-10 | 2 | -8/+9 | |
| | ||||||
* | Clean up and free objects at the completion of the regress test. | jsing | 2018-11-10 | 1 | -1/+13 | |
| | | | | From Ben L <bobsayshilol at live dot co dot uk>. | |||||
* | fix a leak reported by Ben L (bobsayshilol () live ! co ! uk) | tb | 2018-11-10 | 1 | -1/+3 | |
| | ||||||
* | Fix a leak reported by Ben L bobsayshilol () live ! co ! uk. | tb | 2018-11-10 | 1 | -1/+3 | |
| | ||||||
* | fix a leak pointed out by Ben L (bobsayshi () live ! co ! uk) | tb | 2018-11-10 | 1 | -4/+8 | |
| | ||||||
* | More regress all the way to exporter_master | beck | 2018-11-10 | 1 | -4/+44 | |
| | ||||||
* | Fix last of the empty hash nonsense | beck | 2018-11-10 | 1 | -6/+3 | |
| | | | | ok jsing@ | |||||
* | Update key schedule regress to match API changes. | jsing | 2018-11-09 | 1 | -21/+12 | |
| | ||||||
* | The Botan library from ports an be configured to use OpenSSL or | bluhm | 2018-11-09 | 2 | -1/+22 | |
| | | | | | | | | LibreSSL as crypto provider. When we run their regression tests, we are actually testing our library. This is far from perfect. A lot of LibreSSL features have not been implemented as Botan provider. Even if provider openssl is specified, botan-test runs a lot of non-openssl tests. This can be improved later. | |||||
* | remove the not yet implemented "handshake" subdirectory | tb | 2018-11-09 | 1 | -2/+1 | |
| | ||||||
* | Add subdirectires with SUBDIR += instead of a single assignment with | tb | 2018-11-09 | 3 | -67/+65 | |
| | | | | line continuations. | |||||
* | The cert subdir is testing all combinations of certificate validation. | bluhm | 2018-11-09 | 11 | -48/+244 | |
| | | | | | | Having the three libraries, client and server certificates, missing or invalid CA or certificates, and enforcing peer certificate results in 1944 new test cases. | |||||
* | Add missing NULL checks on allocation, style(9) and consistently use | jsing | 2018-11-08 | 1 | -35/+34 | |
| | | | | goto err instead of handrolling. | |||||
* | Add missing BN_free() calls. | jsing | 2018-11-08 | 1 | -1/+3 | |
| | | | | From Ben L <bobsayshilol at live dot co dot uk>. | |||||
* | Use ASN1_TYPE_new()/ASN1_TYPE_free() to avoid leaking memory. | jsing | 2018-11-08 | 1 | -12/+17 | |
| | | | | From Ben L <bobsayshilol at live dot co dot uk>. | |||||
* | Use in-place (un)wrapping in the keywrap tests. | tb | 2018-11-07 | 1 | -5/+8 | |
| | ||||||
* | Add in key_schedule regress tests to regress build | beck | 2018-11-07 | 1 | -1/+2 | |
| | ||||||
* | Add a self test for each SSL library by connecting client with | bluhm | 2018-11-07 | 5 | -23/+88 | |
| | | | | | | server. Check that the highest available TLS version is selected. LibreSSL TLS 1.3 check is disabled until the feature becomes available. | |||||
* | Add initial TLS 1.3 key schedule support with basic regress tests | beck | 2018-11-07 | 2 | -0/+249 | |
| | | | | ok jsing@ tb@ | |||||
* | Add interop test with OpenSSL 1.1. TLS 1.3 should be used automatically | bluhm | 2018-11-07 | 5 | -10/+55 | |
| | | | | | when it becomes available in LibreSSL. thanks to sthen@ for the new OpenSSL port | |||||
* | Print SSLeay, OpenSSL, and LibreSSL version strings. Make client | bluhm | 2018-11-07 | 7 | -12/+71 | |
| | | | | | and server compile with OpenSSL 1.1. Check runtime version string of SSL library. | |||||
* | +interop | bluhm | 2018-11-07 | 1 | -1/+2 | |
| | ||||||
* | Test TLS interoperability between LibreSSL and OpenSSL. | bluhm | 2018-11-07 | 10 | -0/+549 | |
| | | | | | | | | | | | | Implement simple SSL client and server in C. Create four binaries by linking them with LibreSSL or OpenSSL. This way API compatibility is tested. Connect and accept with netcat to test protocol compatibility with libtls. Currently OpenSSL 1.0.2p from ports is used. Plan is to move to OpenSSL 1.1 and and test TLS 1.3. idea from beck@; help from jsing@ | |||||
* | better failure printing, add more checks | tb | 2018-11-06 | 1 | -9/+35 | |
| | ||||||
* | link rand/ to build | tb | 2018-11-06 | 1 | -2/+4 | |
| | ||||||
* | add a regression test for bn_rand_interval() | tb | 2018-11-06 | 2 | -0/+98 | |
| | ||||||
* | Add TLSv1.3 to version regress tests. | jsing | 2018-11-06 | 1 | -4/+80 | |
| | ||||||
* | Unbreak regress following Supported Elliptic Curve extension rename. | jsing | 2018-11-06 | 1 | -49/+49 | |
| | ||||||
* | With the fixed length checks in aes_wrap.c 1.11, we can remove the ugly | tb | 2018-10-20 | 1 | -11/+3 | |
| | | | | length checks here. | |||||
* | Run Wycheproof testvectors for AES Key Wrap without padding (RFC 3394) | tb | 2018-10-19 | 1 | -4/+144 | |
| | | | | | | against libcrypto. Currently contains caller-side length checks that should really be done in the library. This will be fixed after an upcoming commit to libcrypto. | |||||
* | truncate long comments in audit summary | tb | 2018-10-19 | 1 | -2/+7 | |
| | ||||||
* | simplify BN_bin2bn() calls; no need to pre-declare the variable. | tb | 2018-10-18 | 1 | -11/+6 | |
| | ||||||
* | Avoid a bad out of bounds access that caused intermittent crashes. | tb | 2018-10-18 | 1 | -2/+2 | |
| | ||||||
* | whitespace cleanup and other minor things from gofmt | tb | 2018-10-07 | 1 | -44/+39 | |
| | ||||||
* | make sure all CStrings are freed | tb | 2018-10-06 | 1 | -3/+7 | |
| | ||||||
* | plug a memory leak | tb | 2018-10-06 | 1 | -1/+2 | |
| | ||||||
* | wrap a few more overlong lines | tb | 2018-10-06 | 1 | -14/+36 | |
| | ||||||
* | wrap some overlong fmt.Printfs | tb | 2018-10-06 | 1 | -53/+106 | |
| |