AMD Geode LX and HW crypto

View: New views
1 Messages — Rating Filter:   Alert me  

AMD Geode LX and HW crypto

by marcello :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm experimenting (see previous message) with an ALIX 2C3 board.

The board is based on an AMD Geode LX 800 CPU which features both hw
chipher (128 bit AES CBC/ECB) and Random Number Generator.

After installing devil-linux on it, I'm wondering how to take advantage
of this hardware features.

I'm mainly interested in ssl-based applications (ssh and openvpn), so if
I could get openssl to load the required libraries (?) on startup it
would be enough.

Reading around I understand that to achieve this I need:
1) a kernel driver for the hardware
2) an openssl engine which uses the driver
3) a patch to openssl which loads the engine at lib startup

Now, point 1 is solved by geode_aes module, point 3 doesn't seem to be
hard to solve (I guess it shouldn't be much different from the "padlock"
engine patch), while point 2 seems critical (or it looks critical to me,
at least).

I've not been able to find any reference to a specific "geode" engine
(like the padlock one). The only solution I've found seems to be going
through the ocf-linux framework. I don't like this solution very much:
1) I don't like patching the kernel
2) I don't like adding a whole (and second) cryptographic framework just
to get an openssl engine
3) latest ocf-linux patches are targeted to 2.6.23 kernel

Is this the only available solution to have openssl support the geode
crypto subsystem?

Any comment would be welcomed.

Ciao

Marcello Desantis
Storming Sas


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Devil-linux-discuss mailing list
Devil-linux-discuss@...
https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss