Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove already disabled tests for elliptic curves of small order | tb | 2024-12-24 | 2 | -238/+2 |
| | |||||
* | Disable regression tests for small builtin curves | tb | 2024-11-24 | 2 | -2/+6 |
| | |||||
* | ecc_cdh: plug leak of peer public key | tb | 2023-07-16 | 1 | -1/+2 |
| | |||||
* | ecdhtest: Drop unnecessary constant and unneeded includes | tb | 2023-07-16 | 1 | -10/+6 |
| | |||||
* | ecdhtest: fix a couple bugs plus some cosmetic tweaks | tb | 2023-07-16 | 1 | -6/+6 |
| | |||||
* | Rework the ecdhtest | tb | 2023-07-15 | 1 | -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() | tb | 2023-07-15 | 1 | -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. | ||||
* | Add test coverage for cofactor ECDH using NIST test vectors | tb | 2023-07-15 | 2 | -2/+2509 |
| | | | | | | | | | Since all non-binary NIST curves have cofactor 1, this is in effect plain ECDH. Current regress coverage of ECDH is quite lacking on architectures where Go isn't available. This fixes that. Actual cofactor ECDH support may be added soon to libcrypto, at which point I will also add testcases with cofactor > 1. | ||||
* | ecdhtest: Fix indent | tb | 2023-05-20 | 1 | -2/+2 |
| | |||||
* | ecdhtest: check malloc() return values | tb | 2023-05-16 | 1 | -4/+7 |
| | | | | From Ilya Chipitsine | ||||
* | Some more EC2M cleanup | tb | 2023-04-26 | 1 | -34/+1 |
| | |||||
* | Use BN_free() instead of BN_clear_free() | tb | 2023-03-08 | 1 | -2/+2 |
| | |||||
* | Minor cleanup after EC_POINT_get_affine_coordinates() unified the | tb | 2021-12-29 | 1 | -23/+6 |
| | | | | | | _GFp and _GF2m variants. CID 345155 | ||||
* | It's no longer necessary to link ecdhtest statically. | tb | 2021-05-10 | 1 | -2/+2 |
| | |||||
* | Adjust ecdhtest.c for affine_coordinates change | tb | 2021-04-20 | 2 | -7/+7 |
| | |||||
* | Add missing $OpenBSD$ markers. | tb | 2018-07-17 | 1 | -1/+1 |
| | |||||
* | Remove explicit NULL checks before *_free() calls and tidy some code. | jsing | 2015-09-13 | 1 | -28/+22 |
| | |||||
* | Use ECDH_size() and do some other clean up. | jsing | 2015-09-13 | 1 | -7/+6 |
| | |||||
* | Wrap long lines. | jsing | 2015-09-13 | 1 | -16/+32 |
| | |||||
* | style(9) grenade. | jsing | 2015-09-13 | 1 | -153/+178 |
| | |||||
* | None of these need <openssl/rand.h> | jsing | 2014-10-22 | 1 | -1/+0 |
| | |||||
* | remove use of internally-deprecated OPENSSL_malloc/free | bcook | 2014-07-08 | 1 | -3/+2 |
| | | | | ok jsing@ | ||||
* | Include -DLIBRESSL_INTERNAL in regress makefiles. | jsing | 2014-07-08 | 1 | -2/+2 |
| | | | | ok miod@ | ||||
* | Build these tests with WARNINGS=Yes and -Werror, and do the necessary | miod | 2014-06-01 | 1 | -1/+3 |
| | | | | fixes to keep building. | ||||
* | Add the RFC 7027 test vectors; from OpenSSL HEAD | miod | 2014-05-24 | 1 | -0/+171 |
| | |||||
* | remove OPENSSL_malloc and CRYPTO_malloc goo from the regress tests. | beck | 2014-05-24 | 1 | -8/+4 |
| | | | | ok miod@ jsing@ guenther@ | ||||
* | Import the OpenSSL libcrypto tests in a form suitable for our rergress | miod | 2014-04-15 | 2 | -0/+285 |
infrastructure. The following tests have not been imported, for their code lacks a licence: asn1, rsa, sha256, sha512, wp. |