On Wed, May 05, 2010, Christina Penn wrote:

> Hello David,
> 
> Can you show me exactly how to break up my example code to make my example
> work? I tried removing the EVP_DecryptFinal_ex from my DecryptMessage
> function and just seeing if the first part would just decrypt the first 7
> bytes, but it got thrown into my catch statement. I am really confused.
> 

In that mode (CBC) you can decrypt partial messages but only in multiples
of the block size: 16 bytes for AES.

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to