Found 9 other functions taking a
psa_key_slot_t
argument:
Retrieve flags from psa_key_slot_t::attr::core::flags.
Set flags in psa_key_slot_t::attr::core::flags.
Turn on flags in psa_key_slot_t::attr::core::flags.
Turn off flags in psa_key_slot_t::attr::core::flags.
Test whether a key slot is occupied. A key slot is occupied iff the key type is nonzero. This works because no valid key can have 0 as its key type.
Test whether a key slot is locked. A key slot is locked iff its lock counter is strictly greater than 0.
Completely wipe a slot in memory, including its policy. Persistent storage is not affected.
Try to allocate a buffer to an empty key slot.
Copy key data (in export format) into an empty key slot. This function assumes that the slot does not contain any key material yet. On failure, the slot content is unchanged.