Concerning the function: int RSA_private_encrypt(...); This function returns "-1" when the public exponent "e" is NULL. But, as far as I know, the RSA encryption with the private key only needs: - public modulus "n" and - private exponent "d" to be mentioned in the RSA structure.
Is the RSA_private_encrypt not supported? I saw the same behavior with a CRT private key. I don't understand why the public exponent "e" must be mentioned. Can you explain me this behavior? Thanks by advance. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]