Re: components of RSA keys?

2010-12-23 Thread Mounir IDRASSI
Start at function rsa_builtin_keygen in file crypto/rsa/rsa_gen.c. Good hack, -- Mounir IDRASSI IDRIX http://www.idrix.fr On 12/24/2010 12:35 AM, Mike Mohr wrote: Thanks much for the clarification. I'm interested in re-implementing RSA for my own education; can someone point me to the locati

Re: components of RSA keys?

2010-12-23 Thread Mike Mohr
Thanks much for the clarification. I'm interested in re-implementing RSA for my own education; can someone point me to the location in the openssl sources where the RSA keys are actually generated (so I can see how the BIGNUMs are manipulated)? Thanks, Mike On Thu, Dec 23, 2010 at 1:17 PM, Mouni

Re: components of RSA keys?

2010-12-23 Thread Jeffrey Walton
On Thu, Dec 23, 2010 at 3:48 PM, Mike Mohr wrote: > Good afternoon, > > When generating an RSA key, several components are described in the > output file.  Per the RSA specification on wikipedia, You should question anything on Wiki since it is generally unedited. Don't make the mistake of the fel

Re: components of RSA keys?

2010-12-23 Thread Mounir IDRASSI
Take a look at : http://en.wikipedia.org/wiki/RSA#Using_the_Chinese_remainder_algorithm exponent1 = dp exponent2 = dq coefficient = qInv -- Mounir IDRASSI IDRIX http://www.idrix.fr On 12/23/2010 9:48 PM, Mike Mohr wrote: Good afternoon, When generating an RSA key, several components are desc

components of RSA keys?

2010-12-23 Thread Mike Mohr
Good afternoon, When generating an RSA key, several components are described in the output file. Per the RSA specification on wikipedia, I can identify the following values: prime1: p prime2: q modulus: N = p * q publicExponent: e privateExponent: d What I'm not clear about is what function the