Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

Secure element driver initialization

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_lifetime_t lifetime)
 A driver initialization function.
typedef uint64_t psa_key_slot_number_t
 An internal designation of a key slot between the core part of the PSA Crypto implementation and the driver.

Typedef Documentation

typedef psa_status_t(* psa_drv_se_init_t)(psa_drv_se_context_t *drv_context, void *persistent_data, psa_key_lifetime_t lifetime)

A driver initialization function.

Parameters:
[in,out]drv_contextThe driver context structure.
[in,out]persistent_dataA pointer to the persistent data that allows writing.
lifetimeThe lifetime value for which this driver is registered.
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 133 of file crypto_se_driver.h.

typedef uint64_t psa_key_slot_number_t

An internal designation of a key slot between the core part of the PSA Crypto implementation and the driver.

The meaning of this value is driver-dependent.

Definition at line 146 of file crypto_se_driver.h.