Closed vincenthz closed 12 years ago
Are these the only two reasons to combine the structures? It seems a bit confusing to me for some reason. I'd almost rather duplicate e as well, if that's what you're really looking for.
yes, i agree it's not necessarily ideal, and i'm not totally sure how to handle it the best way. However practically it seems to make sense:
OK, you've convinced me. Send me a pull request and I'll pull it in.
Hi, i'm planning to update the private key RSA structure with the following patch:
This makes the public key a sub field of a private key, instead of having 2 duplicate fields (private_n and private_size). In this case, e is useful for doing crypto-blinding when using chinese remainder optimisations.
is this update acceptable for RSA ? if so i'll do a pull request, otherwise i'm willing to discuss other possible solutions.