Jivin Zhuang Yuyao lays it down ...
> Hi,
>
> I am evaluating a Cavium NITROX Lite PCI card to accelerate a program
> based on openssl libraries but no openssl engine support is provided by
> Cavium SDK(version 4.1).
>
> The SDK includes the source code of a generic device driver and turbossl
> (a modified openssl 0.9.7d library) and I wish to port its device driver
> to OCF framework, then use OCF as the engine for openssl. My questions are:
>
> 1) Is there any work has been done for nitrox lite support for OCF? If
> the answer is 'NO', I am going to do it, but
Not that I know of, but it would be nice to have ;-)
> 2) Does OCF-linux support asymmetric crypto algorithm such as RSA/DSA? I
> looked at the ubsec source code in OpenBSD, it seems that the answer is
> 'Yes'.
Yes, OCF has provisions for cards that do public key type functions.
Checkout the safenet driver.
> 3) After searching the web by google, I did not find any good reference
> on how to do such a work, could anyone please give me some advice on how
> to write a OCF compatible device driver? what is its generic skeleton
> and where should I pay more attentions while writing code?
Get the source code from:
http://ocf-linux.sourceforge.net/
Look at the safenet driver, it's probably the cleanest and easiest to
follow. You can also look at the ixp4xx driver for a simple framework.
Both provide most the functionality available under OCF,
Cheers,
Davidm
--
David McCullough, [EMAIL PROTECTED], Custom Embedded Solutions + Security
Ph:+61 734352815 Fx:+61 738913630 http://www.uCdot.org http://www.cyberguard.com
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html