Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove evp_pkey_check test | tb | 2024-08-29 | 2 | -399/+1 |
| | | | | The API it tests will be removed shortly | ||||
* | Improve test coverage for TLS1-PRF | tb | 2024-07-09 | 1 | -4/+177 |
| | | | | | | This is basically a copy of the libssl unit tests, moved to libcrypto to avoid starting the infection of libssl with this particular piece of EVP garbage. | ||||
* | Add a minimal regress test for TLS1-PRF | tb | 2024-07-09 | 1 | -1/+96 |
| | |||||
* | Replace silly test1_exit() with exit() | tb | 2024-03-30 | 1 | -21/+15 |
| | | | | | | Appeases some compiler. from Christian Andersen | ||||
* | Add tests for EVP_get_cipherbyname(NULL) and EVP_get_digestbyname(NULL) | jca | 2024-03-24 | 1 | -1/+25 |
| | | | | Requested by and ok tb@ | ||||
* | CRYPTO_mem_leaks* will go away. Remove calls in legacy tests | tb | 2024-02-29 | 1 | -2/+1 |
| | |||||
* | OBJ_NAME_TYPE_PKEY_METH is no longer supported | tb | 2024-02-29 | 1 | -5/+1 |
| | |||||
* | Stop testing EVP_PKEY_GOST{IMIT,R01} | tb | 2024-02-29 | 1 | -3/+1 |
| | |||||
* | Replace more occurrences of OBJ_NAME_do_all_sorted() with | tb | 2024-01-21 | 1 | -7/+4 |
| | | | | OBJ_NAME_do_all() | ||||
* | Run the pkey cleanup test also for {Ed,X}25519 | tb | 2024-01-15 | 1 | -1/+3 |
| | |||||
* | Switch to EVP_CIPHER_do_all() now that snaps are available on most arches | tb | 2024-01-15 | 1 | -5/+3 |
| | |||||
* | Remove the evp_pkey_method() test | tb | 2024-01-11 | 1 | -38/+1 |
| | | | | | This is a minimal test for an API that will be removed in a subsequent commit. | ||||
* | Sprinkle a handfull of missing continue | tb | 2023-12-31 | 1 | -1/+10 |
| | |||||
* | Add extended regress coverage for ASN.1 methods | tb | 2023-12-30 | 1 | -1/+147 |
| | | | | | | | | Validate that every alias resolves to a non-alias in one step and that non-aliases have pkey_id == pkey_base_id, an info string and a pem_str. They can be looked up by their pkey_id or pem_str. Conversely, all these are false for aliases. | ||||
* | evp_test: zap extra empty line | tb | 2023-12-10 | 1 | -2/+1 |
| | |||||
* | Add regress coverage for OBJ_NAME_do_all*() | tb | 2023-12-08 | 1 | -2/+99 |
| | | | | | | | While this may seem a bit out of place since is an objects API by name, it really is about EVP. Plus, we want to leverage some things we already needed for the EVP_*do_all() API (which currently wraps OBJ_NAME_do_all* but that will change soon). | ||||
* | EVP test: fix includes | tb | 2023-11-27 | 1 | -3/+3 |
| | |||||
* | EVP test: add regress coverage for the do_all() API | tb | 2023-11-27 | 1 | -1/+132 |
| | |||||
* | Unifdef OPENSSL_NO_ENGINE in libcrypto regress | tb | 2023-11-19 | 1 | -24/+1 |
| | |||||
* | Appease coverity | tb | 2023-09-29 | 1 | -2/+4 |
| | | | | This is a static pointer, so it ain't ever NULL, but shrug | ||||
* | Don't leak ctx on failure | tb | 2023-09-28 | 1 | -3/+2 |
| | |||||
* | Add more regress coverage for EVP_CIPHER_CTX_iv_length() | tb | 2023-09-28 | 1 | -1/+268 |
| | | | | | | | Awesome: the IV length for GCM is only bounded by INT_MAX or malloc limits. In the absence of an overflowing issue tracker, I'm labeling this "good first issue", "help wanted" here. | ||||
* | Add OPENSSL_cleanup() calls to some regress. | jsing | 2023-03-11 | 1 | -1/+3 |
| | | | | This gets us some minimal test coverage. | ||||
* | Some more Makefile cosmetics | tb | 2023-03-02 | 1 | -10/+15 |
| | | | | | The verbose evp test actually depends on the evptest binary. Use consistent spacing and indentation. | ||||
* | The evp_ecx_test no longer needs static linking | tb | 2023-03-02 | 1 | -3/+1 |
| | |||||
* | Hide the hexdumps behind a verbose flags. Should have been part of | tb | 2023-03-02 | 1 | -26/+45 |
| | | | | the previous commit. | ||||
* | Simplify evp test Makefile. | tb | 2023-03-02 | 1 | -18/+5 |
| | | | | | Make evptest silent by default: these pages of hexdumps are useless noise. Add a verbose target for debugging. | ||||
* | evp_pkey_check: make this test silent on success | tb | 2023-03-02 | 1 | -18/+13 |
| | |||||
* | Remove a few unnecessary line continuations | tb | 2023-03-02 | 1 | -7/+7 |
| | |||||
* | Refrain from printing SUCCESS in some of my tests | tb | 2022-12-01 | 2 | -7/+2 |
| | | | | Silence is good. On failure, the regress framework will make it clear. | ||||
* | Make internal header file names consistent | tb | 2022-11-26 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | Libcrypto currently has a mess of *_lcl.h, *_locl.h, and *_local.h names used for internal headers. Move all these headers we inherited from OpenSSL to *_local.h, reserving the name *_internal.h for our own code. Similarly, move dtls_locl.h and ssl_locl.h to dtls_local and ssl_local.h. constant_time_locl.h is moved to constant_time.h since it's special. Adjust all .c files in libcrypto, libssl and regress. The diff is mechanical with the exception of tls13_quic.c, where #include <ssl_locl.h> was fixed manually. discussed with jsing, no objection bcook | ||||
* | Add void casts since gcc 4.2.1 on sparc64 doesn't like the missing return | tb | 2022-11-23 | 1 | -5/+5 |
| | | | | checks for BIO_reset(). | ||||
* | Fix inconsequential copy-paste error | tb | 2022-11-23 | 1 | -3/+3 |
| | | | | CID 377010 | ||||
* | Plug leaks spotted by ASAN CI | tb | 2022-11-22 | 1 | -1/+3 |
| | |||||
* | Add regress coverage for Ed25519 and X25519 EVP interfaces. | jsing | 2022-11-10 | 2 | -2/+838 |
| | |||||
* | Add some regress coverage for EVP_PKEY_METHOD. | jsing | 2022-11-09 | 1 | -3/+40 |
| | |||||
* | Add some regress coverage for EVP_PKEY_ASN1_METHOD | jsing | 2022-11-09 | 2 | -2/+118 |
| | |||||
* | Add a simple test to ensure that pmeth->cleanup() can cope with NULL | tb | 2022-03-30 | 2 | -2/+93 |
| | | | | pkey_ctx->data. | ||||
* | Undo static linking and other workarounds that are no longer needed | tb | 2022-01-14 | 1 | -3/+1 |
| | | | | after the bump | ||||
* | Only evp_pkey_check needs static linking | tb | 2022-01-12 | 1 | -2/+4 |
| | |||||
* | forgot to zap some dead assignments | tb | 2022-01-11 | 1 | -4/+4 |
| | |||||
* | Add regress for EVP_PKEY_{,public_,param_}check() | tb | 2022-01-11 | 2 | -7/+415 |
| | |||||
* | evptest: no need to call EVP_MD_CTX_cleanup() before EVP_MD_CTX_free() | tb | 2021-11-18 | 1 | -4/+3 |
| | |||||
* | evptest: fix compilation with opaque EVP_{CIPHER,MD}_CTX. Uses a | tb | 2021-11-18 | 1 | -22/+30 |
| | | | | workaround for excessive malloc inspired by mariadb (just kidding). | ||||
* | Add back the tests that were deleted in previous but not contained | tb | 2020-01-26 | 1 | -1/+9 |
| | | | | in OpenSSL's test suite. | ||||
* | Adjust tests to match the change in EVP_chacha20(). | tb | 2020-01-26 | 2 | -11/+22 |
| | | | | Test vectors taken from OpenSSL 1.1.1d (under OpenSSL's old license). | ||||
* | Add a test vector for Streebog 512 from Guido Vranken | tb | 2019-05-09 | 1 | -1/+2 |
| | |||||
* | Add regress tests for the EVP_aes_*_wrap() API. Based on the tests in | tb | 2019-03-17 | 2 | -4/+19 |
| | | | | OpenSSL 1.0.2r which is still freely licenced with a tweak by jsing. | ||||
* | Add missing $OpenBSD$ markers. | tb | 2018-07-17 | 2 | -0/+2 |
| | |||||
* | Add EVP test for MD5-SHA1. | jsing | 2017-03-01 | 1 | -0/+3 |
| |