SE050 Persistent vs Transient key mode

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

SE050 Persistent vs Transient key mode

2,106 次查看
ethanlooney
Contributor II

Hi,

I am currently writting/generating a few keys on the SE050 and was wondering the difference between "kKeyObject_Mode_Persistent" and "kKeyObject_Mode_Transient". I understand Transient keys are "freed" after a session is closed but I am unsure how or when Persistent keys are erased. Could you provide some insight on how to erase Persistent keys?

Thanks,

Ethan

标签 (1)
0 项奖励
回复
2 回复数

2,102 次查看
Kan_Li
NXP TechSupport
NXP TechSupport

Hi @ethanlooney ,

 

The command of "DeleteSecureObject" can be used for that purpose, and we also provide demo code in the MW, please kindly refer to "SE-PLUG-TRUST-MW\simw-top\demos\se05x\se05x_Delete_and_test_provision" for more details.

 

Hope that helps,

 

Have a great day,
Kan


-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

 

 

0 项奖励
回复

1,788 次查看
StevenCai
Contributor I

Hi @Kan_Li 

 

I tried to use the APIs in "SE-PLUG-TRUST-MW\simw-top\demos\se05x\se05x_Delete_and_test_provision" to clear persistent memory. I have never created a kSE05x_AppletResID_UNIQUE_ID object, and the program failed to inject the dummy key.

I can not write any secure object into the edge lock on my board. It will return 0x6985 for each writing operation. I assume it is caused by lacking persistent memory space(Please let me know if I am wrong). So I am trying to clean up the persistent memory space. The memory left information is as below.

persistent mem left = 356

transient reset mem left = 607

transient deselect mem left = 592

 

Just wondering if there is any other method to clear persistent memory. It seems that I met the chicken and egg problem.

 

Thank you

 

Best regards,

Steven

0 项奖励
回复