Repository navigation
Implement RSA signing in Rust. - #394
briansmith wants to merge 10 commits into
Conversation
|
Coverage decreased (-0.02%) to 93.154% when pulling f405852bf24a6370d9f27b5ffd6e6157a6ac0dc2 on rsa-private-transform into 5b3a021 on rsa-public-exp. |
f405852 to
61aec3b
Compare
1 similar comment
|
@ranweiler I'm curious if I've got the terminology right this time in f684da8. Let me know if you see something wrong or that can otherwise be improved (disregarding the copyright line typo.) |
|
@briansmith looks good overall, I suggested some minor tweaks. |
5b3a021 to
58bb5ec
Compare
61aec3b to
c0600e8
Compare
|
@ranweiler Thanks for looking at that (busted) commit! I fixed the wording issues you mentioned and hopefully I didn't introduce new ones. |
1 similar comment
58bb5ec to
7c2fafe
Compare
c0600e8 to
fdd61a7
Compare
These aren't just useful for finite fields over primes GFp. They can be used for arithmetic in the ring Z/Zn where n isn't prime, as is the case for RSA arithmetic modulo the public modulus `n`. Now it is clear now that we're not going to need to disambiguate the types in this module with other libraries' types, so remove the `GFp_` prefixes.
These operations will be used not just for finite fields over primes but also for Z/Zn.
The added reduction isn't necessary, but this is the last non-modular arithmetic in *ring*'s RSA implementation.
fdd61a7 to
368279f
Compare
|
Landed as: dabde02 Use standard names for RSA private key fields. |
No description provided.