Loading...
Searching...
No Matches

A structure containing pointers to all the entry points of a secure element driver. 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 1262 of file psa_crypto_se_driver.h.

#include <psa_crypto_se_driver.h>

Data Fields

uint32_t hal_version
 The version of the driver HAL that this driver implements.
 
size_t persistent_data_size
 The size of the driver's persistent data in bytes.
 
psa_drv_se_init_t p_init
 The driver initialization function.
 
const psa_drv_se_key_management_tkey_management
 Key management methods.
 
const psa_drv_se_mac_tmac
 MAC operation methods.
 
const psa_drv_se_cipher_tcipher
 Cipher operation methods.
 
const psa_drv_se_aead_taead
 AEAD operation methods.
 
const psa_drv_se_asymmetric_tasymmetric
 Asymmetric operation methods.
 
const psa_drv_se_key_derivation_tderivation
 Key derivation methods.
 

Field Documentation

◆ aead

const psa_drv_se_aead_t* psa_drv_se_t::aead

AEAD operation methods.

Definition at line 1298 of file psa_crypto_se_driver.h.

◆ asymmetric

const psa_drv_se_asymmetric_t* psa_drv_se_t::asymmetric

Asymmetric operation methods.

Definition at line 1299 of file psa_crypto_se_driver.h.

◆ cipher

const psa_drv_se_cipher_t* psa_drv_se_t::cipher

Cipher operation methods.

Definition at line 1297 of file psa_crypto_se_driver.h.

◆ derivation

const psa_drv_se_key_derivation_t* psa_drv_se_t::derivation

Key derivation methods.

Definition at line 1300 of file psa_crypto_se_driver.h.

◆ hal_version

uint32_t psa_drv_se_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 1269 of file psa_crypto_se_driver.h.

◆ key_management

const psa_drv_se_key_management_t* psa_drv_se_t::key_management

Key management methods.

Definition at line 1295 of file psa_crypto_se_driver.h.

◆ mac

const psa_drv_se_mac_t* psa_drv_se_t::mac

MAC operation methods.

Definition at line 1296 of file psa_crypto_se_driver.h.

◆ p_init

psa_drv_se_init_t psa_drv_se_t::p_init

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 1293 of file psa_crypto_se_driver.h.

◆ persistent_data_size

size_t psa_drv_se_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 1280 of file psa_crypto_se_driver.h.


The documentation for this struct was generated from the following file: