Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ML-DSA: missing context encoding step (only internal functions implemented?) #9

Open
larabr opened this issue Sep 23, 2024 · 1 comment

Comments

@larabr
Copy link

larabr commented Sep 23, 2024

It seems that the exposed mldsa sign and verify functions correspond to ML-DSA.Sign_internal and Verify_internal (i.e. Algo 7 and 8 in FIPS 204), rather than Algo 2 and 3, which additionally encode a context string in input.

Is this intended? If so, I think this should be clarified in the README, as interoperability with other libs is affected.

@paulmillr
Copy link
Owner

f3580af will expose context-based methods.

However, there are no test vectors for that.

Branch wycheproof incorporates vectors from C2SP/wycheproof#112, but the upstream PR is not merged yet and unclear when it will be.

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

No branches or pull requests

2 participants