-
Notifications
You must be signed in to change notification settings - Fork 505
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
Expand test coverage to all 100 NIST KAT values #1418
Comments
The environment wouldn't thank us if we'd do it in CI (mostly wasted CPU cycles). As running it at least once does make sense, though, I'd suggest adding this at most to the weekly build/regression test, possibly only to a test script to be run manually, e.g. at release. |
Agreed; weekly would certainly suffice. |
Bumping this discussion to note that I recently encountered a subtle bug when patching HQC that only affected two of the 100 KATs. The PQClean automated tests all pass on the buggy version, since they also check only the first KAT. |
Doesn't sound good. What about raising this issue then to one to be resolved in release "0.9.0"? If the goal is to have a high certainty that release 0.9.0 indeed has proper(ly tested) implementations for all NIST finishers and R4 candidates shouldn't this issue then be resolved before that release? |
It certainly would be nice. I seem to recall that when we thought about doing this several years ago the performance was rather problematic, but maybe most of the remaining algorithms it should be fine. I don't think I'd hold the 0.9.0 release for it, but it would be good to include in our next release. |
I can take a look at expanding the |
Currently our KAT tests only test against the first KAT, but most NIST submissions include (if memory serves) 100 values. We could do all of these.
The text was updated successfully, but these errors were encountered: