How to use a black key to encrypt/decrypt?

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a black key to encrypt/decrypt?

472 Views
jérômepouiller
Contributor III

sm_test.c shows how to manage black keys. However, source code says:

The module does not show the use of key objects as working key register source material at this time.

And indeed, I didn't find any example to use a black key to encrypt or decrypt. Does someone has an example for that?

BR,

Labels (2)
Tags (2)
4 Replies

137 Views
jérômepouiller
Contributor III

This link seems to solve my problem. :smileyhappy:

However, there is something I don't understand. Once a key is loaded/imported to keystore, it should be possible to use it from a job to encrypt/decrypt data, no? Or I missed something?

0 Kudos

137 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

  Yes, please refer to the Security Manual(s) for more details. 

Regards,

Yuri.

0 Kudos

137 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

  the following may be helpful:

https://community.nxp.com/docs/DOC-335353 


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

137 Views
marius_grigoras
NXP Employee
NXP Employee

Hi Yuri,

The above example is for a red key blob and not a black key blob.

Thank you,

Marius