How can I test CAAM features on imx6 platforms. Is there any sample application that can use CAAM features.
How can I integrate CAAM h/w acceleration with OpenSSL?
For CAAM, please use the patches, available on Freescales public GIT server at the following link:
Direct link to the patches:
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:
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
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?
Can you provide me that patches. I can place service request for that if required.
When can we expect new release of Linux BSP for imx6 platforms.
I do not have the mentioned patches, perhaps it would be better to issue a SR.
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.
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?
Only IPSEC has been tested (with the recent patches). As for OpenSSL - I do not have information if this has been tested with the i.MX6 CAAM.
Thanks Yuri Muhin for all your support.
Retrieving data ...