I am hoping to offload the RSAPrivateDecrypt function to an external device.
My OpenSSL RSA data structure for the private key contains the values
p,q, d mod(p-1), d mod(q-1), and (q^-1)modp.  The device needs all these
except the last, and instead it calls for (p^-1)modq.
1)Is it true that either value is sufficient to do the decryption ?
2)Is the (p^-1)modq value available somewhere in the data structure, or do I
need to calculate it via BN_mod_inverse() or some such ?

Thanks,
Joe Coates

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to