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.

Public Functions#

size_t
MBEDTLS_PRIVATE(context_size)

The driver-specific size of the key derivation context.

Function that performs a key derivation setup.

MBEDTLS_PRIVATE(p_collateral)

Function that sets key derivation collateral.

MBEDTLS_PRIVATE(p_derive)

Function that performs a final key derivation step.

MBEDTLS_PRIVATE(p_export)

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

Public Function Documentation#

MBEDTLS_PRIVATE#

size_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE (context_size )

The driver-specific size of the key derivation context.

Parameters
TypeDirectionArgument NameDescription
context_sizeN/A

MBEDTLS_PRIVATE#

psa_drv_se_key_derivation_setup_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE (p_setup )

Function that performs a key derivation setup.

Parameters
TypeDirectionArgument NameDescription
p_setupN/A

MBEDTLS_PRIVATE#

psa_drv_se_key_derivation_collateral_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE (p_collateral )

Function that sets key derivation collateral.

Parameters
TypeDirectionArgument NameDescription
p_collateralN/A

MBEDTLS_PRIVATE#

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.

Parameters
TypeDirectionArgument NameDescription
p_deriveN/A

MBEDTLS_PRIVATE#

psa_drv_se_key_derivation_export_t psa_drv_se_key_derivation_t::MBEDTLS_PRIVATE (p_export )

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

Parameters
TypeDirectionArgument NameDescription
p_exportN/A