On Tue, Sep 16, 2003 at 06:48:29PM +0300, Pasi Kärkkäinen wrote: > On Mon, Sep 15, 2003 at 10:16:59PM -0400, Ben Slusky wrote: > > On Mon, 15 Sep 2003 20:13:08 -0400, Ben Slusky wrote: > > > Hm... in this case I wouldn't expect it to be. You're using 256-bit > > > encryption, but the output of RIPEMD-160 is only 160 bits. It is possible > > > that hashalot sets the remaining bits differently than the old losetup code. > > > > Looking over the code that I copied into hashalot, the above explanation > > makes absolutely no sense whatsoever. Sorry. > > > > Did you apply both patches (variable-key-size and keygen-prog) to > > util-linux? If you didn't apply the keygen-prog patch then losetup may > > mutilate your key. > > > > OK. I missed this. I didn't patch util-linux 2.12 at all. > > I'll try again. > With patched util-linux 2.12 (and hashalot) I'm now able to succesfully mount the crypto-fs! Thank you very much! -- Pasi Kärkkäinen ^ . . Linux / - \ Choice.of.the .Next.Generation. - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/