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

Re: "The cipher does not exist"-error, although available in/proc/crypto/cipher/*



On Mon, 2002-09-30 at 03:56, Thomas =?ISO-8859-1?Q? M=FCller ?= wrote:
[..]
> When I try to setup a loop device with encryption I
> get the following error:
> 
> # losetup -e aes /dev/loop0 ~/.crypto
> Available keysizes (bits): 128 192 256
> Keysize: 128
> Password:
> The cipher does not exist, or a cipher module needs to
> be loaded into the kernel
> ioctl: LOOP_SET_STATUS: Invalid argument
> #
> 
> The file ~/.crypto was created before as described in
> the howto. /proc/crypto/cipher/* proves that the aes
> cipher is available:
> 
> # ls /proc/crypto/cipher/
> aes-cbc  aes-cfb  aes-ctr  aes-ecb  aes-rtc
> #
> 
> The howto does not have any further advice. I really
> thought I could finally start working with this - but
> now I do not know what else to do. Can anybody please
> help out?

sure :-)

do you have cryptoloop.o (CONFIG_CRYPTOLOOP) either compiled as module
(and loaded via insmod/modprobe) or compiled statically into the kernel?

regards,
-- 
Herbert Valerio Riedel       /    Phone: (EUROPE) +43-1-58801-18840
Email: hvr@hvrlab.org       /    Finger hvr@gnu.org for GnuPG Public Key
GnuPG Key Fingerprint: 7BB9 2D6C D485 CE64 4748  5F65 4981 E064 883F 4142

This is a digitally signed message part