psa_drv_se_key_derivation_t
crypto_se_driver.h
size_t size_t psa_drv_se_key_derivation_t::context_size context_size psa_drv_se_key_derivation_t::context_size

The driver-specific size of the key derivation context

psa_drv_se_key_derivation_setup_t psa_drv_se_key_derivation_setup_t psa_drv_se_key_derivation_t::p_setup p_setup psa_drv_se_key_derivation_t::p_setup

Function that performs a key derivation setup

psa_drv_se_key_derivation_collateral_t psa_drv_se_key_derivation_collateral_t psa_drv_se_key_derivation_t::p_collateral p_collateral psa_drv_se_key_derivation_t::p_collateral

Function that sets key derivation collateral

psa_drv_se_key_derivation_derive_t psa_drv_se_key_derivation_derive_t psa_drv_se_key_derivation_t::p_derive p_derive psa_drv_se_key_derivation_t::p_derive

Function that performs a final key derivation step

psa_drv_se_key_derivation_export_t psa_drv_se_key_derivation_export_t psa_drv_se_key_derivation_t::p_export p_export psa_drv_se_key_derivation_t::p_export

Function that performs 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.

psa_drv_se_context_t
psa_drv_se_key_derivation_t
p_setup
- psa_drv_se_key_derivation_t
  context_size
- psa_drv_se_key_derivation_t
  p_collateral
- psa_drv_se_key_derivation_t
  p_derive
- psa_drv_se_key_derivation_t
  p_export
- psa_drv_se_key_derivation_t
  p_setup