A struct containing all of the function pointers needed to implement cipher operations using secure elements. More...
A struct containing all of the function pointers needed to implement cipher operations using secure elements.
PSA Crypto API implementations should populate instances of the table as appropriate upon startup or at build time.
If one of the functions is not implemented (such as psa_drv_se_cipher_ecb_t
), it should be set to NULL.
Definition at line 519 of file psa_crypto_se_driver.h.
#include <psa_crypto_se_driver.h>
Data Fields | |
size_t | context_size |
The size in bytes of the hardware-specific secure element cipher context structure. | |
psa_drv_se_cipher_setup_t | p_setup |
Function that performs a cipher setup operation. | |
psa_drv_se_cipher_set_iv_t | p_set_iv |
Function that sets a cipher IV (if necessary) | |
psa_drv_se_cipher_update_t | p_update |
Function that performs a cipher update operation. | |
psa_drv_se_cipher_finish_t | p_finish |
Function that completes a cipher operation. | |
psa_drv_se_cipher_abort_t | p_abort |
Function that aborts a cipher operation. | |
psa_drv_se_cipher_ecb_t | p_ecb |
Function that performs ECB mode for a cipher operation. | |
size_t psa_drv_se_cipher_t::context_size |
The size in bytes of the hardware-specific secure element cipher context structure.
Definition at line 521 of file psa_crypto_se_driver.h.
psa_drv_se_cipher_abort_t psa_drv_se_cipher_t::p_abort |
Function that aborts a cipher operation.
Definition at line 531 of file psa_crypto_se_driver.h.
psa_drv_se_cipher_ecb_t psa_drv_se_cipher_t::p_ecb |
Function that performs ECB mode for a cipher operation.
Definition at line 537 of file psa_crypto_se_driver.h.
psa_drv_se_cipher_finish_t psa_drv_se_cipher_t::p_finish |
Function that completes a cipher operation.
Definition at line 529 of file psa_crypto_se_driver.h.
psa_drv_se_cipher_set_iv_t psa_drv_se_cipher_t::p_set_iv |
Function that sets a cipher IV (if necessary)
Definition at line 525 of file psa_crypto_se_driver.h.
psa_drv_se_cipher_setup_t psa_drv_se_cipher_t::p_setup |
Function that performs a cipher setup operation.
Definition at line 523 of file psa_crypto_se_driver.h.
psa_drv_se_cipher_update_t psa_drv_se_cipher_t::p_update |
Function that performs a cipher update operation.
Definition at line 527 of file psa_crypto_se_driver.h.