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
owner-openssl-us...@openssl.org wrote on 10/28/2010 03:07:18 AM:
> From: Bob Dijck
>
> 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? Sho
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 you can if you want but RSA_sign() does all that for you.
There is an easier way: the encapsulation
. 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
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: - First I calculate the SHA1 hash (not using openssl but
> another implementation). - But then what? Should I use RSA_private_encrypt
> or rsa_sign