How to use a black key to encrypt/decrypt?

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

How to use a black key to encrypt/decrypt?

2,322 次查看
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,

标签 (2)
标记 (2)
4 回复数

1,987 次查看
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 项奖励
回复

1,986 次查看
Yuri
NXP Employee
NXP Employee

Hello,

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

Regards,

Yuri.

0 项奖励
回复

1,987 次查看
Yuri
NXP Employee
NXP Employee

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 项奖励
回复

1,986 次查看
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