-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bigint: Stop using
BoxedLimbs
in PrivateExponent
.
When constructing a `PrivateExponent` we enforce that the exponent is appropriately-sized for its associated modulus; this check is relied on in RSA private key construction for key component consistency checks. However, once the `PrivateExponent` is constructed there is no reason to relate its value to the modulus. Doing so has inhibited us from using some test vectors that are in the BoringSSL test suite. Further this usage blocks encapsulating `BoxedLimbs` into its own submodule.
- Loading branch information
1 parent
f462f28
commit 68a3b14
Showing
3 changed files
with
18 additions
and
15 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