diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-02-17 22:37:39 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-02-18 07:53:35 +0100 |
| commit | 040bdfb18684d809cb5edacf9867d3378b7e093b (patch) | |
| tree | d0b337c83ea4af5312834541acce584719a52ca0 /src/lib/tests/auth_test.c | |
| parent | 2c717b2fc9773a74d6c9df01a2f873deea163918 (diff) | |
| download | ouroboros-040bdfb18684d809cb5edacf9867d3378b7e093b.tar.gz ouroboros-040bdfb18684d809cb5edacf9867d3378b7e093b.zip | |
lib: Add SLH-DSA tests and per-algorithm PQC gating
This replaces the single HAVE_OPENSSL_PQC/DISABLE_PQC with
per-algorithm CMake variables (ML-KEM, ML-DSA, SLH-DSA), gated by the
OpenSSL versions: ML-KEM and ML-DSA require >= 3.4, SLH-DSA >= 3.5.
SLH-DSA was already working, but now added explicit authentication
tests for it with a full certificate chain (root CA, intermediate CA,
server) to show full support.
Rename PQC test files and cert headers to use algorithm-specific names
(ml_kem, ml_dsa, slh_dsa) and move cert headers to
include/test/certs/.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/lib/tests/auth_test.c')
| -rw-r--r-- | src/lib/tests/auth_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tests/auth_test.c b/src/lib/tests/auth_test.c index b3f09277..0ea955f7 100644 --- a/src/lib/tests/auth_test.c +++ b/src/lib/tests/auth_test.c @@ -27,7 +27,7 @@ #include <ouroboros/random.h> #include <ouroboros/utils.h> -#include <test/certs.h> +#include <test/certs/ecdsa.h> #define TEST_MSG_SIZE 1500 |
