Hi,
openssl private_encrypt function does not handle the RSA_PKCS1_OAEP_PADDING. But the public_encrypt () has this PADDING handled. Is there any specific reasons behind this?
Well OAEP padding is intended for encryption schemes (not signing) and for encryption normally the public key is used (and the private key for decryption (that's why RSA_private_decrypt supports OEAP padding ))
How to use OAEP padding with PrivateEncyption?
exchange the private and public key (in case it makes sense)
Nils
______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]