What interface do you use from userspace to decrypt a Red Blob using the OTPMK

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

What interface do you use from userspace to decrypt a Red Blob using the OTPMK

538 次查看
samrusty
Contributor I

 Assuming the Master key has been programmed correctly, what is the recommended Freescale SDK interface for Red blob decryption using the Master key.  I have read it can be done, and I see were people have been pointed to a variety of documentation, but I haven't seen a clear answer on were the interface is.    

0 项奖励
2 回复数

438 次查看
bpe
NXP Employee
NXP Employee

There is no dedicated interface for blob operations. Blob protocol
descriptors shall be submitted for processing using generic
caam_jr_enqueue() call. Userspace programs can use the UIO driver.
See drivers/crypto/caam/jr.c and drivers/uio/fsl_sec_uio.c for
details.

Regards,

Platon

0 项奖励

438 次查看
samrusty
Contributor I

I assume there must be some sort of API for this such as cryptodev has the API for the crypto algorithms.

0 项奖励