>> 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.

Thx for answer. I am a little bit confused. Is there any documentation how to 
use padding modes (especially OAEP and X 9.31) correctly?

Robert.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to