-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ML-DSA to break-kat framework (#2253)
### Issues: Resolves #PQCrypto-130 ### Description of changes: - Added ML-DSA to the break-kat tool. ### Call-outs: As the break kat test modifies input to switch it all out for zeros, I had to change the `kMLDSASignPlaintext` in `self_check.c` to no longer be all zeros. As such the expected signature also has changed. We also are no longer able to re-use the signature from `ML-DSA-sign` in `ML-DSA-verify` as we want to break the verify KAT independently of the sign KAT. As such, `kMLDSAVerifySignature` and `kMLDSAVerifyPlaintext` have been added. ### Testing: Running break-kat and callback tests both pass. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
- Loading branch information
Showing
3 changed files
with
430 additions
and
206 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.