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
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.
-------------------------------------------------------------------------------
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