Data Fields
ti_psa_mac_operation_s Struct Reference

#include <ti_psa_crypto_mac.h>

Collaboration diagram for ti_psa_mac_operation_s:
Collaboration graph
[legend]

Data Fields

union {
   struct {
      SHA2_Config   sha2Config
 
      SHA2XXF3HSM_Object   sha2Object
 
   }   sha2
 
   struct {
      AESCMAC_Config   aescmacConfig
 
      AESCMACXXF3_Object   aescmacObject
 
   }   aescmac
 
   struct {
      AESCMAC_Config   aescbcmacConfig
 
      AESCMACXXF3_Object   aescbcmacObject
 
   }   aescbcmac
 
driver
 
unsigned int id
 
size_t mac_size
 
psa_algorithm_t alg
 
size_t unprocessed_len
 
uint8_t unprocessedData [PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE]
 
uint8_t * curr_unprocessed_data
 
CryptoKey cryptoKey
 
bool is_sign
 

Field Documentation

§ sha2Config

SHA2_Config ti_psa_mac_operation_s::sha2Config

§ sha2Object

SHA2XXF3HSM_Object ti_psa_mac_operation_s::sha2Object

§ sha2

struct { ... } ti_psa_mac_operation_s::sha2

§ aescmacConfig

AESCMAC_Config ti_psa_mac_operation_s::aescmacConfig

§ aescmacObject

AESCMACXXF3_Object ti_psa_mac_operation_s::aescmacObject

§ aescmac

struct { ... } ti_psa_mac_operation_s::aescmac

§ aescbcmacConfig

AESCMAC_Config ti_psa_mac_operation_s::aescbcmacConfig

§ aescbcmacObject

AESCMACXXF3_Object ti_psa_mac_operation_s::aescbcmacObject

§ aescbcmac

struct { ... } ti_psa_mac_operation_s::aescbcmac

§ driver

union { ... } ti_psa_mac_operation_s::driver

§ id

unsigned int ti_psa_mac_operation_s::id

Unique ID indicating which driver got assigned to do the operation. Since driver contexts are driver-specific, swapping drivers halfway through the operation is not supported. ID values are auto-generated in psa_driver_wrappers.h ID value zero means the context is not valid or not assigned to any driver (i.e. none of the driver contexts are active).

§ mac_size

size_t ti_psa_mac_operation_s::mac_size

§ alg

psa_algorithm_t ti_psa_mac_operation_s::alg

§ unprocessed_len

size_t ti_psa_mac_operation_s::unprocessed_len

§ unprocessedData

uint8_t ti_psa_mac_operation_s::unprocessedData[PSA_BLOCK_CIPHER_BLOCK_MAX_SIZE]

§ curr_unprocessed_data

uint8_t* ti_psa_mac_operation_s::curr_unprocessed_data

§ cryptoKey

CryptoKey ti_psa_mac_operation_s::cryptoKey

§ is_sign

bool ti_psa_mac_operation_s::is_sign

The documentation for this struct was generated from the following file:
© Copyright 1995-2026, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale