All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] Cryptolook device?
@ 2004-03-13 14:28 Sven Köhler
  2004-03-13 15:39 ` Sven 'Darkman' Michels
  2004-03-13 23:37 ` Chris Watt
  0 siblings, 2 replies; 6+ messages in thread
From: Sven Köhler @ 2004-03-13 14:28 UTC (permalink / raw)
  To: user-mode-linux-devel

hi,

menuconfig doesn't show the crypto loopback device. i'm just curious, 
but why is it disabled? or has it just been forgotten?

thx
   sven



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Cryptolook device?
  2004-03-13 14:28 [uml-devel] Cryptolook device? Sven Köhler
@ 2004-03-13 15:39 ` Sven 'Darkman' Michels
  2004-03-13 23:37 ` Chris Watt
  1 sibling, 0 replies; 6+ messages in thread
From: Sven 'Darkman' Michels @ 2004-03-13 15:39 UTC (permalink / raw)
  To: UML devel list

Sven Köhler wrote:
> hi,
> 
> menuconfig doesn't show the crypto loopback device. i'm just curious, 
> but why is it disabled? or has it just been forgotten?

Good question, once i tried to add twofish support (by a manual
patch) but it doesn't seem to work (maybe its due to the lack
of module support, but i'm not sure about)

Regards,
Sven



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Cryptolook device?
  2004-03-13 14:28 [uml-devel] Cryptolook device? Sven Köhler
  2004-03-13 15:39 ` Sven 'Darkman' Michels
@ 2004-03-13 23:37 ` Chris Watt
  2004-03-14  0:54   ` Sven Köhler
  1 sibling, 1 reply; 6+ messages in thread
From: Chris Watt @ 2004-03-13 23:37 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Sven Köhler

At 03:28 PM 13/03/2004 +0100, you wrote:
>hi,
>
>menuconfig doesn't show the crypto loopback device. i'm just curious, but 
>why is it disabled? or has it just been forgotten?

I've been told that it was mostly excluded because the pristine source 
doesn't include cryptoloop and nobody had expressed much interest in the 
CryptoAPI.

I patched it into 2.4.24 a while back, but I've misplaced my patch. You may 
be able to find it in the uml-devel archives. Basically I just did the 
following:

- Apply a cryptoloop patch (I forget if I was using cryptoloop-jari or 
cryptoloop-hvr, it was whichever was larger at the time because the smaller 
one didn't behave well with encrypted swap).

- Apply a UML patch.

- Alter the arch/um config files to include the CryptoAPI and cryptoloop 
config options.

It seemed to work quite well at the time.

If you're not in any rush and don't want to do it yourself, e-mail me back. 
I'll probably be getting back to UML in a more serious way in a couple of 
weeks, at which point I'll do something similar for 2.4.25 (or whatever the 
latest 2.4 kernel with a stable UML patch is at the time).




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Cryptolook device?
  2004-03-13 23:37 ` Chris Watt
@ 2004-03-14  0:54   ` Sven Köhler
  2004-03-14  1:28     ` Sven 'Darkman' Michels
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Köhler @ 2004-03-14  0:54 UTC (permalink / raw)
  To: Chris Watt; +Cc: user-mode-linux-devel

>> menuconfig doesn't show the crypto loopback device. i'm just curious, 
>> but why is it disabled? or has it just been forgotten?
> 
> I patched it into 2.4.24 a while back, but I've misplaced my patch. You 
> may be able to find it in the uml-devel archives. Basically I just did 
> the following:

I'm talking about 2.6.4-um1 which doesn't include the CryptoLoop device 
although it is available in 2.6.4 without any additional patch.
It seems to me, as if Jeff just forgot to put it into some file (i'm 
don't know much about how menuconfig works, and where the config for 
that is).


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Cryptolook device?
  2004-03-14  0:54   ` Sven Köhler
@ 2004-03-14  1:28     ` Sven 'Darkman' Michels
  2004-03-14 20:19       ` Chris Watt
  0 siblings, 1 reply; 6+ messages in thread
From: Sven 'Darkman' Michels @ 2004-03-14  1:28 UTC (permalink / raw)
  To: user-mode-linux-devel

Sven Köhler wrote:

> I'm talking about 2.6.4-um1 which doesn't include the CryptoLoop device 
> although it is available in 2.6.4 without any additional patch.
> It seems to me, as if Jeff just forgot to put it into some file (i'm 
> don't know much about how menuconfig works, and where the config for 
> that is).

for 2.4.x:
add:

source crypto/Config.in

at the end of arch/um/config.in

to get the options... BUT:
i don't know if thats enough. I played with 2.4 and can't get it
to work. /proc/crypto is there and looks ok, but losetup doesn't
work. Probably because i'm using a non modular kernel.

Regards,
Sven (the other one ;)



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [uml-devel] Cryptolook device?
  2004-03-14  1:28     ` Sven 'Darkman' Michels
@ 2004-03-14 20:19       ` Chris Watt
  0 siblings, 0 replies; 6+ messages in thread
From: Chris Watt @ 2004-03-14 20:19 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: Sven 'Darkman' Michels

At 02:28 AM 14/03/2004 +0100, you wrote:
>add:
>
>source crypto/Config.in
>
>at the end of arch/um/config.in

This adds CryptoAPI, which required for cryptoloop, but not all that's 
required. In 2.4 you also need to apply one of the cryptoloop patches that 
are drifting around, otherwise your loopback device won't actually use the 
CryptoAPI.





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-03-14 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-13 14:28 [uml-devel] Cryptolook device? Sven Köhler
2004-03-13 15:39 ` Sven 'Darkman' Michels
2004-03-13 23:37 ` Chris Watt
2004-03-14  0:54   ` Sven Köhler
2004-03-14  1:28     ` Sven 'Darkman' Michels
2004-03-14 20:19       ` Chris Watt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.