psa_drv_se_key_derivation_t Struct Reference

A struct containing all of the function pointers needed to for secure element key derivation and agreement.

#include <crypto_se_driver.h>

Public Member Functions

size_t MBEDTLS_PRIVATE (context_size)
The driver-specific size of the key derivation context.
psa_drv_se_key_derivation_setup_t MBEDTLS_PRIVATE (p_setup)
Function that performs a key derivation setup.
psa_drv_se_key_derivation_collateral_t MBEDTLS_PRIVATE (p_collateral)
Function that sets key derivation collateral.
psa_drv_se_key_derivation_derive_t MBEDTLS_PRIVATE (p_derive)
Function that performs a final key derivation step.
psa_drv_se_key_derivation_export_t MBEDTLS_PRIVATE (p_export)
Function that perforsm a final key derivation or agreement and exports the key.

A struct containing all of the function pointers needed to for secure element key derivation and agreement.

PSA Crypto API implementations should populate instances of the table as appropriate upon startup.

If one of the functions is not implemented, it should be set to NULL.

Member Function Documentation

MBEDTLS_PRIVATE() [1/5]

size_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE ( context_size )

The driver-specific size of the key derivation context.

MBEDTLS_PRIVATE() [2/5]

psa_drv_se_key_derivation_setup_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE ( p_setup )

Function that performs a key derivation setup.

MBEDTLS_PRIVATE() [3/5]

psa_drv_se_key_derivation_collateral_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE ( p_collateral )

Function that sets key derivation collateral.

MBEDTLS_PRIVATE() [4/5]

psa_drv_se_key_derivation_derive_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE ( p_derive )

Function that performs a final key derivation step.

MBEDTLS_PRIVATE() [5/5]

psa_drv_se_key_derivation_export_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE ( p_export )

Function that perforsm a final key derivation or agreement and exports the key.