[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems w/ AES & Twofish modules + losetup
It's been a week now since my last posting, so in short:
I compiled a 2.2.16 kernel with a 2.2.18.3 int_patch and modules for
AES, Twofish and Blowfish. Only the Blowfish part is working.
* Alexander S A Kjeldaas [2001-01-07]:
> On Sun, Jan 07, 2001 at 12:19:50PM +0100, Christoph Hertel wrote:
> > /home/chh# losetup -e Twofish /dev/loop0 cryptotest
> > Password :
> > ioctl: LOOP_SET_STATUS: Invalid argument
> > /home/chh# losetup -e AES /dev/loop0 cryptotest
> > Unsupported encryption type AES
> > /home/chh# losetup -e Rijndael /dev/loop0 cryptotest
> > Unsupported encryption type Rijndael
> I always use lower-case names. From the top of my head I'm not sure
> that it works with mixed-case (I'll have to fix that I think).
I tried it lowercase and it doesn't work (same messages).
> > alias cipher-3 fish2
> You cipher-3 alias is wrong - it should point to twofish, not fish2.
I changed it, it doesn't work.
The original crypto-aliases coming with Debian modutils (2.3.23-2) are:
# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
With these, blowfish works, modprobe complains about not finding
locate-xfer-3 and cipher-3 (when I try Twofish) and doesn't say anything
for Rijndael (twofish and rijndael modules aren't loaded, too).
According to the HOWTO I removed cipher-3 and added instead "alias
cipher-9 twofish". I also removed loop-xfer-3 (which was source of
modprobe-complains). The effect is, that modprobe doesn't complain
anymore and the kernel says:
kernel: cryptoapi: Registered twofish (9)
kernel: cryptoapi: Registered twofish-cbc (65545)
That's new, that's good, something happened, the twofish modules got
loaded! Unfortunately, losetup is still complaining like before (see
above).
So, where can I get the-one-and-only (TM) cipher-aliases? Is there
anybody with crypto-modules out there? What's in your modules.conf?
This whole module-alias-thingy is a complete black box to me. Can
somebody give me a link to an explanatory text, or is this nothing for
somebody who couldn't get any infos regarding my question out of
/usr/src/linux/Documentation/modules.txt and 'man modules.conf'?
Thanks for your help.
Christoph
--
PGP (GnuPG) encrypted mail welcome! (Key 0xBAC8E4D5)
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/