]> git.ipfire.org Git - thirdparty/openssl.git/commit
ML-DSA Add Wycheproof test vectors.
authorslontis <shane.lontis@oracle.com>
Mon, 24 Feb 2025 23:06:26 +0000 (10:06 +1100)
committerTomas Mraz <tomas@openssl.org>
Wed, 26 Feb 2025 11:14:58 +0000 (12:14 +0100)
commit20599e480f3ba783d6554d3e078d08bdd8e92e66
tree6fe6dae75974eb95abbb5b3c9657abf473d61c80
parentfed9be39ffecc734abfa93fdd8399ccd738b4346
ML-DSA Add Wycheproof test vectors.

Added a python script to convert the json files into evp_test data.
Added a EVP_TEST_METHOD "KeyFromData" that can test failures when
loading raw keys. (The existing "PrivateKeyRaw" and "PublicKeyRaw"
were not fit for this purpose).

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/26885)
test/evp_test.c
test/mldsa_wycheproof_parse.py [new file with mode: 0755]
test/recipes/30-test_evp.t
test/recipes/30-test_evp_data/evppkey_ml_dsa_44_wycheproof_sign.txt [new file with mode: 0644]
test/recipes/30-test_evp_data/evppkey_ml_dsa_44_wycheproof_verify.txt [new file with mode: 0644]
test/recipes/30-test_evp_data/evppkey_ml_dsa_65_wycheproof_sign.txt [new file with mode: 0644]
test/recipes/30-test_evp_data/evppkey_ml_dsa_65_wycheproof_verify.txt [new file with mode: 0644]
test/recipes/30-test_evp_data/evppkey_ml_dsa_87_wycheproof_sign.txt [new file with mode: 0644]
test/recipes/30-test_evp_data/evppkey_ml_dsa_87_wycheproof_verify.txt [new file with mode: 0644]