-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ECDH): wrong test attribute in Wycheproof test
For context, testing an ECDH implementation with Wycheproof vectors led to an AttributeError on line 420 that used test.secret instead of test.private. Fixing this typo uncovered two additional bugs in test_exchange_wycheproof regarding the correct interpretation of the test result. This showed a problem with the test that should cover that function. The example wrapper used P-192, but Wycheproof does not provide vectors for that curve. And a bug in run_wrapper_python meant that Wycheproof vectors were disabled anyway. As such, the wrapper example now uses P-256 and the bug is fixed, so the function is properly covered and verifies that the fixes applied are working. Co-authored-by: Baptistin BOILOT <[email protected]> Issue: #11
- Loading branch information
1 parent
1af9286
commit 8320432
Showing
3 changed files
with
12 additions
and
9 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
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
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