Re: Problem with EVP_EncryptUpdate/EVP_DecryptUpdate

2011-11-30 Thread Jussi Peltonen
gt; -Messaggio originale- > Da: owner-openssl-...@openssl.org [mailto:owner-openssl-...@openssl.org] Per > conto di Ladar Levison > Inviato: mercoledì 30 novembre 2011 08:33 > A: openssl-dev@openssl.org > Cc: Jussi Peltonen > Oggetto: Re: Problem with EVP_EncryptUpdate/EVP

Re: Problem with EVP_EncryptUpdate/EVP_DecryptUpdate

2011-11-29 Thread Ladar Levison
Someone else might have a better answer, but I suspect your problem is that your calling Final after every Update, and/or the block size is wrong. I haven't worked with BF, but at least with AES, the modes dictates the proper input block size. The job of the Final function is to pad the inpu