Re: [PATCH] loop: fixing cryptoloop troubles.

James Morris
2003-08-11T13:31:43Z

On Mon, 11 Aug 2003, Pascal Brisset wrote:

> > Ok, please take into account the case where src == dst.
>
> OK, looks like there is a tricky interplay between algorithms and
> transforms. Cipher implementors will need documentation here, e.g.
> "cia_encrypt and cia_decrypt are always called with src==dst UNLESS
> we are running in CBC mode AND cia_ivsize!=0" (Please confirm...)

All implementors need to know at that level is that src may equal dst.

- James
--
James Morris
<jmorris@intercode.com.au>