Hello,
Do we have any sample code for the job descriptors for the CAAM? I am using iMx6 caam for data encryption but do not know how to refer to the input and output buffers. If there is a sample code, it might be useful to get an idea as to how to start with the job descriptors.
Thanks.
1.
You may look at the Platform SDK - it contains an example regarding blob using.
"The i.MX6 Platform SDK is located at:
https://www.freescale.com/webapp/sps/download/preDownload.jsp
2.
There is “sm_test.c” (Linux) example (located at "drivers/crypto/caam/sm_test.c")
for testing encapsulating and decapsulating of black keys.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks! :-)