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

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

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

814 Views
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 Kudos
Reply
2 Replies

714 Views
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 Kudos
Reply

714 Views
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 Kudos
Reply