> > Currently lomount.c uses LO_CRYPT_FISH2, but that fails, so perhaps I > will try DUMMY... > Poking at /proc/crypto/cipher/twofish revealed the cipher number is 9, so LO_CRYPT_DUMMY is twofish. Go figure. Also, I changed the previous twofish blocksize of 20 to 16. So everything recompiled and worked, with twofish and aes. The updated patch for util-linux is attached. Do people want an improved version of losetup? It could read the /proc/crypto/cipher/ directory...but that would require loading the module before running losetup (if you use modules...). Or it could have additional command line options to pass in the cipher number and blocksize. Then it would not need to be recompiled, and overly paranoid people could use the longer cipher block sizes. The current losetup has no command line flag to get the password or the key from stdin or a file. Hmmmm... Stupid crypto question...are the -cbc versions useful to losetup? -- Chris Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/