AM261x MCU+ SDK: CMACArgs_t Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
CMACArgs_t Struct Reference
APIs for SOC Specific Device Drivers » APIs for HSMCLIENT

## Detailed Description

Args for CMAC generate and verify Note: These services are only available in HSSE mode.

Generate: on return ptrTag holds the full 16-byte AES-CMAC output. Verify: ptrTag must contain the expected 16-byte tag. ACK if tags match, NACK otherwise.

Parameters

  ptrData | Pointer to input data in shared memory
  dataLen | Length of input data in bytes
  ptrTag | Pointer to 16-byte tag buffer (output for generate, expected tag for verify)

## Data Fields
uint8_t * | ptrData
uint32_t | dataLen
uint8_t * | ptrTag

## Field Documentation

## ◆ ptrData

uint8_t* CMACArgs_t::ptrData

Pointer to input data in shared memory

## ◆ dataLen

uint32_t CMACArgs_t::dataLen

Input data length in bytes

## ◆ ptrTag

uint8_t* CMACArgs_t::ptrTag

Pointer to 16-byte MAC tag