-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ec/suite_b: Make more LeakyLimb->Limb conversions explicit.
Rename `Modulus` to `PublicModulus` and add a new `Modulus`: PublicModulus::limbs: [LeakyLimb; _] Modulus::limbs: [Limb; _] Refactor the callers to (approximately) minimize the number of types a `Modulus` is constructed, as it will require a copy if/when `Limb` becomes a type distinct from `LeakyLimb`. (In the future, it is likely that more methods of `CommonOps` and `ScalarOps` will move to `Modulus<Q>` and `Modulus<N>`, respectively.)
- Loading branch information
1 parent
9b4bb53
commit d7a133b
Showing
12 changed files
with
240 additions
and
187 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
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
Oops, something went wrong.