Re: [PATCH] loop: fixing cryptoloop troubles.

From: James Morris
Date: Mon Aug 11 2003 - 08:36:35 EST


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@xxxxxxxxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/