mirror of
https://github.com/luxfi/crypto.git
synced 2026-07-27 01:54:50 +00:00
slhdsa: 120 NIST FIPS 205 ACVP keygen vectors (revision FIPS205, vsId 53;
10 per parameter set x 12 sets), vendored from circl testdata
(public-domain NIST sample data). Each vector pins
(skSeed, skPrf, pkSeed) -> pk and is asserted byte-equal via the
circl backend our Go layer wraps. Round-trip check signs and
verifies once per parameter set.
lamport: 10 deterministic Lamport-SHA256 vectors derived from a documented
KDF chain (SHA-256 of "lamport-kat/v1\\0" || seed). Each vector
pins (seed, msg32) -> (PK digest, sig digest). The KDF contract is
the cross-layer determinism contract - the C++ body and Metal
driver must reproduce the same byte stream.
Test counts: slhdsa 24 (incl 120 KAT subtests), lamport 6 (incl 10 KAT).
Both packages PASS with GOWORK=off go test.