summaryrefslogtreecommitdiff
path: root/regress/lib
AgeCommit message (Collapse)Author
2014-07-08Include -DLIBRESSL_INTERNAL in regress makefiles.Joel Sing
ok miod@
2014-07-08string.h is the correct file, not strings.hbcook
ok beck@ jsing@
2014-07-03Enter the REGRESS_FULL target subdirs for clean, cleandir and obj targets.Miod Vallat
2014-07-02Add an initial regress test for pkcs7.Joel Sing
This currently fails when signing/verifying with a detached signature.
2014-06-24Extend the chacha regress to cover the ChaCha interface, in addition to theJoel Sing
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.
2014-06-22Add regress tests for BIO_get_host_ip().Joel Sing
2014-06-21matthew reminds me to update regress to reflect current specTed Unangst
2014-06-13Add timingsafe_memcmp().Matthew Dempsky
ok deraadt, jmc, tedu
2014-06-22Add a skeleton regress for crypto/bio, which currently only coversJoel Sing
BIO_get_port() and fails since the current code believes that "-1" is a valid port.
2014-06-22Hook in the aead regress.Joel Sing
2014-06-21Add DTLS support to ssltest and wire up some regress tests.Joel Sing
ok miod@
2014-06-20Simple regress test for the amd64 bn_mul_mont bug found by JoyentMiod Vallat
( https://github.com/joyent/node/issues/7704 ), about to be fixed in libcrypto.
2014-06-20Move the crypto/bn regression test one directory deeper in preparation forMiod Vallat
it getting siblings.
2014-06-18Always call atexit handlers as if they were registered with __cxa_atexit.Mark Kettenis
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@
2014-06-18Add regress tests to make sure arc4random(3) is reinitializedMatthew Dempsky
correctly in fork children.
2014-06-13Remove support for the `opaque PRF input' extension, which draft has expiredMiod Vallat
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.
2014-06-13Add regress tests for timingsafe_bcmp and timingsafe_memcmp.Matthew Dempsky
timingsafe_memcmp tests are disabled for now, pending its addition to libc.
2014-06-12Add regress test for explicit_bzero.Matthew Dempsky
2014-06-07Add basic regression test for modf() issue.Tobias Ulmer
encouraged by deraadt and miod
2014-06-01Build with WARNINGS=Yes and Werror.Miod Vallat
2014-06-01Build these tests with WARNINGS=Yes and -Werror, and do the necessaryMiod Vallat
fixes to keep building.
2014-04-15Import the OpenSSL libcrypto tests in a form suitable for our rergressMiod Vallat
infrastructure. The following tests have not been imported, for their code lacks a licence: asn1, rsa, sha256, sha512, wp.
2014-05-31Move the cts128 and gcm128 tests to regress.Joel Sing
2014-05-31KNF and other cleanup.Joel Sing
2014-05-30Move sha256 and sha512 tests to regress and wire them up.Joel Sing
2014-05-30Move the AES wrap test code into regress.Joel Sing
2014-05-26Update the aead regress to work with the improved EVP AEAD API.Joel Sing
2014-05-24Add the RFC 7027 test vectors; from OpenSSL HEADMiod Vallat
2014-05-24Move ssltest.c to a regress test.Joel Sing
2014-05-24remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests.Bob Beck
ok miod@ jsing@ guenther@
2014-05-24make this compile again - actually include stdio and friends ourselves.Bob Beck
2014-05-24Move the regress tests that are in lib/libssl to usr.sbin/openssl,Joel Sing
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@
2014-05-22Make this build cleanly even with UTF8_{putc,getc} moved from thePhilip Guenther
public header to the internal. Make some variables unsigned to eliminate some warnings
2014-05-20Use errc/warnc to simplify code.Philip Guenther
Also, in 'ftp', always put the error message last, after the hostname/ipaddr. ok jsing@ krw@ millert@
2014-05-19Enable the 3- and 4-byte sequence tests for UTF8_getc()Philip Guenther
Add surrogate and out-of-range tests for UTF8_putc() on the assumption we'll make it return -2. Maybe.
2014-05-18Add regression test for UTF8_{getc,putc}()Philip Guenther
2014-05-16Include openssl/evp.h for OPENSSL_add_all_algorithms_noconf().Joel Sing
From Brent Cook.
2014-05-16Fix various issues that result in compiler warnings.Joel Sing
Prompted by a diff from Brent Cook.
2014-05-15Get pqueue.h from the libssl sources rather than relying upon it beingMiod Vallat
installed.
2014-05-15Add additional chacha20-poly1305 test vectors.Joel Sing
Thanks to Piotr Sikora for providing a reference to the source.
2014-05-15Add chacha20-poly1305 test vector to regress.Joel Sing
2014-05-15KNF.Joel Sing
2014-05-15KNF.Joel Sing
2014-05-15Add a regress test for AEAD, based on Adam Langley's code.Joel Sing
2014-05-14Add poly1305 to libcrypto utilising Andrew Moon's public domainJoel Sing
implementation. ok miod@
2014-05-12Remove AES_bi_ige_encrypt() from libcrypto. This routine is supposed to useMiod Vallat
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.
2014-05-12Move the `pqueue' part of libcrypto, which is a glorified sorted linked listMiod Vallat
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.
2014-05-06Make sure the stdout output is check, to confirm proper sorting.Miod Vallat
2014-05-06Add a fixed (read: non-SIGSEGV'ing) pq_test.Miod Vallat
2014-05-03Update the base64 regress test and enable a test that would previouslyJoel Sing
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.