mbed TLS v3.1.0
Data Structures | Typedefs
Secure element driver initialization

Data Structures

struct  psa_drv_se_context_t
 Driver context structure. More...
 

Typedefs

typedef psa_status_t(* psa_drv_se_init_t )(psa_drv_se_context_t *drv_context, void *persistent_data, psa_key_location_t location)
 A driver initialization function. More...
 

Detailed Description

Typedef Documentation

typedef psa_status_t(* psa_drv_se_init_t)(psa_drv_se_context_t *drv_context, void *persistent_data, psa_key_location_t location)

A driver initialization function.

Parameters
[in,out]drv_contextThe driver context structure.
[in,out]persistent_dataA pointer to the persistent data that allows writing.
locationThe location value for which this driver is registered. The driver will be invoked for all keys whose lifetime is in this location.
Return values
PSA_SUCCESSThe driver is operational. The core will update the persistent data in storage.
Returns
Any other return value prevents the driver from being used in this session. The core will NOT update the persistent data in storage.

Definition at line 136 of file crypto_se_driver.h.