EncryptFinal, aes_128_cbc and unexpected remaining data

2010-05-23 Thread Pedro LamarĂ£o
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

Re: EncryptFinal, aes_128_cbc and unexpected remaining data

2010-05-23 Thread Jeffrey Walton
The last assertion in the program is hit. Am I missing something? PKCS padding. 2010/5/21 Pedro LamarĂ£o pedro.lama...@gmail.com: 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