> From: Matt Caswell [mailto:fr...@baggins.org]
> Sent: Wednesday, January 22, 2014 18:01
Second pass with some minor improvements:
> On 22 January 2014 22:40, Dave Thompson wrote:
>
> > The general public-key sign and verify processes are:
> > S1. compute hash of data (or for CMS, hash of data
On 22 January 2014 22:40, Dave Thompson wrote:
> The general public-key sign and verify processes are:
>
> S1. compute hash of data (or for CMS, hash of data-hash plus some other
> bits)
>
> S2. generate signature for hash S1 using private key (RSA, DSA, or ECDSA)
>
> S3. send signature with or l
On 21 January 2014 23:51, HelenH Zhang wrote:
> Thank you, Matt for your quick reply.
>
> I have additional questions: I looked both links below:
>
> https://www.openssl.org/docs/crypto/EVP_PKEY_encrypt.html
> https://www.openssl.org/docs/crypto/EVP_PKEY_decrypt.html
>
> One for encryption, one fo
sh the data
yourself.
From: owner-openssl-us...@openssl.org
[mailto:owner-openssl-us...@openssl.org] On Behalf Of HelenH Zhang
Sent: Tuesday, January 21, 2014 18:51
To: openssl-users@openssl.org; fr...@baggins.org
Subject: Re: RSA_public_decrypt(), and RSA_private_encrypt()
Thank yo
(), and RSA_private_encrypt()
On 21 January 2014 15:44, HelenH Zhang wrote:
> Dear experts:
>
> We want to be able to specify padding.
> RSA_PKCS1_PADDING or RSA_NO_PADDING.
>
> I would like to use EVP API instead of RSA_Public_decrypt(), and
> RSA_Private_encrypt().
> W
On 21 January 2014 15:44, HelenH Zhang wrote:
> Dear experts:
>
> We want to be able to specify padding.
> RSA_PKCS1_PADDING or RSA_NO_PADDING.
>
> I would like to use EVP API instead of RSA_Public_decrypt(), and
> RSA_Private_encrypt().
> Which API should I use?
Dear experts:
We want to be able to specify padding.
RSA_PKCS1_PADDING or RSA_NO_PADDING.
I would like to use EVP API instead of RSA_Public_decrypt(), and
RSA_Private_encrypt().
Which API should I use?
I am currently using EVP_SignInit()/Update/Final() to do rsa sign, and
EVP_VerifyInit
Hi,everyone:
I want to use RSA_public_decrypt and RSA_private_encrypt to sign and
verify .But I cannot get it work . For RSA_public_encrypt and
RSA_private_decrypt there is a good example in RSA/rsatest.c ,can anyone
send me an example like rsatest.c but using RSA_public_decrypt and