-
Notifications
You must be signed in to change notification settings - Fork 20
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 SigGen AFT pass after reversal of "rnd" #331
Comments
Would you mind checking this test case produces the listed signature on your implementation? I reversed how the
|
Am Mittwoch, 1. Mai 2024, 19:33:13 MESZ schrieb Chris Celi:
Hi Chris,
Would you mind checking this test case produces the listed signature on your
implementation? I reversed how the `rnd` value was used to account for the
endianness difference. I'd like to confirm this fix before wrapping it up
into a release.
I can confirm that my implementation now generates the same signature.
Granted, I only had a visual inspection, but the start, the end and some bytes
in the middle check out.
Ciao
Stephan
|
Hi, I got agreement on the signature as well. Thanks! |
Hello, I also was having issues with this and the reversed rnd[ ] vector yielded the given signature value for me too. Take care. Jim |
Thanks for confirming. For further updates, see #332. We may try to get a deployment out to Demo with these fixes within a week. |
The fix for this issue was deployed to the Demo environment as part of today's hotfix deployment. |
environment
demo
508242
vsId
2313302
Algorithm registration
Endpoint in which the error is experienced
demo
Expected behaviour
pass without need to reverse supplied "rnd"
Additional context
For "deterministic=false" mode the ACVP supplies a "rnd" value, we take this "rnd" value and initialise a dummy entropy source that exposes as an entropy stream the values that it was initialised with in order, ie the first byte out will be byte[0] of the RND array.
Without reversing the "rnd" array I cannot get the AFT tests to pass, when the array is reversed the AFT tests in sigGen pass.
Secondary issue that may not be related:
At this stage I cannot get SigGen GDT tests to pass but our verifier can verify both our GDT results and the sample value.
Vectors attached.
Please let me know if you need any more information.
ml-dsa.zip
The text was updated successfully, but these errors were encountered: