CryptoAuthLib
Microchip CryptoAuthentication Library
atca_gen_dig_in_out Struct Reference

Input/output parameters for function atcah_gen_dig(). More...

#include <atca_host.h>

Data Fields

uint8_t zone
 [in] Zone/Param1 for the GenDig command More...
 
uint16_t key_id
 [in] KeyId/Param2 for the GenDig command More...
 
bool is_key_nomac
 [in] Set to true if the slot pointed to be key_id has the SotConfig.NoMac bit set 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...
 
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...
 
struct atca_temp_keytemp_key
 [inout] Current state of TempKey More...
 

Detailed Description

Input/output parameters for function atcah_gen_dig().

Field Documentation

◆ is_key_nomac

bool is_key_nomac

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

◆ key_id

uint16_t key_id

[in] KeyId/Param2 for the GenDig command

◆ other_data

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

◆ sn

const uint8_t* sn

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

◆ stored_value

const uint8_t* stored_value

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

◆ temp_key

struct atca_temp_key* temp_key

[inout] Current state of TempKey

◆ zone

uint8_t zone

[in] Zone/Param1 for the GenDig command