linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Weber <shawk@gmx.net>
To: hcb@unco.de
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.0-test1 cryptoloop & aes
Date: 20 Jul 2003 10:22:37 +0200	[thread overview]
Message-ID: <1058689357.4241.9.camel@athxp.bwlinux.de> (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


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




             reply	other threads:[~2003-07-20  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-20  8:22 Benjamin Weber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-07-20  0:57 2.6.0-test1 cryptoloop & aes Hielke Christian Braun
2003-07-20  8:38 ` Andries Brouwer
2003-07-29 23:28   ` Bill Davidsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1058689357.4241.9.camel@athxp.bwlinux.de \
    --to=shawk@gmx.net \
    --cc=hcb@unco.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).