Microchip® Advanced Software Framework

atca_derive_key_in_out Struct Reference

Input/output parameters for function atcah_derive_key().

#include <atca_host.h>

Data Fields

uint8_t mode
 Mode (param 1) of the derive key command. More...
 
const uint8_t * parent_key
 Parent key to be used in the derive key calculation (32 bytes). More...
 
const uint8_t * sn
 Device serial number SN[0:8]. Only SN[0:1] and SN[8] are required though. More...
 
uint8_t * target_key
 Derived key will be returned here (32 bytes). More...
 
uint16_t target_key_id
 Key ID (param 2) of the target slot to run the command on. More...
 
struct atca_temp_keytemp_key
 Current state of TempKey. More...
 

uint8_t atca_derive_key_in_out::mode

Mode (param 1) of the derive key command.

Referenced by atcah_derive_key().

const uint8_t* atca_derive_key_in_out::parent_key

Parent key to be used in the derive key calculation (32 bytes).

Referenced by atcah_derive_key().

const uint8_t* atca_derive_key_in_out::sn

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

Referenced by atcah_derive_key().

uint8_t* atca_derive_key_in_out::target_key

Derived key will be returned here (32 bytes).

Referenced by atcah_derive_key().

uint16_t atca_derive_key_in_out::target_key_id

Key ID (param 2) of the target slot to run the command on.

Referenced by atcah_derive_key().

struct atca_temp_key* atca_derive_key_in_out::temp_key

Current state of TempKey.

Referenced by atcah_derive_key().