Update ML-KEM vectors to final FIPS-203 version #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the test vectors for "accumulated" cases and the "unlucky samples" cases.
I verified those vectors only with my own implementation: although I'm confident in those enough to submit this PR, the vectors should be tested with other implementations to better assert their correctness.
The modulus and strcmp cases have not been modified. Even if the keys used in those cases probably cannot be generated from valid seeds anymore, it is not important for the purpose of those tests.
I have not regenerated the "intermediate" test cases because of how tedious it is to imitate the current output format and I wanted to prioritize the other test vectors. If this is requested and it's fine to not exactly imitate the format, I can come up with something.
EDIT:
I forgot to mention that the new unlucky vectors have all been bruteforced and verified to ensure they draw at least 384 samples. More precisely: