summaryrefslogtreecommitdiff
path: root/src/regress (follow)
Commit message (Collapse)AuthorAgeFilesLines
* format string should be a string literal.bcook2014-07-091-2/+2
| | | | ok beck@ jsing@
* remove use of internally-deprecated OPENSSL_malloc/freebcook2014-07-081-3/+2
| | | | ok jsing@
* Include -DLIBRESSL_INTERNAL in regress makefiles.jsing2014-07-0839-78/+78
| | | | ok miod@
* string.h is the correct file, not strings.hbcook2014-07-081-2/+2
| | | | ok beck@ jsing@
* Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets.miod2014-07-032-4/+4
|
* Add an initial regress test for pkcs7.jsing2014-07-023-1/+300
| | | | This currently fails when signing/verifying with a detached signature.
* Extend the chacha regress to cover the ChaCha interface, in addition to thejsing2014-06-241-22/+99
| | | | | | | single-shot CRYPTO_chacha_20() interface (the ChaCha interface was already tested via the EVP regress, but not extensively). The additional ChaCha tests include single-shot writes, along with partial/single-byte writes that currently fail due to a bug in the underlying implementation.
* Add regress tests for BIO_get_host_ip().jsing2014-06-221-2/+70
|
* Add a skeleton regress for crypto/bio, which currently only coversjsing2014-06-223-1/+94
| | | | | BIO_get_port() and fails since the current code believes that "-1" is a valid port.
* Hook in the aead regress.jsing2014-06-221-1/+2
|
* matthew reminds me to update regress to reflect current spectedu2014-06-211-10/+3
|
* Add DTLS support to ssltest and wire up some regress tests.jsing2014-06-212-8/+41
| | | | ok miod@
* Simple regress test for the amd64 bn_mul_mont bug found by Joyentmiod2014-06-203-2/+86
| | | | | ( https://github.com/joyent/node/issues/7704 ), about to be fixed in libcrypto.
* Move the crypto/bn regression test one directory deeper in preparation formiod2014-06-203-7/+15
| | | | it getting siblings.
* Always call atexit handlers as if they were registered with __cxa_atexit.kettenis2014-06-181-5/+5
| | | | | | | | | | | The extra argument doesn't hurt genuine atexit handlers and this fixes a bug where we didn't provide the argument (effectively passing garbage) for functions registered with __cxa_atexit in the main executable. Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes <enh@google.com>. ok matthew@
* Add regress tests to make sure arc4random(3) is reinitializedmatthew2014-06-183-2/+181
| | | | correctly in fork children.
* Remove support for the `opaque PRF input' extension, which draft has expiredmiod2014-06-131-32/+0
| | | | | | | | 7 years ago and never made it into an RFC. That code wasn't compiled in anyway unless one would define the actual on-the-wire extension id bytes; crank libssl major. With help and enlightenment from Brendan MacDonell.
* Add timingsafe_memcmp().matthew2014-06-131-5/+1
| | | | ok deraadt, jmc, tedu
* Add regress tests for timingsafe_bcmp and timingsafe_memcmp.matthew2014-06-133-2/+86
| | | | | timingsafe_memcmp tests are disabled for now, pending its addition to libc.
* Add regress test for explicit_bzero.matthew2014-06-123-2/+145
|
* Add basic regression test for modf() issue.tobiasu2014-06-073-2/+40
| | | | encouraged by deraadt and miod
* Build with WARNINGS=Yes and Werror.miod2014-06-012-12/+4
|
* Build these tests with WARNINGS=Yes and -Werror, and do the necessarymiod2014-06-0140-65/+143
| | | | fixes to keep building.
* Move the cts128 and gcm128 tests to regress.jsing2014-05-315-6/+530
|
* KNF and other cleanup.jsing2014-05-312-266/+295
|
* Move sha256 and sha512 tests to regress and wire them up.jsing2014-05-305-1/+348
|
* Move the AES wrap test code into regress.jsing2014-05-302-6/+182
|
* Update the aead regress to work with the improved EVP AEAD API.jsing2014-05-261-22/+14
|
* Add the RFC 7027 test vectors; from OpenSSL HEADmiod2014-05-241-0/+171
|
* Move ssltest.c to a regress test.jsing2014-05-247-0/+2541
|
* remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests.beck2014-05-246-77/+22
| | | | ok miod@ jsing@ guenther@
* make this compile again - actually include stdio and friends ourselves.beck2014-05-241-1/+3
|
* Move the regress tests that are in lib/libssl to usr.sbin/openssl,jsing2014-05-248-245/+0
| | | | | | | since they are really testing openssl(1) (although this also tests libcrypto and libssl), rather than actual parts of the libssl library. Discussed with miod@
* Make this build cleanly even with UTF8_{putc,getc} moved from theguenther2014-05-222-2/+6
| | | | | public header to the internal. Make some variables unsigned to eliminate some warnings
* Use errc/warnc to simplify code.guenther2014-05-201-7/+7
| | | | | | Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
* Enable the 3- and 4-byte sequence tests for UTF8_getc()guenther2014-05-191-9/+18
| | | | | Add surrogate and out-of-range tests for UTF8_putc() on the assumption we'll make it return -2. Maybe.
* Add regression test for UTF8_{getc,putc}()guenther2014-05-183-2/+317
|
* Include openssl/evp.h for OPENSSL_add_all_algorithms_noconf().jsing2014-05-161-0/+1
| | | | From Brent Cook.
* Fix various issues that result in compiler warnings.jsing2014-05-161-13/+14
| | | | Prompted by a diff from Brent Cook.
* Get pqueue.h from the libssl sources rather than relying upon it beingmiod2014-05-152-2/+4
| | | | installed.
* Add additional chacha20-poly1305 test vectors.jsing2014-05-152-10/+620
| | | | Thanks to Piotr Sikora for providing a reference to the source.
* Add chacha20-poly1305 test vector to regress.jsing2014-05-152-5/+24
|
* KNF.jsing2014-05-152-47/+50
|
* Add a regress test for AEAD, based on Adam Langley's code.jsing2014-05-153-0/+413
|
* Add poly1305 to libcrypto utilising Andrew Moon's public domainjsing2014-05-143-1/+175
| | | | | | implementation. ok miod@
* Remove AES_bi_ige_encrypt() from libcrypto. This routine is supposed to usemiod2014-05-121-134/+0
| | | | | | | | | | | | | two keys and four IVs to do much magic, is specified as such with test vectors, but the implementation actually always uses the first key, and the test vectors were computed with it, so they are wrong. Fixing the code to match the intended specification would break interoperability with existing code (assuming such code would exist), so it is better to remove this interface, which is obviously too complex for mere mortals if even its author can not implement it correctly. Riding on the libcrypto major bump.
* Move the `pqueue' part of libcrypto, which is a glorified sorted linked listmiod2014-05-122-9/+23
| | | | | | | | | | | | | of 64-bit data, and only used by DTLS, to libssl where it belongs. Remove pqueue_print() which is a debugging interface and serves no useful purpose, except for the regress test, which grows its own pqueue_print() routine. Bump libcrypto major and libssl minor. WARNING: do not update your tree right now, more changes are coming, which will ride the libcrypto major bump.
* Make sure the stdout output is check, to confirm proper sorting.miod2014-05-063-1/+10
|
* Add a fixed (read: non-SIGSEGV'ing) pq_test.miod2014-05-063-1/+111
|
* Update the base64 regress test and enable a test that would previouslyjsing2014-05-031-19/+28
| | | | | | | have resulted in a segfault. Also update the resulting output bytes now that the invalid/corrupt input is detected and rejected; unless you're using BIO_FLAGS_BASE64_NO_NL, in which case you still get a stream of zero value bytes and no way of knowing that the data is invalid/corrupt.