Loading...
Searching...
No Matches
Secure Element Driver Initialization

Detailed Description

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.
 
typedef uint64_t psa_key_slot_number_t
 Encoding of a key slot number on a secure element.
 

Typedef Documentation

◆ psa_drv_se_init_t

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
drv_contextThe driver context structure.
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.
Returns
PSA_SUCCESS The driver is operational. The core will update the persistent data in storage. 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 152 of file psa_crypto_se_driver.h.

◆ psa_key_slot_number_t

typedef uint64_t psa_key_slot_number_t

Encoding of a key slot number on a secure element.

Definition at line 159 of file psa_crypto_se_driver.h.