Re: twofish160 not supported

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stefan Heinrichsen wrote:
> I try to handle a partition encrypted with SuSE's loop_fish2 module. I
> read http://loop-aes.sourceforge.net/ciphers.README and
> http://loop-aes.sourceforge.net/loop-AES.README and I've got a patched
> version of util-linux.

Are you using loop-AES and ciphers package kernel modules? If you are trying
to do that with cryptoloop, your attempt is guaranteed to fail.

# lsmod | grep loop
loop_twofish            9788   1
loop                   45392   6  (autoclean) [loop_twofish]
# losetup /dev/loop0
/dev/loop0: [0305]:963002 (/dev/hda7) encryption=twofish160 loinit=1

> When I do a
> ~> mount -t ext3 /dev/md0 /export/ -o \
> loop,encryption=twofish160,phash=rmd160,loinit=1
> 
> I get the error:
> "ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key
> length(160 bits) not supported by kernel"
> 
> With every other values instead of 160 he don't gives me that error.

cryptoloop/cryptoapi twofish does not understand twofish with 160 bit keys.

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux