In the following program, there is an explicit pre-condition that the data to be processed is a multiple of the block size, with check in code. "cipher" is EVP_aes_128_cbc() for sure. The program is a filter-like wrapper over a normal file.
http://pastebin.com/h8xrmR8a The last assertion in the program is hit. Am I missing something? The code works with EVP_enc_null() and EVP_rc4() ; I believe this is related to the block size and padding configuration. Also, I'm running this code on Fedora 12 x86-64, with this installed OpenSSL: [psi...@joana cipherstream]$ rpm -q openssl openssl-1.0.0-0.13.beta4.fc12.x86_64 -- Pedro Lamarão http://www.pedro.lamarao.nom.br/ "The True Self is the meaning of the True Will: know thyself through Thy Way." -- The Book of Thoth ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org