Skip to content

Add support for Wycheproof tests#990

Open
abhi-dev-engg wants to merge 3 commits intopq-code-package:mainfrom
abhi-dev-engg:wyche
Open

Add support for Wycheproof tests#990
abhi-dev-engg wants to merge 3 commits intopq-code-package:mainfrom
abhi-dev-engg:wyche

Conversation

@abhi-dev-engg
Copy link
Contributor

@abhi-dev-engg abhi-dev-engg commented Mar 4, 2026

This PR integrates Wycheproof test vectors for ML-DSA-44, 65, and 87. Have "tried" to keep it similar as the PR in ML-KEM for same tests.

Key changes:

  • Added C Wrapper & Python Client: Introduces wycheproof_mldsa.c and wycheproof_client.py to automatically download, parse, and execute the JSON test vectors.

  • Full Vector Support: Handles standard signing, internal signing (utilizing mu), and verification, including dynamic key generation from seeds for sign_seed groups.

  • CI Integration: Updated the Makefile and Extended.yml workflows to automatically run the Wycheproof suite alongside existing ACVP and KAT tests.

@abhi-dev-engg abhi-dev-engg force-pushed the wyche branch 2 times, most recently from 25b0bb9 to e184f52 Compare March 4, 2026 19:59
Signed-off-by: Abhi S <saxena_abhinav@icloud.com>
Signed-off-by: Abhi S <saxena_abhinav@icloud.com>
Signed-off-by: Abhi S <saxena_abhinav@icloud.com>
@abhi-dev-engg abhi-dev-engg marked this pull request as ready for review March 4, 2026 21:16
@abhi-dev-engg abhi-dev-engg requested a review from a team as a code owner March 4, 2026 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant