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: Add rejection sampling functions #202

Merged
merged 6 commits into from
Dec 11, 2024
Merged

ML-DSA: Add rejection sampling functions #202

merged 6 commits into from
Dec 11, 2024

Conversation

marsella
Copy link
Contributor

@marsella marsella commented Dec 5, 2024

Closes #188

@mccleeary-galois: Do you want me to write properties for the function descriptions? E.g. ExpandMask says "Samples [...] coefficients between −𝛾1 + 1 and 𝛾1.". I currently don't have a property that checks the output of these sampling functions to make sure that the values are in range, but I can add it pretty easily.

@marsella marsella marked this pull request as ready for review December 10, 2024 19:33
@mccleeary-galois
Copy link
Contributor

Closes #188

@mccleeary-galois: Do you want me to write properties for the function descriptions? E.g. ExpandMask says "Samples [...] coefficients between −𝛾1 + 1 and 𝛾1.". I currently don't have a property that checks the output of these sampling functions to make sure that the values are in range, but I can add it pretty easily.

Let's add it if it isn't to much of an ask.

Copy link
Contributor

@mccleeary-galois mccleeary-galois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, happy to have the properties in a follow on task.

@marsella
Copy link
Contributor Author

Thank you! Added #207.

@marsella marsella merged commit 9a3885d into master Dec 11, 2024
2 checks passed
@marsella marsella deleted the 188-sampling branch December 11, 2024 21:40
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.

ML-DSA: Implement sampling functions
2 participants