On Wed, Mar 05, 2008, John Parker wrote:

> Is it appropriate to call the sequence
> EVP_CipherInit_ex()
> EVP_CipherUpdate_ex()
> EVP_CipherFinal_ex()
> 
> *multiple* times between init and cleanup?
> 

Yes it is appropriate, in fact that is the most efficient way of doing things.

By doing that certain structures can be reused rather than allocated and freed
up each time.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to