PSA Secure Element management function declarations. More...
PSA Secure Element management function declarations.
Definition in file psa_crypto_se_management.h.
Go to the source code of this file.
Data Structures | |
struct | psa_drv_se_internal_context_t |
Internal secure element driver context. More... | |
struct | psa_se_drv_data_s |
Structure containing secure element driver data and contexts. More... | |
Macros | |
#define | CONFIG_PSA_MAX_SE_COUNT (1) |
Maximum number of available secure elements. | |
#define | PSA_MAX_SE_COUNT (CONFIG_PSA_MAX_SE_COUNT) |
Maximum supported number of secure elements. | |
Typedefs | |
typedef struct psa_se_drv_data_s | psa_se_drv_data_t |
Encodes the secure element driver data. | |
Functions | |
psa_status_t | psa_register_secure_element (psa_key_location_t location, const psa_drv_se_t *methods, void *psa_se_configuration, const void *drv_transient_data) |
Register a secure element driver with the SE management. | |
psa_se_drv_data_t * | psa_get_se_driver_data (psa_key_lifetime_t lifetime) |
Get the driver data of a specified driver. | |
int | psa_get_se_driver (psa_key_lifetime_t lifetime, const psa_drv_se_t **p_methods, psa_drv_se_context_t **p_drv_context) |
Get the driver entry points and context of a specified driver. | |
const psa_drv_se_t * | psa_get_se_driver_methods (const psa_se_drv_data_t *driver) |
Get the driver entry points of a specified driver. | |
psa_drv_se_context_t * | psa_get_se_drv_context (psa_se_drv_data_t *driver) |
Get the driver context of a specified driver. | |
psa_status_t | psa_find_free_se_slot (const psa_key_attributes_t *attributes, psa_key_creation_method_t method, psa_se_drv_data_t *driver, psa_key_slot_number_t *slot_number) |
Find an empty key slot on a secure element appropriate to the key attributes. | |
psa_status_t | psa_destroy_se_key (psa_se_drv_data_t *driver, psa_key_slot_number_t slot_number) |
Destroy the key on a secure element. | |
psa_status_t | psa_load_se_persistent_data (const psa_se_drv_data_t *driver) |
Load SE data from persistent memory. | |
psa_status_t | psa_save_se_persistent_data (const psa_se_drv_data_t *driver) |
Save SE data to persistent memory. | |
psa_status_t | psa_destroy_se_persistent_data (psa_key_location_t location) |
Destroy SE data in persistent memory. | |