summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add ML-KEM 768 from BoringSSLbeck2024-12-131-1/+2
| | | | | | | | | | | | | | | Changes include conversion from C++, basic KNF, then adaptation to use our sha3 functions for sha3 and shake instead of the BorinSSL version. This Adds units tests to run against BoringSSL and NIST test vectors. The future public API is the same as Boring's - but is not yet exposed pending making bytesring.h public (which will happen separately) and a minor bump Currently this will just ensure we build and run regress. ok tb@ to get it into the tree and massage from there.
* Hook up the err regress.jsing2024-10-021-1/+2
|
* unhook whirlpool from the treetb2024-08-311-2/+1
|
* Enable lhash regress.jsing2024-05-061-1/+2
|
* Add regress coverage for crypto_ct_*_u8()jsing2024-04-251-1/+2
|
* Add table-driven Whirlpool testsjoshua2024-03-291-1/+2
| | | | ok tb
* Nuke more leftover GOST tendrils.beck2024-03-281-2/+1
| | | | ok tb@
* Add initial regress for CRYPTO_EX_DATA.jsing2023-12-271-1/+2
|
* Remove engine regress.jsing2023-12-271-2/+1
| | | | | | Engines are no longer a thing. Discussed with tb@
* CTS support will go away, so unhook corresponding regresstb2023-04-251-2/+1
|
* Link c2sp test to buildtb2023-04-231-1/+2
|
* Unhook exptb2022-12-011-2/+1
|
* Link aes/ to regressjoshua2022-11-071-1/+2
|
* Unhook the old md4 and md5 teststb2022-09-021-3/+1
|
* Link new md test to regress.tb2022-09-021-1/+2
|
* Unhook old SHA teststb2022-09-021-4/+1
|
* Link sha test to regresstb2022-09-011-1/+2
|
* Botan 2.19.2 has removed support for the OpenSSL crypto provider.bluhm2022-06-281-3/+1
| | | | | | | It was incompatible with OpenSSL 3.0. Remove the regression test to check that LibreSSL crypto works with Botan tests. This is better than to keep an outdated Botan in ports. discussed with tb@ beck@
* Add initial regress for objects.jsing2022-02-111-1/+2
|
* Add initial regress for CT.jsing2021-12-051-1/+2
| | | | This provides test coverage for SCT encoding/decoding.
* Convert CA regress implementation from shell script to make file.bluhm2020-12-261-1/+2
| | | | Ensure that it works with obj directory and link regress to build.
* hook symbols test to regresstb2020-09-181-1/+2
|
* Fix a bug in PEM_X509_INFO_read_bio(3) that is very likely to causeschwarze2020-07-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use-after-free and double-free issues in calling programs. The bug was introduced in SSLeay-0.6.0 released on June 21, 1996 and has been present since OpenBSD 2.4. I found the bug while documenting the function. The bug could bite in two ways that looked quite different from the perspective of the calling code: * If a stack was passed in that already contained some X509_INFO objects and an error occurred, all the objects passed in would be freed, but without removing the freed pointers from the stack, so the calling code would probable continue to access the freed pointers and eventually free them a second time. * If the input BIO contained at least two valid PEM objects followed by at least one PEM object causing an error, at least one freed pointer would be put onto the stack, even though the function would return NULL rather than the stack. But the calling code would still have a pointer to the stack, so it would be likely to access the new bogus pointers sooner or later. Fix all this by remembering the size of the input stack on entry and cutting it back to exactly that size when exiting due to an error, but no further. While here, do some related cleanup: * Garbage collect the automatic variables "error" and "i" which were only used at one single place each. * Use NULL rather than 0 for pointers. I like bugfixes that make the code four lines shorter, reduce the number of variables by one, reduce the number of brace-blocks by one, reduce the number if if-statements by one, and reduce the number of else-clauses by one. Tweaks and OK tb@.
* Enter the certs regress directory.jsing2020-07-141-1/+2
|
* Hook cms regress.jsing2019-11-021-1/+2
|
* link sm4 regress to the buildtb2019-03-171-1/+2
|
* Hook up sm3 regress tests.tb2018-11-111-1/+2
|
* The Botan library from ports an be configured to use OpenSSL orbluhm2018-11-091-1/+3
| | | | | | | | 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.
* Add subdirectires with SUBDIR += instead of a single assignment withtb2018-11-091-47/+46
| | | | line continuations.
* Provide a harness that runs test vectors from Project Wycheproof againstjsing2018-07-251-1/+2
| | | | | | | | | | libcrypto. Initially this just covers RSA signatures, but can be extended to cover other cryptographic algorithms. This regress requires the go and wycheproof-testvector packages to be installed, with the regress being skipped otherwise. Discussed with beck@ and tb@
* Link free directory to libcrypto regress test suite.tb2018-05-151-1/+2
| | | | ok jsing
* test X509_NAME_add_entry_by_txt(3); feedback and OK jsing@schwarze2018-04-071-2/+3
|
* Add regress test ensuring autoinit stays pledge("stdio") safe.beck2018-03-191-1/+2
|
* Bring in HKDF, from BoringSSL, with regress tests modified to bebeck2017-05-061-1/+2
| | | | | in C. Ride previous minor bump ok tom@ inoguchi@ jsing@
* link in rsa testbeck2017-01-251-1/+2
|
* unhook ocsp test from the default since it currently requires network access andbeck2017-01-181-2/+1
| | | | therefore appears to break in bluhm's test setup
* Add regress for X25519, converted from BoringSSL.jsing2016-11-051-1/+2
|
* Move pqueue regress from libcrypto to libssl, since that's where the pqueuejsing2016-11-041-2/+1
| | | | | code now lives. Also unbreak the regress following the symbol hiding changes in libssl.
* Add a nasty little ocsp regress test in the hope pedants will make it better.beck2016-07-041-1/+2
|
* Add initial regress tests for ASN.1 times.jsing2015-09-251-1/+2
|
* Temporarily revive MD4 for MS CHAP support.doug2015-09-141-1/+2
|
* Remove MD4 support from LibreSSL.doug2015-09-131-2/+1
| | | | | | | | MD4 should have been removed a long time ago. Also, RFC 6150 moved it to historic in 2011. Rides the major crank from removing SHA-0. Discussed with many including beck@, millert@, djm@, sthen@ ok jsing@, input + ok bcook@
* Remove SHA-0 support.doug2015-09-131-2/+1
| | | | | | | SHA-0 was withdrawn shortly after publication 20 years ago and replaced with SHA-1. This will require a major crank. ok bcook@, jsing@
* Remove obsolete MDC-2DES from libcrypto.doug2015-06-201-2/+1
| | | | ok deraadt@ jsing@ miod@
* GOST regression tests; from Dmitry Eremin-Solenikovmiod2014-11-181-1/+2
|
* Regression test for PKCS5_PBKDF2_HMAC(), written by Christian Heimes ; frommiod2014-07-111-1/+2
| | | | OpenSSL trunk
* Add an initial regress test for pkcs7.jsing2014-07-021-1/+2
| | | | This currently fails when signing/verifying with a detached signature.
* Add a skeleton regress for crypto/bio, which currently only coversjsing2014-06-221-1/+2
| | | | | 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
|
* Move the cts128 and gcm128 tests to regress.jsing2014-05-311-1/+2
|