]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add an initial ML-DSA fuzzer
authorAndrew Dinh <andrewd@openssl.org>
Fri, 14 Feb 2025 12:15:50 +0000 (19:15 +0700)
committerNeil Horman <nhorman@openssl.org>
Sat, 15 Feb 2025 16:13:38 +0000 (11:13 -0500)
commitc0cf783178f88601a40e86b8db4d44708ad3e131
tree77a8342ab7d6efa23af9cc5dac2c0e7eb98d5b0f
parent4ca80d39412bf1fe2da6ef7691d1263fa8b23cde
Add an initial ML-DSA fuzzer

Add an initial version of an ML-DSA fuzzer.  Exercises various ML-DSA
appropriate APIs. Currently it is able to randomly:

1. Attempt to create raw public private keys of various valid and invalid sizes
2. Generate legitimate keys of various sizes using the keygen api
3. Perform sign/verify operations using real generated keys
4. Perform digest sign/verify operations using real generated keys
5. Do an export and import of a key using todata/fromdata
6. Do a comparison of two equal and unequal keys

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26685)
doc/man7/EVP_SIGNATURE-ML-DSA.pod
fuzz/build.info
fuzz/corpora
fuzz/ml-dsa.c [new file with mode: 0644]
test/recipes/99-test_fuzz_ml-dsa.t [new file with mode: 0644]