psa_wipe_key_slot() function
Completely wipe a slot in memory, including its policy. Persistent storage is not affected.
Arguments
slot
The key slot to wipe.
Return value
#PSA_SUCCESS Success. This includes the case of a key slot that was already fully wiped. #PSA_ERROR_CORRUPTION_DETECTED \emptydescription