Skip to contentSkip to conversation

2.6.0-test1 cryptoloop & aes

DISCUSSION Benjamin Weber 1 participant 1 message Jul 20, 2003

lore
Share & tools
lore
#0 lore raw

Hello Christian

I think you need to write

losetup -e aes128 /dev/loop5 /dev/hda4 or
losetup -e aes256 /dev/loop5 /dev/hda4

instead of just
losetup -e aes /dev/loop5 /dev/hda4

If you have use for a good howto that deals with an aes cryptoloop setup (not kernel based though) , check this one:
http://forums.gentoo.org/viewtopic.php?t=31363&start=0

--
Benjamin

Quoted 44 lines

Hello,

i try to test the cryptoloop in 2.6.0-test1. I have enabled:

CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_AES=y

Then i installed the losetup from util-linux-2.12pre. When i setup the device like this:

/lib/losetup -e aes /dev/loop5 /dev/hda4

I get:

Unsupported encryption type aes

cat /proc/crypto:

name : aes
module : kernel
blocksize : 16
min keysize : 16
max keysize : 32
ivsize : 16

Is the cryptoloop in 2.6.0 not usable yet?

Regards,
Christian