Re: Cipher Block Chaining

2010-05-06 Thread Dimitrios Siganos
Anthony Gabrielson wrote: My understanding however is that CBC should be able to recover from lost data (not just a few bad bytes or bits) - if the data is lost the decryption algorithm would have no a priori knowledge and therefore be lost and I wouldn't know where to pad it on the other end.

Re: Cipher Block Chaining

2010-05-05 Thread Anthony Gabrielson
well" To: openssl-users@openssl.org Sent: Wednesday, May 5, 2010 10:07:53 AM GMT -05:00 US/Canada Eastern Subject: Re: Cipher Block Chaining On Wed, May 5, 2010 at 7:07 AM, Anthony Gabrielson wrote: > works. So I'm curious whats going on - ism y understanding of CBC mistaken?

Re: Cipher Block Chaining

2010-05-05 Thread Phillip Hellewell
On Wed, May 5, 2010 at 7:07 AM, Anthony Gabrielson wrote: > works.  So I'm curious whats going on - ism y understanding of CBC mistaken? You need to keep things aligned for it to work properly. Try replacing the first 7 bytes with 0 rather than removing them and shifting everything over. You sh