CAAM job Descriptors sample code

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAAM job Descriptors sample code

1,486 次查看
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.

标签 (1)
标记 (4)
0 项奖励
2 回复数

655 次查看
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!
-----------------------------------------------------------------------------------------------------------------------

655 次查看
apoorvabhatia
Contributor III

Thanks! :-)

0 项奖励