psa_destroy_persistent_key() function
Remove persistent data for the given key slot number.
Arguments
key
Persistent identifier of the key to remove from persistent storage.
Return value
#PSA_SUCCESS The key was successfully removed, or the key did not exist. #PSA_ERROR_DATA_INVALID \emptydescription