Re: evp_encrypt_init_ex

2011-05-06 Thread Prashant Batra
Thanks Steve. On Thu, May 5, 2011 at 6:11 PM, Dr. Stephen Henson wrote: > On Thu, May 05, 2011, Prashant Batra wrote: > > > Hi, > > > > One question regarding EVP_Encrypt APIs. > > > > > > EVP_EncryptInit_ex(&ctx, cipher, NULL, (unsigned char *)enc_key, > (unsigned > > char *)iv)) > > > > Is ther

Re: evp_encrypt_init_ex

2011-05-05 Thread Dr. Stephen Henson
On Thu, May 05, 2011, Prashant Batra wrote: > Hi, > > One question regarding EVP_Encrypt APIs. > > > EVP_EncryptInit_ex(&ctx, cipher, NULL, (unsigned char *)enc_key, (unsigned > char *)iv)) > > Is there a way to pass the iv as NULL during the call to the above API, and > then update this later

evp_encrypt_init_ex

2011-05-05 Thread Prashant Batra
Hi, One question regarding EVP_Encrypt APIs. EVP_EncryptInit_ex(&ctx, cipher, NULL, (unsigned char *)enc_key, (unsigned char *)iv)) Is there a way to pass the iv as NULL during the call to the above API, and then update this later on. I want to do this because of the following reason, I want t