Add ACVP test vectors to the repository
Categories
(NSS :: Test, enhancement)
Tracking
(Not tracked)
People
(Reporter: iaroslav.gridin, Unassigned)
References
Details
Attachments
(2 files)
Currently vectors included with acvp-rust are used, this stores them in the repository for easier maintenance.
These vectors cover AES(GCM), ECDSA, RSA, SHA256 and big number operations.
This includes both vectors from ACVP and ones produced by fuzzing by acvp-rust.
The latter do not necessarily verify the correctness but ensure most code is covered and behaves normally during test execution.
Reporter | ||
Comment 1•2 years ago
|
||
These cover AES(GCM), ECDSA, RSA, SHA256 and big number operations.
This includes both vectors from ACVP and ones produced by fuzzing by acvp-rust.
The latter do not necessarily verify the correctness but ensure most code is covered and behaves normally during test execution.
Comment 2•2 years ago
|
||
There is an r+ patch which didn't land and no activity in this bug for 2 weeks.
:iaroslav.gridin, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.
Comment 3•2 years ago
|
||
Comment 4•2 years ago
•
|
||
Some of the fuzzer generated ECDSA tests are failing with the new HACL* P-256 code. I think it's a problem with the old code rather than the new code---it looks like the old code accepted private keys that were shorter than 32 bytes.
https://treeherder.mozilla.org/jobs?repo=nss&selectedTaskRun=RIVMo_WRRV-t1BzKadmmEw.0
Reporter | ||
Comment 5•2 years ago
|
||
(In reply to John Schanck [:jschanck] from comment #4)
Some of the fuzzer generated ECDSA tests are failing with the new HACL* P-256 code. I think it's a problem with the old code rather than the new code---it looks like the old code accepted private keys that were shorter than 32 bytes.
https://treeherder.mozilla.org/jobs?repo=nss&selectedTaskRun=RIVMo_WRRV-t1BzKadmmEw.0
Thanks for the notice, fixed in a patch.
Reporter | ||
Comment 6•2 years ago
|
||
Comment 7•2 years ago
|
||
Description
•