-
Notifications
You must be signed in to change notification settings - Fork 815
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[crypto] Check for multiples of 3, 5, and 17 in RSA keygen.
These small primes have the convenient property that 2^8 mod p = 1, which significantly speeds up the check and allows it to share code with relprime_f4. Signed-off-by: Jade Philipoom <[email protected]>
- Loading branch information
1 parent
0b02f55
commit 1ba1b59
Showing
10 changed files
with
573 additions
and
55 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
Oops, something went wrong.