I know the answer, the problem was with initialization vector - it is changed during encryption...
Thanks, Koza 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_encrypt---data-differs-on-first-16-bytes.-tf4678114.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 [EMAIL PROTECTED]