summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/ecdh/ecdhtest.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove already disabled tests for elliptic curves of small ordertb2024-12-241-9/+1
|
* Disable regression tests for small builtin curvestb2024-11-241-1/+3
|
* ecdhtest: Drop unnecessary constant and unneeded includestb2023-07-161-10/+6
|
* ecdhtest: fix a couple bugs plus some cosmetic tweakstb2023-07-161-6/+6
|
* Rework the ecdhtesttb2023-07-151-260/+252
| | | | | | | | | Test keyshare for all built-in curves and simplify, especially printing on failure. Incorporate known answer tests from RFC 5114 and RFC 5903. All in all, this is a lot less code and a lot more test coverage and hopefully a little less eyebleed. Very loosely based on OpenSSL b438f0ed by Billy Brumley
* Fix return value check for ECDH_compute_key()tb2023-07-151-5/+5
| | | | | | ECDH_compute_key() usually returns -1 on error (but sometimes 0). This was also the case in OpenSSL when these tests were written. This will soon change. The check for <= 0 will still be correct.
* ecdhtest: Fix indenttb2023-05-201-2/+2
|
* ecdhtest: check malloc() return valuestb2023-05-161-4/+7
| | | | From Ilya Chipitsine
* Some more EC2M cleanuptb2023-04-261-34/+1
|
* Use BN_free() instead of BN_clear_free()tb2023-03-081-2/+2
|
* Minor cleanup after EC_POINT_get_affine_coordinates() unified thetb2021-12-291-23/+6
| | | | | | _GFp and _GF2m variants. CID 345155
* Adjust ecdhtest.c for affine_coordinates changetb2021-04-201-5/+5
|
* Add missing $OpenBSD$ markers.tb2018-07-171-1/+1
|
* Remove explicit NULL checks before *_free() calls and tidy some code.jsing2015-09-131-28/+22
|
* Use ECDH_size() and do some other clean up.jsing2015-09-131-7/+6
|
* Wrap long lines.jsing2015-09-131-16/+32
|
* style(9) grenade.jsing2015-09-131-153/+178
|
* None of these need <openssl/rand.h>jsing2014-10-221-1/+0
|
* remove use of internally-deprecated OPENSSL_malloc/freebcook2014-07-081-3/+2
| | | | ok jsing@
* Add the RFC 7027 test vectors; from OpenSSL HEADmiod2014-05-241-0/+171
|
* remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests.beck2014-05-241-8/+4
| | | | ok miod@ jsing@ guenther@
* Import the OpenSSL libcrypto tests in a form suitable for our rergressmiod2014-04-151-0/+278
infrastructure. The following tests have not been imported, for their code lacks a licence: asn1, rsa, sha256, sha512, wp.