Hi All,
I am trying to use OpenSSL to encrypt/decrypt some data for that
I am using EVP_* API. I have a question about EVP_En/DecryptUpdate function.
The second param of these functions is a pointer to a buffer where the
En/Decrypted data will be copied by the function, but I wasn't able to find
how wide the buffer should be allocated before calling the function. I've
noticied that for Blowfish cbc cipher, the output data is equal to input
data size. Would that be OK to *always* allocate the output buffer of the
same size as that of input buffer (the fourth param) for *any* cipher ???
Lastly, what should be the output buffer size for En/DecryptFinal API???
Thanks for your time,
Regards,
Usman.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager [EMAIL PROTECTED]