| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
This provides benchmarking for EC_POINT_add(), EC_POINT_dbl() and
EC_POINT_mul()'s scalar * generator path.
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Requires py3-tlsfuzzer-20250516 to work
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
has been read or that has not.
|
|
|
|
|
| |
This currently only tests the behavior for successful protocol negotiations
since the test expects all handshakes to complete.
|
|
|
|
| |
And switch test___freadahead to use another version that uses fflush().
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
| |
Silences an annoying warning when running tests with ASAN.
|
| |
|
|
|
|
|
| |
This no longer uses basenam, so we can drop this header which isn't
available on Windows.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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_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.
|
|
|
|
| |
pushed-back wchar_t chars.
|
| |
|
| |
|
|
|
|
| |
previous commit.
|
|
|
|
|
|
| |
reading FILE objects. It will fail until fflush() complies POSIX-2008.
ok tb asou
|
| |
|
| |
|
|
|
|
|
|
| |
what is going on when these break
ok tb@
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, invalid generalized time tests were split into a separate
set of test vectors and a flag was used when calling the test function to
indicate they should be tested as generalized only.
This simplifies the code a bit, and makes converting to the new test
framework easier.
ok jsing
|
|
|
|
| |
ok beck
|
|
|
|
| |
ok jsing tb beck
|
|
|
|
|
| |
This caused test_fail to always be called when used in certain conditions,
and wrapping with do {} while (0) fixes this.
|
|
|
|
|
|
|
|
| |
Add a basic test case for HKDF using EVP_PKEY_HKDF to evp_test.c.
This test verifies the correct derivation of output keying material
using SHA-256, matching the test vector from RFC 5869 Appendix A.1.
ok tb@ joshua@
|
|
|
|
|
|
|
|
|
|
| |
Add a test framework for use in LibreSSL regression tests. This test
framework aims to be as lightweight and as simple to use as possible.
The design is mostly inspired by Go's test system, and aims to be a
drop-in utility in most existing regress tests.
ok jsing tb beck
|
|
|
|
|
|
|
|
| |
Check if ctx->data is NULL before calling freezero(). Also add
HKDF and TLS1-PRF to the EVP_PKEY cleanup regression test, as
they no longer crash with this change.
ok tb@
|