Mistake on this page?
Report an issue in GitHub or email us
Data Fields
psa_drv_se_t Struct Reference

A structure containing pointers to all the entry points of a secure element driver. More...

#include <crypto_se_driver.h>

Data Fields

uint32_t hal_version
 The version of the driver HAL that this driver implements. More...
 
size_t persistent_data_size
 The size of the driver's persistent data in bytes. More...
 
psa_drv_se_init_t p_init
 The driver initialization function. More...
 

Detailed Description

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.

Definition at line 1289 of file crypto_se_driver.h.

Field Documentation

uint32_t hal_version

The version of the driver HAL that this driver implements.

This is a protection against loading driver binaries built against a different version of this specification. Use PSA_DRV_SE_HAL_VERSION.

Definition at line 1295 of file crypto_se_driver.h.

The driver initialization function.

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.

Definition at line 1317 of file crypto_se_driver.h.

size_t persistent_data_size

The size of the driver's persistent data in bytes.

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.

Definition at line 1305 of file crypto_se_driver.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.