CAAM job Descriptors sample code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CAAM job Descriptors sample code

1,460 Views
apoorvabhatia
Contributor III

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.

Labels (1)
Tags (4)
0 Kudos
2 Replies

629 Views
Yuri
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

629 Views
apoorvabhatia
Contributor III

Thanks! :-)

0 Kudos