summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rework regress so that it is easier to add additional test types.jsing2018-08-101-35/+59
|
* Use a table rather than a switch when converting strings to NIDs.jsing2018-08-101-14/+13
| | | | This will make it easier to extend.
* Provide a harness that runs test vectors from Project Wycheproof againstjsing2018-07-253-1/+253
| | | | | | | | | | 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@
* avoid using argv[0] for printing to stderrtb2018-07-231-2/+2
|
* Bob's license was missing, add it.tb2018-07-181-1/+16
| | | | ok beck
* some more style fixestb2018-07-171-19/+19
|
* Add missing $OpenBSD$ markers.tb2018-07-1741-22/+42
|
* remove unused, empty filetb2018-07-171-0/+0
|
* Replace getprogname() to argv[0] in bnaddsubinoguchi2018-07-171-3/+2
| | | | ok tb@
* re-commit the removal of the EC_POINTs_mul() regression tests with num > 1tb2018-07-151-161/+27
|
* $OpenBSD$tb2018-07-151-0/+1
|
* Also revert regression tests so that EC_POINTs_mul() with longer vectorstb2018-07-151-26/+160
| | | | gets exercised again.
* Update EC regression tests.tb2018-07-111-160/+26
| | | | | | | Part of https://github.com/libressl-portable/openbsd/pull/94 from Billy Brumley and his team. ok jsing
* $OpenBSD$tb2018-07-102-1/+2
|
* Now that all *_free() functions are NULL safe, we can generate thetb2018-07-105-239/+123
| | | | | | freenull test from Symbols.list. Suggested by jsing, discussed with beck and bluhm.
* +addsubtb2018-07-101-1/+2
|
* Add simple regression tests for BN_{,u}{add,sub}(3). With input from jcatb2018-07-102-0/+248
|
* This code is already painful enough to look at. Putting the braces at thetb2018-06-161-74/+64
| | | | right spot helps this a bit. Other whitespace and typo fixes while there.
* Link free directory to libcrypto regress test suite.tb2018-05-151-1/+2
| | | | ok jsing
* Test DSO_free(NULL).tb2018-05-151-1/+3
|
* remove _CONF_free_data(). It doesn't belong here.tb2018-05-151-3/+2
|
* Remove the /* ASN1_item_free */ annotations I added in r1.9 again.tb2018-05-151-113/+113
| | | | They generate a lot of noise in an upcoming diff.
* Test X509_CRL_METHOD_free(NULL)tb2018-04-231-1/+2
|
* About half of the listed functions are wrappers of ASN1_item_free().tb2018-04-231-113/+113
| | | | Annotate them.
* Add a big pile of *_free() functions which I audited to be NULL-safe.tb2018-04-231-2/+109
|
* Make ENGINE_free() succeed on NULL. Matches OpenSSL's behavior andtb2018-04-142-11/+14
| | | | | | simplifies the caller side. tested by & ok inoguchi; discussed with schwarze
* test X509_NAME_add_entry_by_txt(3); feedback and OK jsing@schwarze2018-04-074-2/+81
|
* Add regress test ensuring autoinit stays pledge("stdio") safe.beck2018-03-193-1/+50
|
* Add more free functions for NULL checks.jsing2018-02-071-16/+67
|
* Add more functions (based on those used in OpenSSH) to the free NULL test.jsing2018-02-071-1/+19
|
* Use a test value that fits into a long on both 32-bit and 64-bitjsing2017-12-091-9/+11
| | | | architectures, so that the regress passes on both.
* Add regress coverage for ASN1_TYPE_{get,set}_int_octetstring()jsing2017-11-282-2/+147
|
* Some style(9).jsing2017-08-281-3/+6
|
* Remove chacha20-poly1305-old regress and test vectors.jsing2017-08-282-627/+0
|
* fix resource leaks, ok @guentherbcook2017-08-121-3/+7
|
* Synchronise chacha test cases with the referenced draft - this adds ajsing2017-05-261-23/+23
| | | | | | | | missing test case, reassigns two of the labels and removes a test case that was from an earlier draft. Inconsistency noted by Steven Roberts <fenderq at gmail dot com>, some time ago...
* Add more functions.jsing2017-05-061-1/+5
|
* Sort/group functions.jsing2017-05-061-5/+10
|
* Not much point using a failed variable here.jsing2017-05-061-3/+4
|
* Bring in HKDF, from BoringSSL, with regress tests modified to bebeck2017-05-063-1/+310
| | | | | in C. Ride previous minor bump ok tom@ inoguchi@ jsing@
* Add regress for free functions that should be safe with NULLbeck2017-05-022-0/+63
|
* whitespacebeck2017-04-301-3/+3
|
* Remove unused rnd_seed variable. Upstream made the same change 4 days ago.kettenis2017-04-161-3/+0
| | | | Fixes compiling this test using clang on arm64.
* Use an unsigned loop variable to avoid a comparison between signedbluhm2017-03-061-1/+1
| | | | | and unsigned. Makes the test compile again. OK inoguchi@
* Ensure MD and key initialized before processing HMACinoguchi2017-03-031-31/+206
| | | | | | | | Ensure both MD and key have been initialized before processing HMAC. Releasing HMAC_CTX in error path of HMAC(). In regress test, added test 4,5,6 and cleaned up the code. ok jsing@
* Add EVP test for MD5-SHA1.jsing2017-03-011-0/+3
|
* Check return value of every BN_* functions in bntestinoguchi2017-02-231-393/+426
| | | | | | | - add macro CHECK_GOTO - unify function return code to rc - add err: label for error goto ok bcook@
* Remove unused variable in C source to make the test compile and pass.bluhm2017-02-071-1/+0
|
* LibreSSL : regress for carry bug in mulx4x_mont and sqr8x_montinoguchi2017-01-311-1/+78
| | | | | | | | | | | | This regress bntest.c patch is originally from master branch of OpenSSL. - dca2e0e test/bntest.c: regression test for CVE-2016-7055. - 3e7a496 test/bntest.c: regression test for carry bug in bn_sqr8x_internal. These tests were added for these commit. - 2fac86d bn/asm/x86_64-mont.pl: fix for CVE-2016-7055 (Low severity). - 3f4bcf5 bn/asm/x86_64-mont5.pl: fix carry bug in bn_sqr8x_internal. ok beck@
* Add start of a regress for cert gen and validation. not clean, won'tbeck2017-01-255-0/+394
| | | | hook it up yet