1
0
mirror of https://github.com/wolfSSL/wolfssl.git synced 2026-10-24 04:09:07 +03:00
Files
wolfssl/certs
Tobias Frauenschläger 69291355b6 Benchmark SLH-DSA SHA2-128s verify in verify-only builds
The verify-only SLH-DSA benchmark only had a SHAKE-128s vector, because
that is the only verify-only signature in wolfcrypt/test/test.c. Builds
with only the SHA2 parameter sets showed no SLH-DSA row at all.

Add a SHA2-128s vector: a deterministic, empty-context signature of
"Hello World!" by the existing bench_slhdsa_sha2_128s_key.der. It was
generated with OpenSSL 4.0.3; wolfSSL verifies it, rejects it once a
message bit is flipped, and its own deterministic signature from the
same key is byte-identical. gen-slhdsa-mldsa-certs.sh gains the step
that produces it, and a rerun reproduces the committed files. The pq-all
verify-only benchmark config enables sha2 and requires this row too.

bench_slhdsa_verify() now takes the parameter set and vector. The row
uses the full benchmark's name, SLH-DSA-SHA2-S, and takes its strength
from the public key size, as the full benchmark does. Verify-only
builds accept -slhdsa-sha2-128s when SHA2-128s is built.

Tested on the host with --enable-slhdsa=yes,sha2,verify-only on its
own, with --enable-smallstack and with --disable-rng, with sha2 only,
with SHAKE only and 192f only (no SHA2 row, no warnings), and with the
full sha2 build.
2026-10-14 10:59:13 +02:00
..
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-07-08 09:33:47 +10:00
2023-08-11 11:29:15 +09:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2026-06-26 14:44:16 -06:00
2015-09-07 09:51:21 +02:00
2020-12-17 14:26:49 +01:00
2016-12-28 14:45:29 -07:00
2012-05-02 10:30:15 -07:00
2014-08-29 14:25:58 -07:00
2011-02-05 11:14:47 -08:00
2011-02-05 11:14:47 -08:00
2011-12-01 13:10:01 -08:00
2015-09-07 09:51:21 +02:00
2017-06-14 09:44:26 +10:00
2019-12-06 14:27:01 -07:00
2024-11-07 07:40:02 -06:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2026-07-08 09:33:47 +10:00
2021-10-04 11:05:58 -05:00