Hello Tomasz,

On Fri, Aug 22, 2008 at 03:04:24PM +0200, Tomasz Chmielewski wrote:
> I would like to use IXP4xx NPE crypto engine on Linux with OpenSSL.

Using the hardware crypto engine was once possible via the OCF cryptodev api.
However, I have no idea if it still works with the latest kernel.

> 
> Looking around the internet shows that one needs a patched version of 
> OpenSSL to use it; however it is hard to find up which documents are up 
> to date and still usable.
> 
> Could anyone point me to a working documentation about getting Linux 
> hardware crypto devices (like IXP4xx NPE crypto engine) working together 
> with OpenSSL?
> 

There is an efford to create a new interface to the kernel,
which is ongoing work and not even in Herbert Xu's tree.

Kernel part:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02172.html

OpenSSL Patch:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg02234.html

I never tested it.

The overhead of putting the data into the kernel and into the NPE
and back again was amortized by hardware speed only
above 1Kbyte of data length on the IXP4xx CPU.

This was at least the result back then when I tested OCF-cryptodev
with my driver.



Best regards
Christian


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to