Secure element driver initialization#

Modules#

psa_drv_se_context_t

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

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

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) )(psa_drv_se_context_t *drv_context, void *persistent_data, psa_key_location_t location)

A driver initialization function.

Parameters
[inout]drv_context

The driver context structure.

[inout]persistent_data

A pointer to the persistent data that allows writing.

N/Alocation

The location value for which this driver is registered. The driver will be invoked for all keys whose lifetime is in this location.

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 util/third_party/mbedtls/include/psa/crypto_se_driver.h

psa_key_slot_number_t#

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 149 of file util/third_party/mbedtls/include/psa/crypto_se_driver.h