Microchip® Advanced Software Framework

sha204_mac_parameters Struct Reference

This structure contains the parameters for the sha204m_mac function.

#include <sha204_command_marshaling.h>

Data Fields

uint8_t * challenge
 pointer to 32 bytes of challenge data to be sent to client More...
 
uint16_t key_id
 what key to use for the MAC calculation More...
 
uint8_t mode
 what to include in the MAC calculation More...
 
uint8_t * rx_buffer
 pointer to receive buffer More...
 
uint8_t * tx_buffer
 pointer to send buffer More...
 

uint8_t* sha204_mac_parameters::challenge

pointer to 32 bytes of challenge data to be sent to client

Referenced by main(), and sha204m_mac().

uint16_t sha204_mac_parameters::key_id

what key to use for the MAC calculation

Referenced by main(), and sha204m_mac().

uint8_t sha204_mac_parameters::mode

what to include in the MAC calculation

Referenced by main(), and sha204m_mac().

uint8_t* sha204_mac_parameters::rx_buffer

pointer to receive buffer

Referenced by main(), and sha204m_mac().

uint8_t* sha204_mac_parameters::tx_buffer

pointer to send buffer

Referenced by main(), and sha204m_mac().