RE: AES encryption using RSA keys

2011-08-29 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Friday, 26 August, 2011 16:11 > Thanks for your detailed Explanation Dave. I am going to encrypt > using AES in server side using EVP , > EVP_EncryptInit_ex(&x, EVP_aes_256_cbc(), NULL, k

Re: AES encryption using RSA keys

2011-08-26 Thread krishnamurthy santhanam
Thanks for your detailed Explanation Dave. I am going to encrypt using AES in server side using EVP , EVP_EncryptInit_ex(&x, EVP_aes_256_cbc(), NULL, key,iv)) EVP_EncryptUpdate(&x, outbuf, &outlen, (const unsigned char*) intext, strlen(intext))) EVP_EncryptFinal_ex(&x,outbuf+outlen,&tmplen)) clien

RE: AES encryption using RSA keys

2011-08-25 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of krishnamurthy santhanam > Sent: Wednesday, 24 August, 2011 02:32 > Basically when we encrypt something using an RSA key (whether public > or private), the encrypted value must be smaller than the key (due to > the mat