Ryan,

    -1 doesn't tell us much, does it? Try printing out the error stack with
ERR_print_errs_fp(stdout)
(http://www.openssl.org/docs/crypto/ERR_print_errors.html#). Are you careful
to ensure that the integer pointed to by *from is < your modulus?


Thanks,
======================
Greg Stark
[EMAIL PROTECTED]
======================


----- Original Message -----
From: "Ryan Jarvis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 10:35 AM
Subject: RSA_NO_PADDING


> IS it possible to use RSA_NO_PADDING when calling RSA_public_encrypt?
>
> I get a -1 returned from the RSA_public_encrypt() function?
>
> Thanks
> Ryan
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

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

Reply via email to