Cryptolook device?
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 3 lines · Sven Köhler
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_id70&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 3 lines · you
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 3 lines
Quoted 1 line
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 2 lines · Sven Köhler
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_id70&alloc_id638&opÌk
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 5 lines · you
add:
source
crypto/Config.inat 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel