Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mlkem tests: include the public <openssl/mlkem.h> | tb | 6 days | 2 | -5/+5 |
| | |||||
* | Change gmtime() to return time in UTC rather than GMT, as required by our own | phessler | 7 days | 1 | -79/+79 |
| | | | | | | manpage, POSIX, C standards, and other OSes. OK kettenis@, millert@ | ||||
* | mlkem_tests: remove unneded ret variable from mlkem_{decap,keygen}_tests() | tb | 8 days | 1 | -19/+11 |
| | |||||
* | Fix includes in mlkem unit and iteration tests | tb | 8 days | 4 | -16/+5 |
| | |||||
* | mlkem_tests no longer depends on mlkem_tests_util | tb | 8 days | 1 | -2/+2 |
| | |||||
* | mlkem_tests: use public mlkem.h, no longer needs mlkem_tests_util.h | tb | 8 days | 1 | -4/+3 |
| | |||||
* | mlkem_tests: mop up after feral openssl devs were here | tb | 9 days | 1 | -83/+91 |
| | |||||
* | mlkem_unittest: undo unnecessary variable renaming | tb | 9 days | 1 | -5/+5 |
| | |||||
* | Add a reasonable ML-KEM API for public use. | beck | 9 days | 5 | -593/+396 |
| | | | | | | | | | | | | | | | Adapt the tests to use this API. This does not yet make the symbols public in Symbols.list which will happen shortly with a bump. This includes some partial rototilling of the non-public interfaces which will be shortly continued when the internal code is deduplicated to not have multiple copies for ML-KEM 768 and ML-KEM 1024 (which is just an artifact of unravelling the boring C++ code). ok jsing@, tb@ | ||||
* | Add benchmarks for 384 bit x 384 bit multiplication and 384 bit squaring. | jsing | 11 days | 1 | -1/+14 |
| | |||||
* | Add missing make dependency as the oclo binary depends on | anton | 2025-08-09 | 1 | -1/+3 |
| | | | | | ocloexec_verify. Take the easy route and ensure all binaries are built before the regress make target. | ||||
* | link illumos oclo test to the tree | tb | 2025-08-04 | 1 | -2/+2 |
| | |||||
* | Provide benchmarks for EC arithmetic. | jsing | 2025-08-03 | 2 | -1/+212 |
| | | | | | This provides benchmarking for EC_POINT_add(), EC_POINT_dbl() and EC_POINT_mul()'s scalar * generator path. | ||||
* | Provide harness to run illumos's oclo tests from libc regress | tb | 2025-08-02 | 3 | -0/+32 |
| | | | | | | | This depends on the illumos-os-tests port I just imported and can be linked to the build once guenther lands the close-on-fork diff. Adapted from an initial diff by Ricardo Branco | ||||
* | hash_test: remove variable name from prototype and fix a cast | tb | 2025-08-02 | 1 | -3/+3 |
| | |||||
* | Retire interop tests with OpenSSL 3.3 and 3.4 | tb | 2025-07-25 | 9 | -141/+11 |
| | |||||
* | regress/libcrypto/x509/bettertls: switch to eopenssl35 | tb | 2025-07-23 | 1 | -4/+4 |
| | |||||
* | regress/libcrypto/ec: switch to openssl35 | tb | 2025-07-23 | 1 | -4/+4 |
| | |||||
* | ec_asn1_test: fix includes | tb | 2025-07-23 | 1 | -1/+5 |
| | |||||
* | ectest: fix includes | tb | 2025-07-23 | 1 | -6/+3 |
| | |||||
* | c2sp: unhook openssl 3.3 and 3.4 | tb | 2025-07-23 | 1 | -2/+2 |
| | |||||
* | libcrypto regress: add interop harness for openssl/3.5 | tb | 2025-07-09 | 8 | -10/+75 |
| | |||||
* | libcrypto regress: move GOCACHE to obj/ | tb | 2025-07-09 | 3 | -12/+28 |
| | | | | | | | | | | | | | While it may be acceptable for Go to fill regular users' homedirs with a compiler cache that is unable to deal with corruption and full disks, this is terrible for people running regress as root since the cache can quickly grow to hundreds of megs and can thus result in all sorts hilarity below /root. Move the GOCACHE under ${.OBJDIR} and use a cleanup target to get rid of it again. This makes these tests a bit slower for regular users as well, but so be it. Let's see how this goes before I switch libtls to the same model. discussed with claudio and jsing | ||||
* | Add minimal regress coverage for AES-XTS | jsing | 2025-07-05 | 1 | -2/+183 |
| | |||||
* | openssl-ruby-tests: prepare for ruby default switch to 3.4 | tb | 2025-06-27 | 1 | -4/+4 |
| | |||||
* | sync anton's fix for OpenSSL 3.3 interop to 3.4 | tb | 2025-06-23 | 1 | -2/+2 |
| | |||||
* | OpenSSL is linked against pthread by now; ok tb@ | anton | 2025-06-23 | 1 | -2/+2 |
| | |||||
* | tlsfuzzer: adjust test filenames to upstream churn. | tb | 2025-06-15 | 1 | -154/+154 |
| | | | | Requires py3-tlsfuzzer-20250516 to work | ||||
* | ec_asn1_test: be better at sorting | tb | 2025-06-14 | 1 | -3/+3 |
| | |||||
* | ec_asn1_test: for curves that have a seed, validate the parameters a and b | tb | 2025-06-14 | 1 | -2/+195 |
| | | | | | | per X9.62, F.3.4.b. This ensures that the table entries in ec_curves.c for the NIST curves P-224, P-256, P-384, and P-521 are internally consistent and in particular that the seed is correct. | ||||
* | Add a test to verify the fpurge problem doesn't happen. fpurge() | yasuoka | 2025-06-12 | 1 | -1/+41 |
| | | | | | mistaknely made the write buffer usable even if the stream is read mode. See the change of lib/libc/stdio/fpurge.c,v 1.11. | ||||
* | allow checking of tls.h | schwarze | 2025-06-08 | 1 | -2/+3 |
| | |||||
* | allow checking of conf.h | schwarze | 2025-06-08 | 1 | -1/+5 |
| | |||||
* | Test to verify the handling of fflush() for the pushed-back buffer that | yasuoka | 2025-06-08 | 1 | -1/+40 |
| | | | | has been read or that has not. | ||||
* | libtls: add basic regress for ALPN | tb | 2025-06-04 | 1 | -1/+138 |
| | | | | | This currently only tests the behavior for successful protocol negotiations since the test expects all handshakes to complete. | ||||
* | Now our fflush() comply POSIX-2008. test_fflush is expected "pass". | yasuoka | 2025-06-03 | 2 | -6/+3 |
| | | | | And switch test___freadahead to use another version that uses fflush(). | ||||
* | parse_test_file: add a missing call to finish in last cleanup | tb | 2025-06-03 | 1 | -1/+4 |
| | |||||
* | parse_test_file: add missing error checks for init() | tb | 2025-06-03 | 1 | -3/+5 |
| | |||||
* | Add non-EVP tests for AES CFB128 and OFB128 modes | kenjiro | 2025-06-03 | 1 | -8/+112 |
| | | | | | | | | | Extend aes_test.c to include non-EVP tests for AES CFB128 and OFB128 modes using AES_cfb128_encrypt() and AES_ofb128_encrypt(). These additions improve test coverage by exercising the low-level interfaces with the same vectors used in the EVP-based tests. ok tb@ | ||||
* | openssl-ruby/Makefile: zap trailing whitespace added in previous | tb | 2025-05-31 | 1 | -2/+2 |
| | |||||
* | explicit_bzero test: don't redefine __SANITIZE_ADDRESS__ | tb | 2025-05-31 | 1 | -1/+3 |
| | | | | Silences an annoying warning when running tests with ASAN. | ||||
* | test.h: include stddef.h for NULL and size_t | tb | 2025-05-31 | 1 | -1/+2 |
| | |||||
* | test.c: drop include of libgen.h | tb | 2025-05-31 | 1 | -2/+1 |
| | | | | | This no longer uses basenam, so we can drop this header which isn't available on Windows. | ||||
* | test.c: plug leak of tmp_file | tb | 2025-05-31 | 1 | -1/+2 |
| | |||||
* | Fix attributes in test.h | tb | 2025-05-31 | 1 | -4/+4 |
| | | | | | | | | | | The __attribute__ is part of the function declaration, hence drop the incorrect early semicolons. Fixes the build of the md test on sparc64. In file included from /usr/src/regress/lib/libcrypto/md/md_test.c:25: /usr/src/regress/lib/libcrypto/md/../test/test.h:61: warning: empty declaration /usr/src/regress/lib/libcrypto/md/../test/test.h:77: warning: empty declaration /usr/src/regress/lib/libcrypto/md/../test/test.h:114: warning: empty declaration | ||||
* | test.c: avoid NULL-dereference | tb | 2025-05-31 | 1 | -2/+3 |
| | | | | | | | test_init() calls test_new(NULL, NULL), which leads to a segfault. llvm 16 optimizes this away with -O2, however gcc 4.2.1 on sparc64 doesn't. Fix this by only inheriting the out FILE from the parent if the latter is non-NULL. | ||||
* | Add test whether fflush() complies POSIX for the handling of | yasuoka | 2025-05-25 | 1 | -1/+82 |
| | | | | pushed-back wchar_t chars. | ||||
* | Add test for ungetwc(). | yasuoka | 2025-05-25 | 2 | -1/+94 |
| | |||||
* | Add tests for the functions in <stdio_ext.h>. | yasuoka | 2025-05-25 | 7 | -2/+455 |
| | |||||
* | Include "stdio" in SUBDIR. This should have been done along with the | yasuoka | 2025-05-25 | 1 | -4/+4 |
| | | | | previous commit. |