Mistake on this page?
Report an issue in GitHub or email us
Data Fields
psa_drv_se_cipher_t Struct Reference

A struct containing all of the function pointers needed to implement cipher operations using secure elements. More...

#include <crypto_se_driver.h>

Data Fields

size_t context_size
 The size in bytes of the hardware-specific secure element cipher context structure. More...
 
psa_drv_se_cipher_setup_t p_setup
 Function that performs a cipher setup operation. More...
 
psa_drv_se_cipher_set_iv_t p_set_iv
 Function that sets a cipher IV (if necessary) More...
 
psa_drv_se_cipher_update_t p_update
 Function that performs a cipher update operation. More...
 
psa_drv_se_cipher_finish_t p_finish
 Function that completes a cipher operation. More...
 
psa_drv_se_cipher_abort_t p_abort
 Function that aborts a cipher operation. More...
 
psa_drv_se_cipher_ecb_t p_ecb
 Function that performs ECB mode for a cipher operation (Danger: ECB mode should not be used directly by clients of the PSA Crypto Client API) More...
 

Detailed Description

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 507 of file crypto_se_driver.h.

Field Documentation

size_t context_size

The size in bytes of the hardware-specific secure element cipher context structure.

Definition at line 511 of file crypto_se_driver.h.

Function that aborts a cipher operation.

Definition at line 521 of file crypto_se_driver.h.

Function that performs ECB mode for a cipher operation (Danger: ECB mode should not be used directly by clients of the PSA Crypto Client API)

Definition at line 526 of file crypto_se_driver.h.

Function that completes a cipher operation.

Definition at line 519 of file crypto_se_driver.h.

Function that sets a cipher IV (if necessary)

Definition at line 515 of file crypto_se_driver.h.

Function that performs a cipher setup operation.

Definition at line 513 of file crypto_se_driver.h.

Function that performs a cipher update operation.

Definition at line 517 of file crypto_se_driver.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.