diff options
| author | Eric Biggers <ebiggers@kernel.org> | 2026-01-07 07:42:15 +0300 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-01-12 22:07:50 +0300 |
| commit | 959a634ebcda02e0add101024a5793323d66cda5 (patch) | |
| tree | 9a2c4d84d695a137b0a47e165db382bc36da26f2 /scripts/Makefile.debug | |
| parent | 0d92c555320ad34e67523063e32630cfad13af5f (diff) | |
| download | linux-959a634ebcda02e0add101024a5793323d66cda5.tar.xz | |
lib/crypto: mldsa: Add FIPS cryptographic algorithm self-test
Since ML-DSA is FIPS-approved, add the boot-time self-test which is
apparently required.
Just add a test vector manually for now, borrowed from
lib/crypto/tests/mldsa-testvecs.h (where in turn it's borrowed from
leancrypto). The SHA-* FIPS test vectors are generated by
scripts/crypto/gen-fips-testvecs.py instead, but the common Python
libraries don't support ML-DSA yet.
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/20260107044215.109930-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/Makefile.debug')
0 files changed, 0 insertions, 0 deletions
