mbed TLS Library
psa_is_key_slot_locked()
is only used within mbed TLS Library.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
mbed TLS Library
psa_is_key_slot_locked()
psa_is_key_slot_locked() function
Test whether a key slot is locked. A key slot is locked iff its lock counter is strictly greater than 0.
Syntax
Show:
Summary
Declaration
from
psa_crypto_core.h:108
static
inline
int
psa_is_key_slot_locked
(
const
psa_key_slot_t
*
slot
)
;
Arguments
Argument
Description
slot
The key slot to test.
Return value
1 if the slot is locked, 0 otherwise.
Related Functions
Found 9 other functions taking a
psa_key_slot_t
argument:
Function
Description
psa_key_slot_get_flags()
Retrieve flags from psa_key_slot_t::attr::core::flags.
psa_key_slot_set_flags()
Set flags in psa_key_slot_t::attr::core::flags.
psa_key_slot_set_bits_in_flags()
Turn on flags in psa_key_slot_t::attr::core::flags.
psa_key_slot_clear_bits()
Turn off flags in psa_key_slot_t::attr::core::flags.
psa_is_key_slot_occupied()
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.
psa_wipe_key_slot()
Completely wipe a slot in memory, including its policy. Persistent storage is not affected.
psa_allocate_buffer_to_slot()
Try to allocate a buffer to an empty key slot.
psa_remove_key_data_from_memory()
Wipe key data from a slot. Preserves metadata such as the policy.
psa_copy_key_material_into_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.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out