-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
p521: fix projective arithmetic tests
The tests added in #950 weren't actually running due to feature gating (the feature is named `wip-arithmetic-do-not-use`, but the conditional gating was using `arithmetic` instead). It turns out a small modification to `primeorder` was needed, since the `impl_projective_arithmetic_tests` macro was relying on `Into` conversions from core arrays to `GenericArray` which top out at 64-element arrays, and `p521`'s field elements are 66-bytes. With the modification in place, the tests pass!
- Loading branch information
Showing
4 changed files
with
15 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
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