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: Define HashML-DSA external functions #199

Open
4 tasks
marsella opened this issue Dec 2, 2024 · 0 comments
Open
4 tasks

ML-DSA: Define HashML-DSA external functions #199

marsella opened this issue Dec 2, 2024 · 0 comments
Labels
CNSA 2.0 version-update Addresses a new version of an existing spec

Comments

@marsella
Copy link
Contributor

marsella commented Dec 2, 2024

We need to add the top-level external functions for HashML-DSA. As with the other external functions (#198), these must generate randomness, perform checks, and format inputs. Unlike the other external functions, these allow the user to pass a pre-hashed message, in case the hashing step in signing / verification is prohibitively slow.

This comes with lots of additional caveats, so document those warnings carefully!

Since we can't generate randomness in cryptol, we need to pass it as an Option instead (there's an example in ML-KEM).

  • Decide whether to reimplement keygen or somehow include it over from ML-DSA: Define external functions #198.
  • Implement Algorithm 4 Sign
  • Implement Algorithm 5 Verify
  • Add additional algorithm-level warnings as needed.
@marsella marsella added CNSA 2.0 version-update Addresses a new version of an existing spec labels Dec 2, 2024
@marsella marsella mentioned this issue Dec 2, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CNSA 2.0 version-update Addresses a new version of an existing spec
Projects
None yet
Development

No branches or pull requests

1 participant