From: Juan M. T. G. <gu...@ce...> - 2008-04-07 05:50:04
|
Compile gumstix-kernel-2.6.21 (that is what my gumstix is using) Go to gumstix-oe/tmp/deploy/glibc/images/gumstix-custom-verdex/ (I have verdex) In file: modules-2.6.21-r1-gumstix-custom-verdex.tgz you will find all modules Move to your gumstix all modules you need for encryption, these are: crypto/aes.ko <--- Encryption algorithm I use (you can upload some other) crypto/cbc.ko <--- IMPORTANT FOR CRYPTOLOOP TO WORK! drivers/block/cryptoloop.ko drivers/block/loop.ko Add this new modules to /lib/modules/2.6.21/modules.dep, if you want to add dependencies here remember that cryptoloop depends from loop and cbc. Add a new file to your /etc/modutils/ named cryptosystem with content: aes cbc loop cryptoloop Execute the command: update-modules Reboot and after statup you should be able to mount your partition with: loop -e aes /dev/loop0 /dev/.... or from a file: loop -e aes /dev/loop0 file.dat Good luck, -- Juan Miguel Taboada Godoy Centrologic (Computational Logistic Center) in...@ce... - http://www.centrologic.com (PGP key: 0x13318399) -------------------------------------------------------------------------------------------------------------------------- La legislación española ampara el secreto de las comunicaciones. Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o CONFIDENCIAL. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. Spanish law guarantees privacy in electronic communications. This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it. -------------------------------------------------------------------------------------------------------------------------- |