Microchip® Advanced Software Framework

sha204_command_marshaling.c File Reference
#include <string.h>
#include "sha204_lib_return_codes.h"
#include "sha204_command_marshaling.h"

Functions

uint8_t sha204m_check_mac (struct sha204_check_mac_parameters *args)
 This function sends a CheckMAC command to the device and receives its response. More...
 
static uint8_t sha204m_check_parameters (struct sha204_command_parameters *args)
 This function checks the parameters for sha204m_execute(). More...
 
uint8_t sha204m_derive_key (struct sha204_derive_key_parameters *args)
 This function sends a DeriveKey command to the device and receives its response. More...
 
uint8_t sha204m_dev_rev (struct sha204_dev_rev_parameters *args)
 This function sends a DevRev command to the device and receives its response. More...
 
uint8_t sha204m_execute (struct sha204_command_parameters *args)
 This function creates a command packet, sends it, and receives its response. More...
 
uint8_t sha204m_gen_dig (struct sha204_gen_dig_parameters *args)
 This function sends a GenDig command to the device and receives its response. More...
 
uint8_t sha204m_hmac (struct sha204_hmac_parameters *args)
 This function sends an HMAC command to the device and receives its response. More...
 
uint8_t sha204m_lock (struct sha204_lock_parameters *args)
 This function sends a Lock command to the device and receives its response. More...
 
uint8_t sha204m_mac (struct sha204_mac_parameters *args)
 This function sends a MAC command to the device and receives its response. More...
 
uint8_t sha204m_nonce (struct sha204_nonce_parameters *args)
 This function sends a Nonce command to the device and receives its response. More...
 
uint8_t sha204m_pause (struct sha204_pause_parameters *args)
 This function sends a Pause command to SWI devices and receives a response from the selected device. More...
 
uint8_t sha204m_random (struct sha204_random_parameters *args)
 This function sends a Random command to the device and receives its response. More...
 
uint8_t sha204m_read (struct sha204_read_parameters *args)
 This function sends a Read command to the device and receives its response. More...
 
uint8_t sha204m_update_extra (struct sha204_update_extra_parameters *args)
 This function sends an UpdateExtra command to the device and receives its response. More...
 
uint8_t sha204m_write (struct sha204_write_parameters *args)
 This function sends a Write command to the device and receives its response. More...