14:31
To: openssl-users@openssl.org
Subject: Re: rsa_sign versus RSA_private_encrypt
On Thu, Oct 28, 2010, Bob Dijck wrote:
> Thank you, Steve, for the swift reply.
> Can I use i2d_X509_SIG to perform to encapsulation step (supposing I have to
> use RSA_private_encrypt)?
>
Well yo
. Stephen Henson
Sent: donderdag 28 oktober 2010 12:32
To: openssl-users@openssl.org
Subject: Re: rsa_sign versus RSA_private_encrypt
On Thu, Oct 28, 2010, Bob Dijck wrote:
> Hello,
>
> I am trying to implement a signing function in C++ using RSA. Here's how I
> wanted to do this: - Firs
Hello,
I am trying to implement a signing function in C++ using RSA.
Here's how I wanted to do this:
- First I calculate the SHA1 hash (not using openssl but another
implementation).
- But then what? Should I use RSA_private_encrypt or rsa_sign? When I use
RSA_private_encrypt the result is d