SE keys: support destroy
When destroying a key in a secure element, call the driver's destroy method and update the driver's persistent data in storage.
This commit is contained in:
parent
cbaff467ef
commit
354f7671f4
3 changed files with 35 additions and 0 deletions
library
|
@ -114,6 +114,14 @@ psa_status_t psa_find_se_slot_for_key(
|
|||
psa_se_drv_table_entry_t *driver,
|
||||
psa_key_slot_number_t *slot_number );
|
||||
|
||||
/** Destoy a key in a secure element.
|
||||
*
|
||||
* This function calls the relevant driver method to destroy a key
|
||||
* and updates the driver's persistent data.
|
||||
*/
|
||||
psa_status_t psa_destroy_se_key( psa_se_drv_table_entry_t *driver,
|
||||
psa_key_slot_number_t slot_number );
|
||||
|
||||
/** Load the persistent data of a secure element driver.
|
||||
*
|
||||
* \param driver The driver table entry containing the persistent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue