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
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.
Have a great day,
Yuri
------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer
button. Thank you!