Contains a full description of a key used by an SE command.

Public Attributes#

size_t

Key size, applicable if key_type == SYMMETRIC.

uint32_t

Flags describing restrictions, permissions and attributes of the key.

Storage location for this key.

uint8_t *

Optional password for key usage (8 bytes).

const void *

Pointer to domain descriptor if this key contains an asymmetric key on a custom domain The reason for pointing instead of containing is to make it possible to have the parameters in ROM.

Public Attribute Documentation#

type#

sl_se_key_type_t sl_se_key_descriptor_t::type

Key type.


size#

size_t sl_se_key_descriptor_t::size

Key size, applicable if key_type == SYMMETRIC.


flags#

uint32_t sl_se_key_descriptor_t::flags

Flags describing restrictions, permissions and attributes of the key.


storage#

sl_se_key_storage_t sl_se_key_descriptor_t::storage

Storage location for this key.


password#

uint8_t* sl_se_key_descriptor_t::password

Optional password for key usage (8 bytes).

If no password is provided (NULL pointer), any key not stored as plaintext will be stored with a password of all-zero bytes.


domain#

const void* sl_se_key_descriptor_t::domain

Pointer to domain descriptor if this key contains an asymmetric key on a custom domain The reason for pointing instead of containing is to make it possible to have the parameters in ROM.