Hi All,

Is there any way to clone EVP_CIPHER_CTX similar to EVP_MD_CTX_copy is to clone 
EVP_MD_CTX object?

My use case:

        1. I have many input texts which start with same 1 MB data. They differ 
in latter parts.
        2. After encrypting first 1 MB data, I want to create a clone of 
EVP_CIPHER_CTX and continue executing in different branches.
 
In some places like 
http://www.opensource.apple.com/darwinsource/Current/ruby-22.0.1/ruby/ext/openssl/openssl_missing.c,
 I have found EVP_CIPHER_CTX_copy function.

But I want to know why openssl guys did not do this? Is there any problem 
associated with this?

Thanks in advance
DP





       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to