CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
atca_write_mac_in_out Struct Reference

Input/output parameters for function atcah_write_auth_mac() and atcah_privwrite_auth_mac(). More...

#include <lib/host/atca_host.h>

Data Fields

uint8_t zone
 Zone/Param1 for the Write or PrivWrite command.
 
uint16_t key_id
 KeyID/Param2 for the Write or PrivWrite command.
 
const uint8_t * sn
 Device serial number SN[0:8]. Only SN[0:1] and SN[8] are required though.
 
const uint8_t * input_data
 Data to be encrypted. 32 bytes for Write command, 36 bytes for PrivWrite command.
 
uint8_t * encrypted_data
 Encrypted version of input_data will be returned here. 32 bytes for Write command, 36 bytes for PrivWrite command.
 
uint8_t * auth_mac
 Write MAC will be returned here. 32 bytes.
 
struct atca_temp_keytemp_key
 Current state of TempKey.
 

Detailed Description

Input/output parameters for function atcah_write_auth_mac() and atcah_privwrite_auth_mac().