psa_drv_se_mac_t struct
A struct containing all of the function pointers needed to perform secure element MAC operations PSA Crypto API implementations should populate the table as appropriate upon startup. If one of the functions is not implemented (such as `psa_drv_se_mac_generate_t`), it should be set to NULL. Driver implementers should ensure that they implement all of the functions that make sense for their hardware, and that they provide a full solution (for example, if they support `p_setup`, they should also support `p_update` and at least one of `p_finish` or `p_finish_verify`).
Fields
The size in bytes of the hardware-specific secure element MAC context structure.
Function that performs a MAC setup operation.
Function that performs a MAC update operation.
Function that completes a MAC operation.
Function that completes a MAC operation with a verify check.
Function that aborts a previously started MAC operation.
Function that performs a MAC operation in one call.
Function that performs a MAC and verify operation in one call.
![]()
typedef struct {