XenevaOS
Loading...
Searching...
No Matches
Public Member Functions | List of all members
psa_drv_se_t Struct Reference

#include <crypto_se_driver.h>

Public Member Functions

uint32_t MBEDTLS_PRIVATE (hal_version)
 
size_t MBEDTLS_PRIVATE (persistent_data_size)
 
psa_drv_se_init_t MBEDTLS_PRIVATE (p_init)
 
const psa_drv_se_key_management_t * MBEDTLS_PRIVATE (key_management)
 
const psa_drv_se_mac_t * MBEDTLS_PRIVATE (mac)
 
const psa_drv_se_cipher_t * MBEDTLS_PRIVATE (cipher)
 
const psa_drv_se_aead_t * MBEDTLS_PRIVATE (aead)
 
const psa_drv_se_asymmetric_t * MBEDTLS_PRIVATE (asymmetric)
 
const psa_drv_se_key_derivation_t * MBEDTLS_PRIVATE (derivation)
 

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.

Member Function Documentation

◆ MBEDTLS_PRIVATE() [1/9]

const psa_drv_se_aead_t * psa_drv_se_t::MBEDTLS_PRIVATE ( aead  )

◆ MBEDTLS_PRIVATE() [2/9]

const psa_drv_se_asymmetric_t * psa_drv_se_t::MBEDTLS_PRIVATE ( asymmetric  )

◆ MBEDTLS_PRIVATE() [3/9]

const psa_drv_se_cipher_t * psa_drv_se_t::MBEDTLS_PRIVATE ( cipher  )

◆ MBEDTLS_PRIVATE() [4/9]

const psa_drv_se_key_derivation_t * psa_drv_se_t::MBEDTLS_PRIVATE ( derivation  )

◆ MBEDTLS_PRIVATE() [5/9]

uint32_t psa_drv_se_t::MBEDTLS_PRIVATE ( 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.

◆ MBEDTLS_PRIVATE() [6/9]

const psa_drv_se_key_management_t * psa_drv_se_t::MBEDTLS_PRIVATE ( key_management  )

◆ MBEDTLS_PRIVATE() [7/9]

const psa_drv_se_mac_t * psa_drv_se_t::MBEDTLS_PRIVATE ( mac  )

◆ MBEDTLS_PRIVATE() [8/9]

psa_drv_se_init_t psa_drv_se_t::MBEDTLS_PRIVATE ( 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.

◆ MBEDTLS_PRIVATE() [9/9]

size_t psa_drv_se_t::MBEDTLS_PRIVATE ( 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.


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