lkml.org 
[lkml]   [2003]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.0-test1 cryptoloop & aes
From
Date
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


> 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
>
>



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.017 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site