RSA_NO_PADDING leads to the same error. 

Frank Wockenfuß

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marek Marcola
Gesendet: Donnerstag, 2. August 2007 15:05
An: openssl-users@openssl.org
Betreff: Re: AW: AW: AW: RSA_public_decrypt problem

Hello,
> This test programs works fine, so I think I need to check my signatures (as 
> David Schwartz mentioned too). 
Signature is not important when you do RSA_public_decrypt().
First you must decode data and after that you may try to interpret them.
Function RSA_public_decrypt() first performs modular exponentation and next 
tries to remove padding. Your error seems to occur on first step.
To be sure, just decrypt with RSA_NO_PADDING to get raw data (but I do not 
belive this is real cause).

Best regards,
--
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to