Skip to content

Add support for ML-DSA pre-hash sign ACVP test vectors#2362

Merged
dstebila merged 19 commits intoopen-quantum-safe:mainfrom
abhi-dev-engg:prehash_dsa
Feb 11, 2026
Merged

Add support for ML-DSA pre-hash sign ACVP test vectors#2362
dstebila merged 19 commits intoopen-quantum-safe:mainfrom
abhi-dev-engg:prehash_dsa

Conversation

@abhi-dev-engg
Copy link
Contributor

@abhi-dev-engg abhi-dev-engg commented Feb 5, 2026

Add support for pre-hash sign gen/verify APIs that are supported now via the mldsa-native package.
The tests were disabled previously as the pq-crystals package was not supporting these APIs.

Since these are tested via "prehash internal APIs" the hash of the message is calculated internally(in python test script) and the hash value is passed off as "msg" in the API call.

The test source handles these cases in seperate test APIs so that based on the decision things later could be handled without shuffling much stuff.

With this PR and the previous one complete ACVP vectors for ML-DSA are testable that were previously skipped.

sup-main and others added 14 commits February 2, 2026 23:17
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
Signed-off-by: Abhi S <saxena_abhinav@icloud.com>
Signed-off-by: Abhi S <ak9070@gmail.com>
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>
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>
Signed-off-by: Abhi S <saxena_abhinav@icloud.com>
@coveralls
Copy link

coveralls commented Feb 6, 2026

Coverage Status

coverage: 83.014% (+0.05%) from 82.96%
when pulling 7d06a3b on abhi-dev-engg:prehash_dsa
into c58e93e on open-quantum-safe:main.

Signed-off-by: Abhi S <saxena_abhinav@icloud.com>
@dstebila dstebila added the needs review Looking for a(nother) review label Feb 10, 2026
@dstebila dstebila added this to the 0.16.0 milestone Feb 10, 2026
@dstebila dstebila moved this from Backlog to In review in 0.16.0 prioritization Feb 10, 2026
@dstebila dstebila merged commit f1e80d1 into open-quantum-safe:main Feb 11, 2026
92 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in 0.16.0 prioritization Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Looking for a(nother) review

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants