Re: p2q RSA key augmentation

2012-08-09 Thread David Madden
On 8/9/2012 14:54, Erik Tkal wrote: > I don't believe OpenSSL has any mechanism to directly calculate P and > Q; this requires an iterative process. Once you have those, however, > calculating the rest are simple calculations using the BN library. Thanks, Erik. I wrote the following code to calc

p2q RSA key augmentation

2012-08-09 Thread David Madden
Hi, I have an RSA key { D, E, N } generated by another library. I can use OpenSSL to encrypt & decrypt interoperably, but I would like to extend the key with the other factors OpenSSL uses to work faster (factors P, Q, DMP1, DMQ1, IQMP). Is there a library function that computes these other facto