Thanks Steve.

On Thu, May 5, 2011 at 6:11 PM, Dr. Stephen Henson <st...@openssl.org>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 there a way to pass the iv as NULL during the call to the above API,
> and
> > then update this later on.
>
> Yes. You set the iv parameter to NULL in the initial call and later set all
> parameters apart from the context and iv to NULL.
>
> Steve.
> --
> Dr Stephen N. Henson. OpenSSL project core developer.
> Commercial tech support now available see: http://www.openssl.org
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           majord...@openssl.org
>



-- 
Prashant Batra
Follow the dreams!!

Reply via email to