Re: A patch to loop.c for better cryption support

From: Andi Kleen (ak@suse.de)
Date: Thu Oct 12 2000 - 21:28:30 EST


On Fri, Oct 13, 2000 at 04:19:49AM +0000, Ingo Rohloff wrote:
> Hi again,
>
> Marc Mutz wrote:
>
> > > The loop device supports different IVs;
> > > the IVs are initilized with the requested block
> > > number.
>
> > > I believe a better way is to use the requested
> > > sector number from CURRENT->sector.
> > > Using this value should make the encryption and decryption
> > > process completely independent from the underlying device.
>
> > Two times no.
> >
> > First: This breaks backward-compatibility.
> Right, (I mentioned this), but the backward-compatible
> way means:

2.4 has already broken backwards compatibility to 2.2 (IV changed
from disk absolute to relative). When you change it now (before 2.4.0)
it is relatively painless. I think the change is a good idea.

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



This archive was generated by hypermail 2b29 : Sun Oct 15 2000 - 21:00:24 EST