A structure containing pointers to all the entry points of a secure element driver.
Future versions of this specification may add extra substructures at the end of this structure.
Public Functions#
The version of the driver HAL that this driver implements.
The size of the driver's persistent data in bytes.
The driver initialization function.
Public Function Documentation#
MBEDTLS_PRIVATE#
uint32_t psa_drv_se_t::MBEDTLS_PRIVATE (hal_version )
The version of the driver HAL that this driver implements.
Type | Direction | Argument Name | Description |
---|---|---|---|
hal_version | N/A |
This is a protection against loading driver binaries built against a different version of this specification. Use PSA_DRV_SE_HAL_VERSION.
MBEDTLS_PRIVATE#
size_t psa_drv_se_t::MBEDTLS_PRIVATE (persistent_data_size )
The size of the driver's persistent data in bytes.
Type | Direction | Argument Name | Description |
---|---|---|---|
persistent_data_size | N/A |
This can be 0 if the driver does not need persistent data.
See the documentation of psa_drv_se_context_t::persistent_data for more information about why and how a driver can use persistent data.
MBEDTLS_PRIVATE#
psa_drv_se_init_t psa_drv_se_t::MBEDTLS_PRIVATE (p_init )
The driver initialization function.
Type | Direction | Argument Name | Description |
---|---|---|---|
p_init | N/A |
This function is called once during the initialization of the PSA Cryptography subsystem, before any other function of the driver is called. If this function returns a failure status, the driver will be unusable, at least until the next system reset.
If this field is NULL
, it is equivalent to a function that does nothing and returns PSA_SUCCESS.
MBEDTLS_PRIVATE#
const psa_drv_se_key_management_t * psa_drv_se_t::MBEDTLS_PRIVATE (key_management )
Type | Direction | Argument Name | Description |
---|---|---|---|
key_management | N/A |
MBEDTLS_PRIVATE#
const psa_drv_se_mac_t * psa_drv_se_t::MBEDTLS_PRIVATE (mac )
Type | Direction | Argument Name | Description |
---|---|---|---|
mac | N/A |
MBEDTLS_PRIVATE#
const psa_drv_se_cipher_t * psa_drv_se_t::MBEDTLS_PRIVATE (cipher )
Type | Direction | Argument Name | Description |
---|---|---|---|
cipher | N/A |
MBEDTLS_PRIVATE#
const psa_drv_se_aead_t * psa_drv_se_t::MBEDTLS_PRIVATE (aead )
Type | Direction | Argument Name | Description |
---|---|---|---|
aead | N/A |
MBEDTLS_PRIVATE#
const psa_drv_se_asymmetric_t * psa_drv_se_t::MBEDTLS_PRIVATE (asymmetric )
Type | Direction | Argument Name | Description |
---|---|---|---|
asymmetric | N/A |
MBEDTLS_PRIVATE#
const psa_drv_se_key_derivation_t * psa_drv_se_t::MBEDTLS_PRIVATE (derivation )
Type | Direction | Argument Name | Description |
---|---|---|---|
derivation | N/A |