Microchip® Advanced Software Framework

atca_gen_dig_in_out Struct Reference

Input/output parameters for function atcah_gen_dig().

#include <atca_host.h>

Data Fields

bool is_key_nomac
 [in] Set to true if the slot pointed to be key_id has the SotConfig.NoMac bit set More...
 
uint16_t key_id
 [in] KeyId/Param2 for the GenDig command More...
 
const uint8_t * other_data
 [in] 32-byte value for shared nonce zone, 4-byte value if is_key_nomac is true, ignored and/or NULL otherwise More...
 
const uint8_t * sn
 [in] Device serial number SN[0:8]. Only SN[0:1] and SN[8] are required though. More...
 
const uint8_t * stored_value
 [in] 32-byte slot value, config block, OTP block as specified by the Zone/KeyId parameters More...
 
struct atca_temp_keytemp_key
 [inout] Current state of TempKey More...
 
uint8_t zone
 [in] Zone/Param1 for the GenDig command More...
 

bool atca_gen_dig_in_out::is_key_nomac

[in] Set to true if the slot pointed to be key_id has the SotConfig.NoMac bit set

Referenced by atcah_gen_dig().

uint16_t atca_gen_dig_in_out::key_id

[in] KeyId/Param2 for the GenDig command

Referenced by atcah_gen_dig(), and atcah_gen_mac().

const uint8_t* atca_gen_dig_in_out::other_data

[in] 32-byte value for shared nonce zone, 4-byte value if is_key_nomac is true, ignored and/or NULL otherwise

Referenced by atcah_gen_dig().

const uint8_t* atca_gen_dig_in_out::sn

[in] Device serial number SN[0:8]. Only SN[0:1] and SN[8] are required though.

Referenced by atcah_gen_dig(), and atcah_gen_mac().

const uint8_t* atca_gen_dig_in_out::stored_value

[in] 32-byte slot value, config block, OTP block as specified by the Zone/KeyId parameters

Referenced by atcah_gen_dig(), and atcah_gen_mac().

struct atca_temp_key* atca_gen_dig_in_out::temp_key

[inout] Current state of TempKey

Referenced by atcah_gen_dig(), and atcah_gen_mac().

uint8_t atca_gen_dig_in_out::zone

[in] Zone/Param1 for the GenDig command

Referenced by atcah_gen_dig(), and atcah_gen_mac().