1.
For CAAM, please use the patches, available on Freescales public GIT server at the following link:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.0.35_4.0.0
Direct link to the patches:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_3.0.35_4.0.0&id=6068d7a77b2101c172fc2f003f90b1febbf99505
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_3.0.35_4.0.0&id=b30237c79003223c6e8035d5be183cd4f0b469f9
2.
As known, the AF_ALG family provides the user-space interface for the kernel crypto API. While a kernel (2.6.38 and later)
supports the AF_ALG socket interface, various third-party cryptodev implementations are also available.
Here are some links to a couple of starting points:
http://carnivore.it/2011/04/23/openssl_-_af_alg
http://home.gna.org/cryptodev-linux/
http://ocf-linux.sourceforge.net/
The enclosed is implementaion from Dipen Patel.
Hi Yuri,
To continue with Jemin's original request, we also tried test procedure mentioned in imx-test-3.0.35-4.0.0 under caam test. But we do not see interrupt counter increment. caam-jr.0 is only incremented to 3 when the driver is loaded during system boot. After that no update whatever test you do.
FYI.
We are building crypto and caam drivers as kernel integrated. And only test crypt is build as a module (tcrypt.ko).
We tried this as well but no luck. Has it been tested to work with CAAM? If yes do we need to enable any specific options in kernel and/or openSSL?
Regards,
Dipen Patel
1.
For CAAM, please use the patches, available on Freescales public GIT server at the following link:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/log/?h=imx_3.0.35_4.0.0
Direct link to the patches:
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_3.0.35_4.0.0&id=6068d7a77b2101c172fc2f003f90b1febbf99505
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/?h=imx_3.0.35_4.0.0&id=b30237c79003223c6e8035d5be183cd4f0b469f9
2.
As known, the AF_ALG family provides the user-space interface for the kernel crypto API. While a kernel (2.6.38 and later)
supports the AF_ALG socket interface, various third-party cryptodev implementations are also available.
Here are some links to a couple of starting points:
http://carnivore.it/2011/04/23/openssl_-_af_alg
http://home.gna.org/cryptodev-linux/
http://ocf-linux.sourceforge.net/
The enclosed is implementaion from Dipen Patel.
The following is stated
"Freescale has some patches that address the CAAM driver crash.
These patches will hopefully be included in the next BSP update."
in the next thread
https://community.freescale.com/message/335389#335389
So, CAAM driver is not fully working in the recent release, it makes sense to wait
next BSP release or, please apply to local Freescale FAE for the patches.
I tried AF_ALG plugin for openssl. But there was no change in openssl response. Means there was no performance improvement.
Interrupt count in /proc/interrupt is also not increasing form camm-jr during Openssl AF_ALG test. How can I test using h/w acceleration?