Re: CAAM job Descriptors sample code

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

Re: CAAM job Descriptors sample code

775 次查看
yilingxu
Contributor III

Yuri‌, are there any tutorial I can reference to construct a job descriptor? In other worlds, are there any tutorial explain the meaning of each bit in a job descriptor?

I have read sm_test.c in "drivers/crypto/caam/sm_test.c". but I still not know, for example, why desc[0] should be set as CMD_DESC_HDR | HDR_ONE | (idx & HDR_DESCLEN_MASK) rather than as 0x010001 for blacken_key_jobdesc.

Thanks,

Yiling Xu

0 项奖励
回复
1 回复

685 次查看
Yuri
NXP Employee
NXP Employee

Hello,

 

   I am afraid, we do not have a CAAM tutorial for customers. The i.MX6 Security RM

is the main documentation about the CAAM.

https://www.nxp.com/webapp/sps/download/mod_download.jsp?colCode=IMX6DQ6SDLSRM&appType=moderatedWith... 

 

Have a great day,

Yuri

 

------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer

button. Thank you!

0 项奖励
回复