On Fri, Jun 14, 2013, Robert Inzinger - SKIDATA wrote:

> Hi
> 
> I try to use RSA_private_encrypt and OAEP and always get the error at the
> call of RSA_private_encrypt :
> 

RSA_private_encrypt() is used for signing data whereas OAEP is a padding mode
used for encryption. You'd need to use RSA_public_encrypt and
RSA_private_decrypt instead.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to