Closed Bug 1840510 Opened 2 years ago Closed 2 years ago

Add ACVP test vectors to the repository

Categories

(NSS :: Test, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

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.

Blocks: 1750697

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.

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.

Flags: needinfo?(nkulatova)
Flags: needinfo?(iaroslav.gridin)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(nkulatova)
Flags: needinfo?(iaroslav.gridin)
Resolution: --- → FIXED

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

(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.

Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: