Hi there,

Sorry if this has been covered before... I'm working on some software
that needs to encrypt messages between two parties. I'm using OpenSSL's
EVP functions, and I'm wondering if I need to use EVP_Encrypt/DecryptInit
and EVP_CIPHER_CTX_cleanup for each message that I encrypt. I guess I'm
unclear about whether a context is something that's applicable to an
entire session or simply to one message. I tried it the former way, but
when I went to encrypt the second message, it included a part of the first
message that it had encrypted, which leads me to believe that I should be
cleaning that up and reinitalizing. Anyway, thanks for any help...

Haig

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to