I know the answer, the problem was with initialization vector - it is changed
during encryption...


Koza wrote:
> Hi,
> I have problem with AES_cbc_encrypt function. I use code you can see below
> and unfortunately my function that compares arrays gives an error. The
> data from in3 and tmp3 looks similar, but there is a difference on first
> 16 bytes. Any idea what is going on?

View this message in context: http://www.nabble.com/AES_cbc_encryp...html#a13382213
Sent from the OpenSSL - User mailing list archive at Nabble.com.

__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org